Basic animation help requested.
robertstacey@btinternet.com
Member Posts: 4
Hi,
I've just recently started using Gamesalad and i'm in the process of learning and setting up the basics of a short game I want to make. As a temporary measure I planned on making a very basic 2 frame walk animation for my main character just so I have that working. I made up 2 frames facing right and mirrored them for left.
I just need some help with the animation if anyone would be so kind. I have my movement down and simply added in an animate behavior in the "Do" section in my movement rules. I put the two frames in the window and ticked loop and reset actor image.
Right now I get blank frames (which I havent put in) appearing at the end of the cycle so I see the first then second frame, then it goes blank for a bit then cycles it again. It is the same no matter what the FPS and I tried putting the images in twice (2 cycles) but it just goes through all 4 frames then blanks out for a bit at the end. Is there something im doing incorrectly? I also wasnt sure whether I needed a "Change Image" rule in, as I had that in before i put in the animation so that the actor was facing in the right direction depending on which way he was moving.
Any help with this would be appreciated!
Thanks
Bob
I've just recently started using Gamesalad and i'm in the process of learning and setting up the basics of a short game I want to make. As a temporary measure I planned on making a very basic 2 frame walk animation for my main character just so I have that working. I made up 2 frames facing right and mirrored them for left.
I just need some help with the animation if anyone would be so kind. I have my movement down and simply added in an animate behavior in the "Do" section in my movement rules. I put the two frames in the window and ticked loop and reset actor image.
Right now I get blank frames (which I havent put in) appearing at the end of the cycle so I see the first then second frame, then it goes blank for a bit then cycles it again. It is the same no matter what the FPS and I tried putting the images in twice (2 cycles) but it just goes through all 4 frames then blanks out for a bit at the end. Is there something im doing incorrectly? I also wasnt sure whether I needed a "Change Image" rule in, as I had that in before i put in the animation so that the actor was facing in the right direction depending on which way he was moving.
Any help with this would be appreciated!
Thanks
Bob
Answers
Here is a tutorial I posted about basic graphics and animation you might find helpful.
http://www.jamie-cross.net/?p=549
Jamie
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
Jamie
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
Screenshot: http://s813.photobucket.com/albums/zz56/Nanostronghold/?action=view¤t=Untitled.jpg
Video of the issue in action:
Thanks for your quick responses btw
Also disable restore actor image when done, as you want it to loop.
Try this.
I think it might be what wickedsunny mentions above, try disabling the restore actor image option and see if that does it for you.
Jamie
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
I dont have a very friendly image size, i didnt know what I was doing so I just made the image sizes 100. Would changing it to 64x64 or 128x128 help? Or is that unlikely?
Thanks for these responses guys
if that fails just for the hell of it try adding in more frames. just to go by process of elimination you need to check if the animate behaviour will fail regardless. so add in some images to your animate behaviour. of anything. just something to fill in the animation sequence more. then see what happens. if the same result increase the fps.
the only time ive seen gs do this is either a) restore actor image is reverting back to a transparent image you have or b) the creator is just being glitchy
Thanks very much everyone for the suggestions.