Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

My version of a hitbox editor for Godot 4

A topic by Noel K. created 10 days ago Views: 75 Replies: 4
Viewing posts 1 to 5
(4 edits)

After trying and failing to prototype for action-adventure games to try out new ideas. I figured that I would need something to make this a lot easier for me. I specifically plan to use this tool for a game I'd like to make one day for fun where players can perform fun combos just for the fun it. But I need a hitbox editor.


This tool when finished should hopefully provide me the means to play around with a lot of action adventure ideas that I have with it being easier to set up everything. I'm also hoping to be able to provide a potentially useful tool for the community to use in their projects as well. 

You can also see in the screenshot above that I also wanted to make setting up animations themselves easier in Godot as I feel, Godot doesn't quite have a good system for that yet. 

I'm planning on it looking somewhat like this when it's finished (with the ability to zoom and pan the canvas):


I've got most of the basic canvas functions finished, and will soon be working on loading and saving the animations themselves. I will update this topic soon with more info for those interested.

(3 edits)

Update:
I managed to get around to the frame selection part of my tool. I really like the way that you can create animations with the SpriteFrames window so I decided to emulate that with this tool. Now I can easily select which frames I want to be a part of the animation



Made a lot of progress on this tool today. I almost have all the pieces in place. I made sure that the frame selection from earlier was able to work inside of the editor. Tomorrow I should have everything working with the ability then draw the hitboxes implemented into the main scene.

I also updated my animation list to display animations recently created by the frame selection node and/or loaded by the main scene itself. All of these will go into a sort of undefined unsaved animation array to later be used for creating an animation library. This tool is also able to load in an animation library and utilize premade animations to add hitboxes to them if necessary.

            

I'm hoping to finish this up soon if not tomorrow. As it stands, I already have a tool that I can use to easily make multiple animations with very quickly and easily

Bit of a big update considering I haven't shared anything in a while.
I've reworked the main window a bit to look a little cleaner and to give more space to the animation list

I also have been able to finish incorporating the most important scripts and functions from my tests into the main scene

I can now draw both hitboxes and hurtboxes


Lastly, I am currently working on one new addition to make undo and redo actions easy and simple for the user. As well as make editing and tracking boxes between frames easier.


I've added a few more editable fields that should allow users to edit hitbox properties each frame very easily. I'll more updates soon