Discord
Login
Community
DARK THEME

Animation leaving traces

I create 6 frames in my animation for my sprite. However, when the animation runs, it doesn't delete the previous frame. So for instance, if I am at frame 6, I still can see frames 1-5, creating almost a traces effect. Is there anything I can do to change this, so my animation of the sprite only shows the current frame? Thank you.

It sound like you forgot to add screen.clear() to your draw() function.

use screen.clear(color)or leave the color blank to automatically do the blank background

Post a reply

Progress

Status

Preview
Cancel
Post
Validate your e-mail address to participate in the community