gamnit: fix error between comment and code in template project
authorAlexis Laferrière <alexis.laf@xymus.net>
Sat, 30 Sep 2017 17:16:05 +0000 (13:16 -0400)
committerAlexis Laferrière <alexis.laf@xymus.net>
Tue, 21 Nov 2017 19:02:54 +0000 (14:02 -0500)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

lib/gamnit/examples/template/src/template.nit

index 2311d0a..8bd28fd 100644 (file)
@@ -52,7 +52,7 @@ redef class App
                # Scale the ship so it is approximately 5 world units wide.
                sprite.scale = 5.0 / texture.width
 
-               # Move the camera to show 10 world units on the Y axis at Z = 0.
+               # Move the camera to show 20 world units on the Y axis at Z = 0.
                # The `sprite` should take approximately 1/4 of the height of the screen.
                world_camera.reset_height 20.0