Help Sprites Simple Animation #1992
Replies: 2 comments 3 replies
-
The problem is that the bitmap is drawn with a transparent colour therefore does not erase the old bitmap completely on the TFT screen and overprints just the image. Either clear the area of the screen or convert the background of the bitmap to white and do not use a transparent colour. Example here: |
Beta Was this translation helpful? Give feedback.
-
I remember i tried a couple of years ago to spin a needle around a bitmap stored in SPIFFS |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
``first of all i'll really thank full this lib exist.
i have struggel with this problem for 5 days, i afraid to ask because maybe its stupid question (im only doing microcontroller for a year), but at this point i really deperate.
so i want to make sprite animation
i have 2 image C array
i just want in to show 1 after the other and loop again
the problem is its show the sprites on top of each other(without clean the previous sprites)
i try deletesprites method but no effect
i use TTGO BTC ticker (4MB PSRAM)
this is the code (am i doing it wrong?)
animation.ino :
bitmap.h :
Beta Was this translation helpful? Give feedback.
All reactions