ExciteMike.com - Things by Mike Meyer


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"/>

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!


  • 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.


<comment name="Megacool" url="" date="January 27th, 2015 at 1:04 pm" >Hey man, this is straight up dope. Thanks for the awesome little tool!</comment> <comment name="KAdams" url="" date="February 1st, 2015 at 3:38 am" >I'm getting the following error log when I try to run the Hitboxer tool.

Traceback (most recent call last):

 File "hitboxer.py", line 2, in <module>
 File "zipextimporter.pyo", line 82, in load_module
 File "dialog.pyo", line 2, in <module>
 File "zipextimporter.pyo", line 82, in load_module
 File "wx\__init__.pyo", line 45, in <module>
 File "zipextimporter.pyo", line 82, in load_module
 File "wx\_core.pyo", line 4, in <module>
 File "zipextimporter.pyo", line 98, in load_module

ImportError: MemoryLoadLibrary failed loading wx\_core_.pyd

Any idea how I can fix this?</comment>

<comments />