This cat game has 4 animations, left, right, up, down. I've tested them individually and all work just fine. However, if I place them all in the game I never get but one to execute. And, that one that does is the first one in the animation list. Like this:
AnimationList = CatWalkUp#
LinkList = CatWalkUpLoop#
With it like that CatWalkUp will always be executed no matter what I do. Here's some code for switching:
else if (orxInput_IsActive("Moveright"))
player1.dir = plrRT;
eResult = orxObject_SetTargetAnim(player1.obj, "CatWalkLeftLoop");
player1.moving = orxTRUE;
Now, the cat will actually move in the correct direction on MoveRight, but the animation it executes stays the same.
What am I doing wrong here??