isovector / adventure

an open-source MOAI based point-n-click graphical adventure engine
Other
26 stars 3 forks source link

Implement signals for synchronizing tasks #12

Closed isovector closed 12 years ago

isovector commented 12 years ago

Tasks should be able to wait for certain events - like player stops moving, or on a certain animation frame. Presumably this would be integrated with the task manager so they can resume on signals as well as time being elapsed. Provide new C++ primitives to allow for sending and waiting on signals.

Also make lots of things throw signals: goals, anim events, etc.

Look at how this will interact with lua events.

isovector commented 12 years ago

Signals are implemented. More thought needs to go in on when to throw them, however.