ExciteMike.com - Games by Mike Meyer ExciteMike.com - Games by Mike Meyer

Hitboxer

Hitboxer is a tool for associating hit boxes to regions in the frames of a spritesheet. It outputs xml with data on each hitbox's frame, size, position, color, and whatever userdata you would like to add to it. It comes out looking like something like this:

 <?xml version="1.0" ?>
 <hitboxer frameheight="50" framewidth="50" spritesheet="path/to/image">
     <hitbox color="65280" frame="0" height="6" userdata="attack" width="23" x="14" y="18"/>
     ...
 </hitboxer>

It's pretty light on GUI instead mostly relying on hotkeys and right-click menus. Press H to get a list of the hotkeys or right-click the background to get a menu.

If you hit a bug, have a feature you really want added, or would like the source, let me know in the comments!

Updates

  • v0.02 2010-11-20
    • hitboxes can now have widths and heights of zero. (but are still clickable)
    • Newly made hitboxes start with a random color.
    • Size of newly made hitboxes depends on zoom level.
    • Auto-zooms on opening a new document or changing the spritesheet.


Comments

Name (required):

Website:

Comment: