Joined: July 29th, 2013, 9:13 am Posts: 609
|
When an animation or effect has completed it should be possible to call another effect or animation automatically.
eg.
You run this command to fade a layer:
aboutUsLayer.FadeTo(255,1);
Then you want the following action to be carried out only when the above animation has completed.
aboutUsLayer.visible = true;
The two cannot happen simultaneously as the fade effect is lost so one must happen after the other.
Other engines allow subsequent animations to stack one on top of another by allowing you to specify the routine/function to run when the animation is completed. The second action can then be placed in the subsequent function.
How is this achieved in Xwidgets?
Last edited by yereverluvinuncleber on December 26th, 2015, 7:53 am, edited 1 time in total.
|
|