Jump to content
  • Advertisement
  • entries
  • comments
  • views


Sign in to follow this  


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


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

Sign in to follow this  


Recommended Comments

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

Share this comment

Link to comment
yup, nice system of waitable mutexes.

and yes I am using lua =)

Share this comment

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!