google-code-export / los-cocos

Automatically exported from code.google.com/p/los-cocos
Other
1 stars 0 forks source link

add state management to cocos #56

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
director.push( scene, statevalue=value )

Original issue reported on code.google.com by lucio.to...@gmail.com on 1 May 2008 at 12:18

GoogleCodeExporter commented 9 years ago
rethink this idea better

Original comment by lucio.to...@gmail.com on 1 May 2008 at 12:18

GoogleCodeExporter commented 9 years ago
Hi lucio, what do you think about adding an finite state machine implementation 
to
cocos (something like http://www.panda3d.org/wiki/index.php/FSM_Introduction) 
where
you talking about that kind of state management?

Original comment by lucasc...@gmail.com on 6 Apr 2010 at 2:46

GoogleCodeExporter commented 9 years ago
There are two things to consider here:
1- the state management i had in mind was about a generic way to store game
information like scores and life and stuff like that.
2- for those animation specific cases, maybe you should discuss with claudio 
about
his ideas for composable immediate action and find some mix

Original comment by lucio.to...@gmail.com on 6 Apr 2010 at 3:05

GoogleCodeExporter commented 9 years ago
oh, perhaps something like adding a hash director.state? that would work point 
1, the
FSM seems overkill :)

Original comment by lucasc...@gmail.com on 7 Apr 2010 at 10:07