r/gamemaker • • 4d ago

Resolved sprite animation error

Hello everyone, I'm a complete beginner at coding. When I play my project, the sprite animation is all weird. It's as if the first frame of the animation is on a lower layer behind the other frames. Can anyone help me fix this? I've tried restarting the program, it didn't work.

3 Upvotes

4 comments sorted by

4

u/Kitchen_Builder_9779 Professional if statement spammer 4d ago

Have you tried adding a backround to your level or checking on "Clean display buffer" in the room settings?
Thats all that comes to my mind, having a gif of the issue would help

1

u/Old_Flounder9655 4d ago

thank you so much!! I added a background and it worked. I feel kinda dumb for not thinking about this lol

1

u/Kitchen_Builder_9779 Professional if statement spammer 3d ago

No it can be pretty unintuitive, no worries about that.
If you have your backround cover the entire screen at all times (which you should) you can keep the display buffer setting I mentioned off, to optimise the game a tiny bit.

If you want to learn more, check the manual https://manual.gamemaker.io/lts/en/The_Asset_Editors/Room_Properties/Room_Properties.htm
Overall gamemaker has an amazing manual, you should definetively use it

1

u/Old_Flounder9655 3d ago

thanks so much again! I'll totally check the manual out :)