Author Topic: Ship Sprite  (Read 12041 times)

0 Members and 1 Guest are viewing this topic.

_player1537

  • Guest
Ship Sprite
« 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?

SirCmpwn

  • Guest
Re: Ship Sprite
« Reply #1 on: August 29, 2010, 01:43:34 pm »
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:
« Last Edit: August 29, 2010, 01:49:51 pm by SirCmpwn »

_player1537

  • Guest
Re: Ship Sprite
« Reply #2 on: August 29, 2010, 01:59:08 pm »
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>

Offline Magic Banana

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 371
  • Rating: +77/-1
  • It's not an apple, it's a ... magic banana.
    • View Profile
Re: Ship Sprite
« Reply #3 on: August 29, 2010, 02:08:10 pm »
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.
« Last Edit: August 29, 2010, 03:43:27 pm by Magic Banana »
I do sprites and stuff, so yeah.

Quote from: yunhua98
i'M NOT SURE WHAT A SWORD SKILL IS BUT HERE'S THE SWORD ANIMATION FROM THE TWO SPRITES ON PG 13

Offline Raylin

  • Godslayer
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1392
  • Rating: +83/-25
  • I am a certifiable squirrel ninja.
    • View Profile
    • Ray M. Perry
Re: Ship Sprite
« Reply #4 on: August 29, 2010, 02:30:54 pm »
RAIDEN X!?!

EDIT: 800th post!
« Last Edit: August 29, 2010, 02:31:14 pm by Raylin »
Bug me about my book.

Sarah: TI-83 Plus Silver Edition [OS 1.19]
Cassie: TI-86 [OS 1.XX]
Elizabeth: TI-81 [OS 1.XX]
Jehuty: TI-83 Plus Silver Edition [OS 1.19]
Tesla: CASIO Prizm







_player1537

  • Guest
Re: Ship Sprite
« Reply #5 on: August 29, 2010, 02:32:49 pm »
RAIDEN X!?!

EDIT: 800th post!

raiden??

Offline fb39ca4

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1749
  • Rating: +60/-3
    • View Profile
Re: Ship Sprite
« Reply #6 on: August 29, 2010, 04:32:56 pm »
Here's both the ships in C code:

Offline apcalc

  • The Game
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1393
  • Rating: +120/-2
  • VGhlIEdhbWUh (Base 64 :))
    • View Profile
Re: Ship Sprite
« Reply #7 on: August 29, 2010, 04:39:01 pm »
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!


_player1537

  • Guest
Re: Ship Sprite
« Reply #8 on: August 29, 2010, 11:32:45 pm »
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

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Ship Sprite
« Reply #9 on: August 30, 2010, 12:11:57 am »
I like those two sprites, especially the 2nd one. Nice job. Also good luck Apcalc. How much mem does the sprites take now, btw?

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Ship Sprite
« Reply #10 on: August 30, 2010, 12:39:54 am »
Epic Ship Magic Banana!! That looks totally epic :)

Offline KermMartian

  • Editor
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 500
  • Rating: +233/-20
    • View Profile
    • Cemetech
Re: Ship Sprite
« Reply #11 on: August 30, 2010, 12:43:54 am »
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.



Offline Magic Banana

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 371
  • Rating: +77/-1
  • It's not an apple, it's a ... magic banana.
    • View Profile
Re: Ship Sprite
« Reply #12 on: September 07, 2010, 02:17:42 pm »
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.
I do sprites and stuff, so yeah.

Quote from: yunhua98
i'M NOT SURE WHAT A SWORD SKILL IS BUT HERE'S THE SWORD ANIMATION FROM THE TWO SPRITES ON PG 13

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Ship Sprite
« Reply #13 on: September 07, 2010, 02:18:20 pm »
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?
« Last Edit: September 07, 2010, 02:19:09 pm by DJ Omnimaga »

Offline apcalc

  • The Game
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1393
  • Rating: +120/-2
  • VGhlIEdhbWUh (Base 64 :))
    • View Profile
Re: Ship Sprite
« Reply #14 on: September 07, 2010, 03:48:56 pm »
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.