whew.

posted in A Keyboard and the Truth for project 96 Mill
Published April 14, 2006
Advertisement
Man, I hate working on the async scripting systems of my engines, they are just no fun =)

however I've now managed to implement a system that is even more robust than MW's system.

in MW certain functions had a boolean param as their last param which signified weither or not the script should wait for them to complete. However it doesnt give you a ton of flexibility.

So instead I now have the choice of where to wait for an action to complete.

like so =)

w0=move(rebecca,10,10);w1=move(ivy,11,11);wait(rebecca,w0);wait(ivy,w1);


here we se an example of moving two characters, and waiting for them both to arrive, this was not possible in the MW scripting system, because if i called move with the intention to wait, it would not call the next move until the first move was done.

all in all it makes for a nice system =)


Previous Entry onward!
Next Entry Productive Weekend
0 likes 4 comments

Comments

Seriema
that makes alot more sense! keep up the good work EDI!
April 14, 2006 09:05 AM
Twisol
Speaking of Morning's Wrath, I just played the demo last night... If that was awesome, and if this looks even better...

I'll be saving up for full versions of both. :P
April 14, 2006 01:56 PM
choffstein
a lil mutex action at work, it seems? you are using lua, right?
April 14, 2006 04:10 PM
EDI
yup, nice system of waitable mutexes.

and yes I am using lua =)
April 18, 2006 08:06 AM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Profile
Author
Advertisement
Advertisement