lib/gamnit: intro README.md
authorAlexis Laferrière <alexis.laf@xymus.net>
Sun, 13 Dec 2015 18:29:02 +0000 (13:29 -0500)
committerAlexis Laferrière <alexis.laf@xymus.net>
Mon, 14 Dec 2015 16:09:55 +0000 (11:09 -0500)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

lib/gamnit/REAME.md [new file with mode: 0644]

diff --git a/lib/gamnit/REAME.md b/lib/gamnit/REAME.md
new file mode 100644 (file)
index 0000000..9d60cc0
--- /dev/null
@@ -0,0 +1,18 @@
+Portable game and multimedia framework for Nit
+
+This framework is based on the portability framework _app.nit_ and the OpenGL ES 2.0 standard.
+
+It is modular, different parts of the framework are available through different entry points:
+
+* `gamnit` provides low-level abstractions over some services of OpenGL ES 2.0, like textures, shaders and programs.
+  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.
+  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.
+
+* `limit_fps` redefines existing services of gamnit to limit the framerate to a client-defined value.
+
+* `network` provides a simple communication framework for multiplayer client/server games.