Exemple #1
0
    public override void Update()
    {
        camera.Update();
        camera.SetPosition(Math.Round(camera.GetPosition()));

        //Core.debug.Log(camera.WorldToScreenPoint(Vector2f.zero));
        //Core.debug.Log(camera.ScreenToWorldPoint(Vector2f.zero));
    }
Exemple #2
0
 public override void Update()
 {
     camera.Update();
     camera.SetPosition(Math.Round(camera.GetPosition()));
 }