✨ General: Change Event Hitbox

There are multiple ways to change an event's hitbox. These hitbox will be usable for conditional branch checkCollide, which is used to check if 2 events have touched each other.


Method 1: Notetag (recommended)


Add this notetag to your event then to see if you've had the right size for the hitbox, playtest the game and turn on debug mode. The hitbox will display in red.


<hitbox: width(tile), height(tile), offset x(pixel), offset y(pixel)>

e.g. <hitbox: 1.2, 1.2>, <hitbox: 1.2, 1.2, 1.5, 40>


From the example above, 1.2 width height = your game tile size, by default should be 48, but with addition of .2 of that tile size.


By default, even if you don't assign this notetag to an event, the event will still be treated as <hitbox: 1, 1>

 


Method 2: Change via Plugin Command


This method is recommended if you want to change your event hitbox size in some specific condition, like a small fireball grows into a bigger one.





5 RPG Maker Action Combat Manual: ✨ General: Change Event Hitbox There are multiple ways to change an event's hitbox. These hitbox will be usable for conditional branch checkCollide, which is used to c...
< >