Testing Lua scripting for my RPG engine

Pubblicato il: 31 dicembre 2013
sul canale di: 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.


In questa pagina del sito puoi guardare il video online Testing Lua scripting for my RPG engine della durata di ore minuti seconda in buona qualità , che l'utente ha caricato prehistoricBanana 31 dicembre 2013, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 1,110 volte e gli è piaciuto 2 spettatori. Buona visione!