Omnimaga
General Discussion => Art => Topic started by: _player1537 on August 29, 2010, 12:07:27 pm
-
Can one of the awesome spriters here make a sprite for a space ship? The specs are:
24x24
16 level greyscale
Pointing upwards
And if its not too much trouble (in other words, if someone can get BMPtoC.exe to work), could someone post the C code for it?
-
Thought I'd try my hand at spriting for once :)
I'm afraid I don't know anything about BMPtoC, though.
So here you go:
-
Wow, that looks really really nice :D BMPtoC is something that either bwang or apcalc use to create their sprites, it takes the .bmp and turns into code like:
15,15,15,00,10,4,
2,6,8,12,<etc>
-
Had a little bit of free time.
Ah, back to work now. :P
Nah, it's not from Raiden X, although most shoot em ups use similar styled ships.
-
RAIDEN X!?!
EDIT: 800th post!
-
RAIDEN X!?!
EDIT: 800th post!
raiden??
-
Here's both the ships in C code:
-
You can get "BMPtoC.exe" in the Nspire picture viewer on TI Bank:
http://ti.bank.free.fr/index.php?mod=archives&ac=voir&id=1630
Open the command prompt, cd to the folder that contains BMPtoC.exe, and type "BMPtoC.exe".
The instructions are in french. For the first input, enter the name of the image with the file extension. For the second, enter the name of the file you want the converted code to appear in.
As calc84 said yesterday in the IRC, sprites defined using this tool take up a LOT of memory. Right now, I am working on a little tool that will convert sprites to hex code, making the arrays half the size. This should save a bit of memory. I can't give a time when I will have this tool done because school starts for me tomorrow and I am expecting to be killed with work. It shouldn't take too long to write, so hopefully I will be done soon!
-
If it wouldn't be too much hastle, could I get one more sprite? Same dimensions, just facing downwards. This will be for the enemy ship sprite, so it would be nice if it looked more like an enemy :D
-
I like those two sprites, especially the 2nd one. Nice job. Also good luck Apcalc. How much mem does the sprites take now, btw?
-
Epic Ship Magic Banana!! That looks totally epic :)
-
You can get "BMPtoC.exe" in the Nspire picture viewer on TI Bank:
http://ti.bank.free.fr/index.php?mod=archives&ac=voir&id=1630
Open the command prompt, cd to the folder that contains BMPtoC.exe, and type "BMPtoC.exe".
The instructions are in french. For the first input, enter the name of the image with the file extension. For the second, enter the name of the file you want the converted code to appear in.
As calc84 said yesterday in the IRC, sprites defined using this tool take up a LOT of memory. Right now, I am working on a little tool that will convert sprites to hex code, making the arrays half the size. This should save a bit of memory. I can't give a time when I will have this tool done because school starts for me tomorrow and I am expecting to be killed with work. It shouldn't take too long to write, so hopefully I will be done soon!
Just so you know, SourceCoder can generate nibble-packed 16-level gray arrays suitable for use in Nspire C programs now.
-
If it wouldn't be too much hastle, could I get one more sprite? Same dimensions, just facing downwards. This will be for the enemy ship sprite, so it would be nice if it looked more like an enemy :D
Hey, I hope I'm not too late. ;) I've got some free time today so I figured I'd do a little spriting.
-
Nice to see you still around Magic Banana. I hope you are not overhelmed with school work for too long anymore x.x
Nice sprite btw, although I wonder if it wouldn't be a bit too dark if Player decides to go with a dark background?
-
Another thing you have to remember is that the difference between the 16 shades of grayscale is not very smooth on calc, and the two darkest shades (0 and 1) are the same on the calculator. When you look at all colors at the same time on the hardware, it looks very different than the smooth transition between all the shades you can see in the emulator.
-
If you stare at my bmpviewer source code long enough, you can probably figure out how to use it to directly load bitmaps.
I'm afraid it's a bit messy, though :(
-
That looks very sweet Magic Banana!