A downloadable asset pack

Buy Now$5.00 USD or more

What is this?

After developing a ton of fighting game and action game prototypes, and answering hundreds of questions about both, I've decided to release this project! This project aims to help you understand how hitboxes and hurtboxes work, how to set them up, and how to manage them.  There are also tons of helpful game dev tidbits scattered throughout the project. 

What's in the box?

  • Examples of hitboxes for 4 different weapons, each with 3 attacks
  • Fully featured animation control system
  • Frame data management
  • Player character state machine
  • Basic platformer-style collision system
  • Easy to manage and expandable code base
  • Sprites and code for 4 individual weapons
  • Fully commented code
  • Basic implementation of screen shake, and hit stop

Will this continue to be updated?

Absolutely! I plan to continually add features and fix bugs in this project for as long as I can. Eventually the project will be fully featured, and bug free, right? Right?? ;

Will you add...

Yes! Shoot me an email, add a comment below, or tweet at me if you would like a feature requested, have any questions, or have any other feedback to provide!

email: nmranney AT gmail DOT com
twitter: @RatCasket

Does this work with GameMaker Studio 2?

Yes it does! When purchasing this project you now gain access to both a GMS 1.4 version, and a GMS 2 version.


Purchase

Buy Now$5.00 USD or more

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

Hitboxes Project.gmz 59 kB
Hitboxes Project GMS2.yyz 240 kB

Comments

Log in with itch.io to leave a comment.

After purchasing, I ran the GMS2 file in GMS2, pressed spacebar and got this:

___________________________________________
############################################################################################
FATAL ERROR in
action number 1
of  Step Event0
for object god:

Variable god.camLock(100129, -2147483648) not set before reading it.
 at gml_Object_god_Step_0 (line 13) -     camLock = !camLock;
############################################################################################
--------------------------------------------------------------------------------------------
stack frame is
gml_Object_god_Step_0 (line 13)

Oh I think maybe this is an oversight on my part. 

In the create event of the god object, add this line

camLock = 0;

Great, thank you! Does it have any function currently? I wasn't able to find how it changes anything in the code.

I'm having trouble understanding what this is, is it a tutorial or a tool?

Could I use this to define hitboxes for a spritesheet and output a data file for my non-GameMaker engine?

This is a bunch of code that you can use to learn how to do hitboxes and hurtboxes in an easy to manage way.

so it's a tutorial, then. Thanks for the speedy answer

dam looks good,wish was free :(

(+2)(-1)

damn I wish I had 5 dollars :(

Wait what why?????

temporary sale 

how customizable is this. i’m working on my own platform fighting game rn. and can’t get the physics right. i have a lot of specific features i would need for this and i don’t know if it’s possible for me to add them myself??

(+2)

What If I just want to buy the sprites?....

Can you please port this to the Godot Game Engine?

(+3)

I cannot. But you can!

Absolutely fantastic.  Are there any newer updates? 

I like how payment is optional in itch.io. I probably wouldn't have any acess to this gem otherwise. Good work

(+1)

cool pack

(+1)(-1)

I love this, and i would pay a good amount of money if it was expanded a little more:

- double jump

-directional block

-attack combo 

-run attack

-inventory

(+2)(-2)

you mean if i just made a whole game for you? yeah you definitely would pay a good amount for that.

Really nice asset to learn from. If you're looking for suggestions on things to add, perhaps combo attacks and directional blocking (block facing the opposite way to attack would take damage) could be worthwhile?

(1 edit)

Thanks a lot for this! I hope few bucks I send you, hopefully I this can help out to continue doing this kind of content! Cheers!

Thanks amigo!

Paypal: "We can't process your payment right now, so please try again later. We're sorry for the inconvenience." Tried several times and I use this account to make successful payments frequently.

This happens so often with itch.io payments. I wonder what's up with that.

Any chance there's some documentation with this to help guide me through what's happening?

I will be releasing some documentation soon.

Great! I'm looking forward to it :)

Here is a blog I wrote about this a little while ago. It isn't exactly the same as what it is in the project file, but its pretty close. https://developer.amazon.com/blogs/appstore/post/cc08d63b-2b7c-4dee-abb4-272b834...

Thanks a lot! I'll read it over :)

(+1)

Do you have plans to add your custom Hitbox editor?

Yes I do! I haven't had time to finish it recently. If you've already bought the project before it gets added,  you'll still get access to the hitbox editor.