lib/gamnit: make controls larger in asteronits
[nit.git] / lib / gamnit / examples / asteronits / src / touch_ui.nit
index 91ce2be..3971426 100644 (file)
@@ -94,7 +94,7 @@ redef class App
                # Standardize the UI size to look like a 1600 pixels high screen.
                # Meaning that the controls have a size proportional to the height of each screen.
                # In the code, we can use "pixel" precision as if the target screen was 1600 pixels high.
-               ui_camera.reset_height 1600.0
+               ui_camera.reset_height 800.0
 
                # Add the joystick to the UI
                ui_sprites.add new Sprite(spritesheet_controls.forward,