Now, I have another question about sequential tweens. (Excuse me for this may being a common question, not a specific question of Nez.)
How should I run such this operation?:
There is a white rectangle.
(1)rotate the rectangle, and wait until this(1) tween finishes
(2)color the rectangle with red for some duration, and at the same time,
(2.5)move upward the rectangle and wait until this(2.5) tween finishes
(3)(and more operations…)
Also, this sequential tween(operation) can be waited with an Enumerator.
the (2) seems to be an issue to me. Does Nez support such sequential operations(tweens) in design? or should I somehow make such a sequential tween myself? (maybe using the delay values or a helper class)
(2)color the rectangle with red for some duration, …
This means, for example, the value changes like (0, 51, 102, 153, 204, 255) in each frames. It’s a tween.