A downloadable tool for Windows

Buy Now$1.00 USD or more

A simple hitbox editor, for editing hitboxes.

This is a game development tool for 2D games. It allows the user to load in a sprite or spritesheet and add 2 kinds of hitboxes to each frame.

This data can be saved, and reimported, as a .json file. The json data can be parsed in your engine of choice to handle hitboxes.

This is a very early release of the tool, with basic functionality. Be sure to save your changes frequently.


Sample Workflow

  1. Open program
  2. Import sprite or spritesheet
  3. (Optional) Set origin of sprite
  4. (Optional) Load .json data
  5. Create hitboxes and hurtboxes
  6. Save .json data

Controls

  • LMB - Use tool
  • RMB - Remove Hitbox/Hurtbox (Hitbox/Hurtbox Tool only)
  • MMB - Pan view (alt: Space+LMB)
  • Mousewheel - Zoom In/Zoom Out (alt: Up/Down Arrows)
  • Left/Right Arrows - Cycle frames
  • C - Centre Camera
  • V - Default Cursor
  • O - Origin Tool
  • A - Hitbox Tool
  • H - Hurtbox Tool
  • Ctrl+S - Save .json file (Save As: Shift+Ctrl+S)
  • Ctrl+L - Load .json file

JSON Example

Note: "w" is width, "h" is height; there is a "frame #" array for each frame that contains any hitboxes

{

"hitbox":
{

"frame 0":
[

{ "w": 73.00000, "h": 32.00000, "x": 90.00000, "y": -27.00000 },

{ "w": 66.00000, "h": 74.00000, "x": 228.00000, "y": 30.00000 },

{ "w": 40.00000, "h": 27.00000, "x": 83.00000, "y": 69.00000 }

]

},

"hurtbox":
{

"frame 0":
[

{ "w": 35.00000, "h": 57.00000, "x": 6.00000, "y": -10.00000 },

{ "w": 11.00000, "h": 39.00000, "x": 79.00000, "y": 34.00000 },

{ "w": 52.00000, "h": 50.00000, "x": 134.00000, "y": -7.00000 }

]

}

}

Purchase

Buy Now$1.00 USD or more

In order to download this tool you must purchase it at or above the minimum price of $1.00 USD. You will get access to the following files:

HitboxEditor.zip 2 MB

Community