-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or request
Milestone
Description
There should be the ability to add "PlayOnce" animations. Animations that will only play through one time and will then have to be called again. This can be added in SpriteSheet.cpp around here:
Uint32 ticks = SDL_GetTicks();
Uint32 sprite = ((ticks / 100) % animationCollection[currentAnimation].frames);
SDL_Rect* spriteFrame = new SDL_Rect();Rather than constantly looping through, we ensure that it only loops once.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request