Cours gemini lua scripting for ios games, tutoriel & guide de travaux pratiques en pdf.
Gemini
•Provides Lua bindings for 2D game dev
•Allows games to be coded entirely in Lua
•Consists of a set of Lua C libraries plus Objective C project code and templates
•Similar API to the Corona™ SDK
•Open source with MIT License
Why use scripting?
•Provides higher abstraction that can increase productivity.
•Level designers and non-programmers can work with it.
•Functionality can be changed without recompiling during development.
Features
•2D Layer based rendering
•Event Driven
•Graphics elements
•Physics
•Sound
•Scene Management
Layer Blending
•Use any OpenGL blending functions
•Example: alpha blend (transparency)
•(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA)
•Example: additive blend (particle system)
•(GL_ONE, GL_ONE)
Events
•EnterFrame – fires every render loop
•Touch – touch events with phases
•Scene events
•Timer – execute code after a delay
•Physics events – collisions
……….
Cours gemini lua scripting for ios games (4961 KO) (Cours PDF)