so i have this actor on screen with 50 animation frames, starting at zero, stopped, called
"energyTopLeft" and in Create Actor Event i have:
- Code: Select all
ChangeAnimationDirection("Event Actor", STOPPED);
animpos=0;
Fine. Now, in a function i do this:
- Code: Select all
switch(collide.whichOne)
{
case 0: playSound(1); energyTopLeft.animpos++; break;
}
which works somehow!
The sound (from my other function) is played.
BUT: the animpos won´t change at all, it stays at zero.
So my question is: What am i doing wrong here? Or is this a bug?
Thanks for any help or ideas