How to make the game wait for an animation to finish?
Posted
by
petervaz
on Game Development
See other posts from Game Development
or by petervaz
Published on 2012-11-09T17:58:40Z
Indexed on
2012/11/12
23:15 UTC
Read the original article
Hit count: 157
I'm teaching myself andengine while trying to make a match-3 puzzle, so far I have a grid of gems that I populate and can move then around. Matching gems and new gems falling is working already. My problem is that the game keeps flowing while animations runs. How can I make the flow suspend until movement is done?
I use entity modifiers for the gems animations. MoveYModifier
for the fall and PathModifier
for the swap.
© Game Development or respective owner