Skip to content

Asiern/SpriteNDS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sprite converter for NDS

Convert sprites to NDS matrix

alt text


Use Guide

As shown in the image, this tools has 3 buttons Import , Generate and About.

  • By clicking on the Import button you can import an image of the formats shown at supported files. After importing an image a preview will load on the top right corner.

  • To generate the Sprite Matrix and the Color Palette, press Generate and both Sprite Matrix and Collor Palette will load.

  • To finish up, copy both Sprite Matrix and Collor Palette contents into 'source\sprites.c'


Supported files

File extension Support 16x16 32x32
.jpg Yes Yes Yes
.png Yes Yes Yes
.bmp Yes Yes Yes
.gif ? ? ?
.mpo No - -
.jpf No - -
.iff No - -
.dcm No - -
.psd No - -
.jps No - -

Known issues

Wide range collor palettes might cause issues due to color repetition. This happens when converting the color from RGB 24 bit to RGB 15 bit

For this reason, it is recommended to use images composed by as few colors as posible. To achieve this, it is convenient to use an image editor as Adobe Photoshop, Gimp...


Upgrades

  • Fix color conversion from RGB 24 bit to RGB 15 bit. Number rounding creates repeated colors.
  • An option to select the transparent color SPRITE_PALETTE[0]

Material Skin

Using MaterialSkin by Ignace Maes