Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Summary:Destroy asteroids in this simple 2D sample game made with gamnit
Description:
-Sample portable gamnit game implemented with the simple_2d API.
+Sample portable gamnit game implemented with the flat API.
.
android_api_target 15
end
-import gamnit::simple_2d
+import gamnit::flat
import game_logic
import spritesheet
It defines the basic methods to implement in order to obtain a working game: `App::frame_core` to update the screen
and `App::accept_event` to receive user inputs.
-* `simple_2d` provides an easy to use API for 2D games based on sprites.
+* `flat` provides an easy to use API for 2D games based on sprites.
Clients of this API must redefine `App::update` to update the game logic and fill `App::sprites` with objects to draw.
* `cameras` provides cameras classes to produce MVP matrices which can be fed to shaders.
# It is used to position the sprites in `App::ui_sprites`.
#
# See the sample game at `contrib/asteronits/`.
-module simple_2d
+module flat
import glesv2