Hello again! Today I have more updates for my game, mainly having to do with new accurate hitboxes, who doesn’t want that!? My game used to have a problem where the event had to sense the player coming up to it for the player to have done damage, meaning if the event didn’t have this script they wouldn’t be damaged by the player.
Later on, just recently I made a player radial hitbox and thought that was all I needed to do, but I thought back to myself and told myself it is not time to give up yet on a true hitbox! So, being the person I am I went and started finding ways to make a hitbox (Mainly by messing around with my old scripts).
A week later I found this handy person on the RPG Maker Forums who taught the original ways of the Event Sensor (Although it was all in RUBY), and I studied the scripts. I converted them into a script that could transform the size of a directional event sensor.
This Directional event sensor was then tested with some events facing in different directions and the player’s sword would confirm that everything was working, and it did! So after looking at my script for the player’s radial hitbox I applied the same rules to the new directional hitbox and set its size to 1 making it a sword hitbox for the Sword.
Did you like this post? Tell us
Leave a comment
Log in with your itch.io account to leave a comment.