animation problem (probably simple)
Lokitoes
Member, PRO Posts: 187
Yep, it's me again, this time I'm having problems with very simple animating.
In an actor that is not meant to move around the screen, I have an animation set: when touch is pressed (game overall is set to ipad landscape) it is meant to scroll through a couple of frames slowly at two frames per second (because I only have a couple of changes there). The changes are that the picture of the person moves so that his arms raise up and down. The images made in photoshop are all the same canvas size. I have also tested it on a higher frame rate and without any rule (so, set to just scroll through automatically), and also tested it with a mouse position rule instead. I've also tried replacing the animation rule all together with a 'change image' behaviour. In all the above options that I've tried, the animation is not working in preview.
I have not made any custom attributes for this actor. Because it isn't meant to move around the screen, just loop through these pictures, I have turned the physics off. Though I have also tried it with 'movable' checked on to see if that will work, but neither seem to work. Is there a problem with my actor's attributes? Or... anything at all??
Thanks for any help anyone can give me and let me know if you need any more information.
In an actor that is not meant to move around the screen, I have an animation set: when touch is pressed (game overall is set to ipad landscape) it is meant to scroll through a couple of frames slowly at two frames per second (because I only have a couple of changes there). The changes are that the picture of the person moves so that his arms raise up and down. The images made in photoshop are all the same canvas size. I have also tested it on a higher frame rate and without any rule (so, set to just scroll through automatically), and also tested it with a mouse position rule instead. I've also tried replacing the animation rule all together with a 'change image' behaviour. In all the above options that I've tried, the animation is not working in preview.
I have not made any custom attributes for this actor. Because it isn't meant to move around the screen, just loop through these pictures, I have turned the physics off. Though I have also tried it with 'movable' checked on to see if that will work, but neither seem to work. Is there a problem with my actor's attributes? Or... anything at all??
Thanks for any help anyone can give me and let me know if you need any more information.
Comments
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
Thanks for this. I have got it to work on a touch 'release' rule. I still never managed to get it to work on a timer - I put a debugging statement into the timer, and the timer is definitely going off as it is meant to, but no looping of the animation occurs. I think rather than worrying about it too much I will try to stick to the touch release rule for this animation.
Cheers
Alinta