Testing Lua scripting for my RPG engine

Publié le: 31 décembre 2013
sur la chaîne: prehistoricBanana
1,110
2

Today I implemented the Lua Scripting language into my RPG engine.
It is currently set up so that each map has it's own script file. The script file includes 2 functions (1 being optional). The first one is the Init function, this one is called when the map is first loaded, It can be used to set up variables and resources. The Init function can be used to set a map tick rate.
The second function is only implemented if a map tick rate is set. it is called every time the time equals the tick rate. It can be used to perform events, like the one in this video.


Sur cette page du site, vous pouvez voir la vidéo en ligne Testing Lua scripting for my RPG engine durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur prehistoricBanana 31 décembre 2013, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 1,110 fois et il a aimé 2 téléspectateurs. Bon visionnage!