hi, can i ask you: in your asset, enemy can attack character or just idle and hit?
Hitboxes and Hurtboxes
A downloadable asset pack
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
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.
What if I only want the sprites?
Buy the asset pack and you can download the sprites in a rar.
What if I don't want to buy your project!?
Watch the tutorial video I made with Amazon and do it yourself.
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:
- Video Tutorial AddedMar 18, 2020
Log in with itch.io to leave a comment.
Hi, just want to re-confirm. Can we use a purchased asset to more than one game?
Or it just licensed as a single product (one license for one game only).
Здесь есть пример комбо системы, 2-3 удара?
Is it possible to just purchase the sprite animations? I'd love to be able to use them for a prototype I'm working on. Need a character that can attack with multiple weapons. I've purchased the pack already, just looking for the sprites themselves outside of GameMaker.
yeah you can buy the sprites for 5 dollars, and it comes with all of the code. i added a sprites only download option.
hey, uh......which language you use for writing the code for this? i'm thinking about applying this to Unity Engine will that work?
Oh I think maybe this is an oversight on my part.
In the create event of the god object, add this line
camLock = 0;
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.
dam looks good,wish was free :(
damn I wish I had 5 dollars :(
it used to be free...
i got it for free while it was still free.
Wait what why?????
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??
What If I just want to buy the sprites?....
that will be 5 dollars my man
Can you please port this to the Godot Game Engine?
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
I love this, and i would pay a good amount of money if it was expanded a little more:
- double jump
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?
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!
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...
Do you have plans to add your custom Hitbox editor?