YouGroove Posted September 6, 2011 Posted September 6, 2011 I have a simple question, when the engine will be ready in the future for the new Lua scripting system. Or something showing how the code will be ? Will we have some little demo of a simple game showing the new entity scripting system ? (making the game directly by assigning scripting to entities) ? (for example one characters and two or three same ennemies in the level with management of attributes attack, health for each ennemy and management of player attributes) Quote Stop toying and make games
Canardia Posted September 6, 2011 Posted September 6, 2011 We will have everything we ask for, because we make them. That's how this community works Quote ■ Ryzen 9 ■ RX 6800M ■ 16GB ■ XF8 ■ Windows 11 ■ ■ Ultra ■ LE 2.5 ■ 3DWS 5.6 ■ Reaper ■ C/C++ ■ C# ■ Fortran 2008 ■ Story ■ ■ Homepage: https://canardia.com ■
YouGroove Posted September 6, 2011 Author Posted September 6, 2011 I am using Actual Lua script and before going further in my game dev, i thaught in bringing the code , and some comments that would show some basic Lua code (not a real framework) showing : - scene loading - player placing and initialisation and frame update for : health, attack , defense ,state , animations - ennemies placing and initialisation and frame update for : health, attack , defense ,state , animations For LE3, perhaps finally i would not need example if i understand the scritping new entities system ? I think only some lines of code showing the interaction between two entities and interaction will be enought for us to make what we want indeed ! Quote Stop toying and make games
smashthewindow Posted September 7, 2011 Posted September 7, 2011 Actually this is one of the things that I had a really hard time with too. What you could do is look at how GameLib initializes it's things, the Source SDK (Source Engine's Development Kit) for some reference source code on structuring you're custom entity system, some Leadwerks forums for more tips. Of course if you're doing this in LUA you would have to find the engine function equivalents through the Wiki. (Which is farelly well documented.) Quote Blog & Portfolio Current project: moon.chase.star
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.