I'm a programmer working on a 2d double dragon style fighting game, where I store my sprite clips and hitboxes in xml.
Is there a tool which lets me specify the sprite image and the output file so that I can visually draw hitboxes on the sprite and get the output rectangles? (Not necessarily the exact same format, if it's open source I could modify it).
Here's what a single frame of my game looks like: (clip is the sprite clip, box_v is vulnerable hitbox (hurtbox), box_d is damage hitbox)
<frame>
<!--When sprite is facing left-->
<left dx="0" dy="0">
<clip x="200" y="3000" w="200" h="200" />
<box_v x="71" y="14" w="74" h="172" />
<box_d x="0" y="0" w="0" h="0" />
</left>
<!--When sprite is facing right-->
<right dx="0" dy="0">
<clip x="200" y="2800" w="200" h="200" />
<box_v x="54" y="14" w="74" h="172" />
<box_d x="0" y="0" w="0" h="0" />
</right>
</frame>
Link to video of hitbox tool similar to what I'm looking for (this is just a viewer afaik)My current workflow involves me drawing hitboxes on the sprite sheet in paint.net, and then manually inputting values for each frame. This can be rather...taxing on my sanity (not to mention very inefficient), I'm hoping there's a better way to do this.
Any help would be awesome.
I searched the forums for this but didn't find anything, pardon me if it's a repost.