andengine - 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/09
23:27 UTC
Read the original article
Hit count: 305
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