Comments (7)
is that what you want to achieve ?
#define ALPHA_COLOR 0xABCDEFu // like html rgb code #ABCDEF
sprite.pushSprite( x, y, ALPHA_COLOR );
from lovyangfx.
awesome, that works for me. thanks for the prompt solution.
as for the included options to load pictures, how do you convert a bmp into an array like in the PartyParrot.createFromBitmap example (https://github.com/lovyan03/LovyanGFX/blob/master/examples/Sprite/PartyParrot/PartyParrot.ino) or FlashMemSprite.setBuffer (https://github.com/lovyan03/LovyanGFX/blob/master/examples/Sprite/FlashMemSprite/image320x240x16.h) ?
from lovyangfx.
I use the xxd
command line or I go to hexed.it, drop my file, select all bytes (CTRL+A) then right click and choose "Export selected bytes as code snippet"
from lovyangfx.
thanks!
from lovyangfx.
Hope it's ok to reopen this issue. Not really a problem, just wanted to share the project I started using LovyanGFX, a set of mini games: https://github.com/loxai/rotaryGames
[edit: corrected link]
from lovyangfx.
@loxai the repository you linked is still private :-)
[edit] actually it was a typo in the URL => https://github.com/loxai/rotaryGames
from lovyangfx.
Oops, sorry about that
from lovyangfx.
Related Issues (20)
- Support ST7701s IPS TFT 5 inch 854x480 RGB+SPI With ESP32-S3 HOT 15
- ST7789 cannot get it to work HOT 3
- tft.getTouch(&touchX, &touchY); freeze loop() HOT 3
- Support for 4.3" RGB Interface HOT 4
- Shimering effect with SSD1963 HOT 17
- Define Panels with multiple Touch input device HOT 6
- Support for panel-controlled backlights HOT 8
- Add smooth arc function HOT 6
- RA8875 with Adafruit Display does not work HOT 1
- drawArc lovyanGFX not the same as drawArc TFT_Espi HOT 4
- Issues rewriting text with color & background = TFT_BLACK HOT 2
- i2c read timeout error with CST816T HOT 3
- ILI9341 shows me mirrored? HOT 7
- "fillGradientRect" not reacting on y-koordinate using "VLINEAR" HOT 5
- ''Syntax Error Unexpected token'' error on various .c.o files in Font folder HOT 1
- spi_3wire doesn't seem to be working? HOT 8
- QSPI branch - E (1006) spi_master: spi_master_init_driver(236): invalid core id HOT 4
- Small Fix for latest RP2040 Core Version HOT 2
- sharing of LovyanGFX project
- Display freezes when saving images to SD card HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lovyangfx.