Need Help with animation

I m making a game in which my player plays with sword and whenever he hit his enemy with sword a damage indicator like (1,2,3,4) is created
I Want that damage indicator to go Up at certian height and come back again
Any way to do that??

You may use a tween behavior. When you create the damage indicator, add it a tween in Y axis and move it -X amount of pixels in a time. Then, when the Tween is finished playing, add a second tween to move it down.

2 Likes