Aller au contenu
Article Publié le

Cours gemini lua scripting for ios games

PDF 20 vues 0 téléchargement
Commentaires
Télécharger

Résumé

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

..........
Informations
Format
PDF
Domaine
Cours LUA
Publié le
5 mars 2020
Vues
20

Signaler un contenu

Connectez-vous pour signaler cette publication : les administrateurs doivent pouvoir vous répondre.

Commentaires (0)

Connectez-vous pour laisser un commentaire.

Soyez le premier à commenter

Partagez votre avis sur ce document — questions, retours ou votre propre expérience.

Ressources liées

Cours LUA
Cours
Cours LUA

Lua Programming Gems

PDF
Vues :48 Téléchargements :7 Taille :144 Ko
2 mars 2021
Commentaires
Télécharger