Jump to content

Small game demo :


YouGroove
 Share

Recommended Posts

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)

Stop toying and make games

Link to comment
Share on other sites

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 !

Stop toying and make games

Link to comment
Share on other sites

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.)

Blog & Portfolio

 

Current project: moon.chase.star

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...