From 4665c63420842f8b412b80394f27d7b5ed5e6c5f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alexis=20Laferri=C3=A8re?= Date: Mon, 14 Dec 2015 11:44:56 -0500 Subject: [PATCH] lib/gamnit: make controls larger in asteronits MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Alexis Laferrière --- lib/gamnit/examples/asteronits/src/touch_ui.nit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gamnit/examples/asteronits/src/touch_ui.nit b/lib/gamnit/examples/asteronits/src/touch_ui.nit index 91ce2be..3971426 100644 --- a/lib/gamnit/examples/asteronits/src/touch_ui.nit +++ b/lib/gamnit/examples/asteronits/src/touch_ui.nit @@ -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, -- 1.7.9.5