gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Announcements And Comments > Demo + source on how to do multi-part sprites

#149409 - Kyoufu Kawa - Sat Jan 19, 2008 8:42 pm

The kind of multi-part sprites like in the old Sonic games where a single character of non-hardware-native size is built up from several smaller sprites.

http://helmetedrodent.kickassgamers.com/animdemo.rar

This displays a robot dude built up from varying amounts of loose parts.

I have the groundwork for a sprite assembly editor down already but I'm not developing it unless you think this is interesting.

What you could do is define an actor struct that holds the character's X/Y coordinates and some kind of pointer to his sprite data.

#149434 - gauauu - Sun Jan 20, 2008 1:06 am

I think an editor for that would be quite useful. One of the most time consuming and frustrating parts of the game I'm working on is doing the calculations and coordinates for that stuff by hand.

In retrospect, I should have made a tool to do it for me.