Hi all
I have a problem with sprites
I have some objects that draw some circels, strings or line to the M5core2.
I do that with the following code
x = 230;
uint32_t _r = r; // 50
uint32_t _w = _r * 2;
uint32_t _h = _r * 2;
TFT_eSprite _sprite = new TFT_eSprite(&M5.Lcd);
_sprite.createSprite(_w, _h);
_sprite.drawCircle(_r, _r, _r, _color);
_sprite.drawCircle(_r, _r, _r - 1, _color);
_sprite.fillCircle(_r, _r, _r - 2, _colorCircle);
_sprite.pushSprite(x - _r + 4, y - _r + 4);
_sprite.deleteSprite();
That works fine if x is lower than 230. As soon x is bigger than 230 every pixel that is outside 280 is trunccatet from the circle
Any ideas or is thre a limitation with sprites?