Switch to full style
Libraries, utilities, bootloaders...
Post a reply

Image Converter

Wed May 21, 2014 3:42 pm

Converts BMP files to PROGMEM (the Gamebuino Image Format)
Supports 3 Colors (You can define it in the Converter)

2014-05-22_1416[1].png
2014-05-22_1416[1].png (50.95 KiB) Viewed 14630 times


Video: Open

Download:
Source (C#)
EXE File
Last edited by ripper121 on Tue May 27, 2014 1:39 pm, edited 1 time in total.

Re: Image Converter

Thu May 22, 2014 12:19 pm

Update!

Re: Image Converter

Thu May 22, 2014 1:34 pm

Hey Ripper121, that looks nice!

Re: Image Converter

Thu May 22, 2014 1:57 pm

Thank you hope it help someone to convert all Buinomos xD

Re: Image Converter

Thu May 22, 2014 8:44 pm

Now that I've got basic functionality working on the emulator, I'll have to give this thing a try.

Re: Image Converter

Fri May 23, 2014 8:21 am

Works fine with the emulator for me ;)

Re: Image Converter

Fri May 23, 2014 5:45 pm

ripper121 wrote:Works fine with the emulator for me ;)

I figure it would, good to know for sure. though! it also seems like it'll make as big a sprite as you want... Does the Gamebuino actually let you do that? O_o

Re: Image Converter

Fri May 23, 2014 6:56 pm

No only max 84x48 Pixel ;)

Re: Image Converter

Fri May 23, 2014 9:54 pm

ripper121 wrote:No only max 84x48 Pixel ;)


Ah, thanks for the clarification. It seems to be a bit picky on what colors it converts with (it doesn't like to use white in the bitmap for me, easy fix, but was confusing at first) So I suppose things like levels and tilesets would be made of more then one actual sprite?

Re: Image Converter

Sat May 24, 2014 2:00 am

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);
Post a reply