ripper121 wrote:you can generate a Map with sprites.
You use an 2D array of byte for map config
byte myMap[10][6] = {
{0,0,0,0,0,0,0,0},
{0,0,0,0,0,0,0,0},
{0,0,0,0,0,0,0,0},
{0,0,0,0,0,0,0,0},
{0,0,0,0,0,0,0,0},
{0,0,0,0,0,0,0,0},
};
now you can for every byte (in this map every 0) creat 255 Sprites
So you loop trouth the myMap and Draw the Sprits every 8 Pixel in x and y with,
gb.display.drawBitmap(x, y, bitmap);
Ah, okay! Thanks for that! (I imagine you could save a few ms by checking each time if the sprite in question will even be visible, and skip drawing it if need be)
Alas, I've gotten gray to (kinda) work! The Emulator can't handle that much flicker, but it works! great tool, I'm going to use the heck out of it.