On 02.11.2013 17:01, Daniel Gillet wrote:
Hi Claudio,
Thanks for the suggestion.
It somehow feels *wrong* to me. Not that it wouldn't work. But it's not
very scalable. My example is obviously a bit contrived. But imagine you
want to script a scenary. There might be something like 5 different actors
in play, all doing things in a pre-determined sequence. It feels kind of
odd to add a Delay action to wait for another actor (cocosnode) to finish
its action. Besides, talking about scalability, what if all of a sudden,
there is an action which speeds up a previous action. The Delay won't be
synchronized anymore.
I think it will be easier for us to help you if you try to make the
script you had in mind, and show the parts where it's not working - as
opposed to just conjecturing about what may / may not be the right thing
to do. The process of coding itself will reveal as a matter of fact
which approaches work, as well as make it easier for someone who wants
to help you to make tangible suggestions about alternative solutions.
--
You received this message because you are subscribed to the Google Groups "cocos2d
discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cocos-discuss.
For more options, visit https://groups.google.com/groups/opt_out.