Changing event bounding box based on direction it's facing

ExeSandbox

Newbie stumbling around
Member
Joined
Oct 22, 2020
Messages
2
Reaction score
1
First Language
English
Primarily Uses
RMMV
Hello there!

I don't know if this can be done or not, but is it possible to change an event's trigger/bounding box/collision based on the direction it's facing? i.e. for something long and rectangular like a car that takes up a 48x96 space (2 tiles), if it was facing up/down the bounding box would be "x1 y2" and if it was facing left/right the bounding box would change to "x2 y1".

Help_02.png

I've done some experiments myself using Estriole's Event Size and Trigger Plugin along with Conditional Branches and the "Else" command. As you can see in the image, the very first Comment with <event_size: 7 1 1 0> works perfectly. But when the event turns left or right it still uses <event_size: 7 1 1 0> instead of switching to <event_size: 4 4 3> which is specified under the conditions.

Help_01.png

I know the event commands that I set up is definitely wrong in some way, but I haven't got a clue on why it's not working or what other options there are to achieve this result.

Thanks for your time. :)
 

Attachments

ExeSandbox

Newbie stumbling around
Member
Joined
Oct 22, 2020
Messages
2
Reaction score
1
First Language
English
Primarily Uses
RMMV

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,864
Messages
1,017,056
Members
137,573
Latest member
nikisknight
Top