xoros
I had made another similar behavior named rex_bScenario behavior before. It is based on rex_scenario plugin.
I might release it later. Add more sample capx files.
Thanks, I think it could cover most of cases. I don't know when to have multi-queues in a sprite instance. Maybe do some actions independent?
It means that a behavior supports multi queue, more complex for operating, I might not try it, even it is a good solution. Another stupid solution is using variable to identify the queues.
Yttermayn
What is you mean picking? Could you provide an example?
In mutli- command queues case,
The firing of command handler is done by "global command handler".
The next question is - which command queue should be poped (get next)? Hah...
Okey, I had added this feature into this behavior called "global command handler".
This is a sample capx. See the document for more detail.
Develop games in your browser. Powerful, performant & highly capable.
Or using official function plugin, but shift all parameters down, and assign param(0) to be UID.
For example , passing param(0)= 3, param(1)= 10 to function object, the received parameters will be (UID, 3 , 10).
Hum... it might be better I guess.
User might want to have a single command handler for all rex_bCmdqueue behaviors if there has more then one rex_bCmdqueue behavior.
So it might be better to have a standalone command handler behavior (or said function behavior). I will try it.
Thanks for these suggestions.
I had added somethings in this behavior,
"Action:Insert at": Insert command at specific index.
"Action:Set next index": Set next index for "action:Next". Input a random number to start at random position.
See the document for more detail.
"rag doll like behavior" is not easy, it is better to use spriter plugin I guess.
Do you mean that the "pin to image point" behavior might have rope style and bar style?
The "pin to offset XY" behavior only set position to related position. The 5 modes of official pin behavior could not set position to related position always, see the sample in document.
It is almost ready. I am waiting for suggestion.
Member since 4 Apr, 2011