mirror of
https://github.com/nacabaro/nacapet.git
synced 2026-09-30 23:21:37 +00:00
A few things:
- Add a way to reset data from the device itself - Fix bug in the background selector screen - Remove blocking methods, make everything non-blocking, should improve stability in general - Change sound effects, and put them together in the same file, using the new system, instead of doing multiple calls to the tone function - Fix overlapping icons in the status screen, need to continue this and fix the overlapping text
This commit is contained in:
@@ -95,7 +95,7 @@ void animate_performAngryAnimation(TFT_eSprite &spr, struct SpriteData* spriteDa
|
||||
}
|
||||
|
||||
void animate_performHatchingAnimation(TFT_eSprite &spr, struct SpriteData* spriteData) {
|
||||
currentAnimationFrame = (currentAnimationFrame + 1) % numFramesHappy;
|
||||
currentAnimationFrame = (currentAnimationFrame + 1) % numFramesHatching;
|
||||
draw_drawSprite(
|
||||
spr,
|
||||
hatchingAnimationPositions[currentAnimationFrame],
|
||||
@@ -104,4 +104,4 @@ void animate_performHatchingAnimation(TFT_eSprite &spr, struct SpriteData* sprit
|
||||
0,
|
||||
false
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user