Jump to content
IGNORED

Hornpipe2's Blog - Let there be Sprite!


RSS Bot

Recommended Posts

Progress continues slowly. I wrote up a little C application to take BMP files and spit out assembler BYTE codes, so I can draw sprites in MSPaint and not have to punch in hex codes by hand. The colors are off and I end up fixing them manually, but it seems to work okay for the actual pixel on/off data.

 

Here's the current build showing my fighters standing ready. They're 40 pixels wide, and 21 lines tall shown 3 times each, for an effective 40x63 sprite. Reflected players will probably come next, as well as dynamically building the sprite color table in RAM each frame so I can have two differently colored players. That way I can store sprite colors in a special format as there are only 4 colors used (uniform1, uniform2, skin, hair) and that means 2 ROM bits instead of 8 - I would then unpack it to 8-bit colors before starting the frame.

 

Maybe I'll even let players pick the uniform color in the final version - we'll see.

 

Attached thumbnail(s)

 

 

 

 

 

 

 

blogentry-12384-1201905834_thumb.png

 

 

 

 

 

 

//

 

 

 

 

http://www.atariage.com/forums/index.php?a...;showentry=4472

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...