Cours Gemini Lua Scripting for iOS Games pdf, tutoriel & guide de travaux pratiques en pdf.
Features
•2D Layer based rendering Event Driven Graphics elements
•Physics
•Sound
•Scene Management
•Layers
•Provide depth
•Parallax effect
•Blending functions
•Render callbacks
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)
Render Callbacks
• Render layers using custom Objective C code / OpenGL
• Example: scrolling background
Events
•EnterFrame – fires every render loop
•Touch – touch events with phases
•Scene events
•Timer – execute code after a delay
•Physics events – collisions
Graphics Elements
•Sprites
•Lines
•Rectangles
•Circles
•Polygons
•Text via Text Candy™ Display Groups