Jump to content
Sign in to follow this  
AlmarM

2D Hitbox Editor

Recommended Posts

AlmarM

Heeyo!

For my current game project, I use hitboxes for collision. I have created a editor in autoit to speed up the creating process.

I thought it might be good to share it with the community. :)

The resources needed are all inside the .rar, as well as the source and the executables.

The editor also requires my _Mouse_UDF, found >here, but it's also included in the .rar.

Let me know what you think. :)

Things you might want to know using this editor:

  • "Open" will open an image file, not a text file.
  • "New" will save a text file, not an image file.
  • The "cursor" tool is used so you don't accidentally create a hitbox.
  • The "sphere" tool creates a sphere hitbox from the center.
  • The "rectangle" tool creates a rectangle from the clicked position.
  • In the lower right corner, "MXY" means mouse xy on grid.
  • In the lower middle, "GXY" means grid xy, it's the mouse xy on the grid according to the origin.
  • In the lower right corner, "S: x, R: y" means there are x sphere hitboxes and y rectangle hitboxes.
  • The green dot is your editor cursor.

Screenshots

iwkj2d.jpg2ly0pee.jpg
25oywxh.jpg2dkllqx.jpg

2D Hitbox Editor.rar

  • Like 1

Minesweeper

A minesweeper game created in autoit, source available.

_Mouse_UDF

An UDF for registering functions to mouse events, made in pure autoit.

2D Hitbox Editor

A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes.

Share this post


Link to post
Share on other sites
Wombat

8O.... this is beautiful ;_;

I would love to build a game in autoit!!!


Just look at us.
Everything is backwards; everything is upside down. Doctors destroy health. Lawyers destroy justice. Universities destroy knowledge. Governments destroy freedom. The major media destroy information and religions destroy spirituality. ~ Michael Ellner


The internet is our one and only hope at a truly free world, do not let them take it from us...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.