The RPG Maker Resource Kit

RMRK RPG Maker Creation => VX Ace => Topic started by: GerPronouncedGrr on June 15, 2014, 03:21:11 PM

Title: Random Sprite Change on Event Start [VXA]
Post by: GerPronouncedGrr on June 15, 2014, 03:21:11 PM
Hi folks. I'm brand new to RPG Maker, so forgive me if this is something obvious, but I can't figure it out for the life of me.

I created an event using a sprite from the Behavior 2 page, specifically, column 8, row 4 (the sleeping blue haired girl). Now, the event appears just fine on the map, but when I trigger the event (Action Button) the sprite automagically turns into the sprite directly above that one on the Behavior 2 page (the sleeping green haired dude).

Additionally, I have a second page on that same event where the blue haired girl wakes up. When this event page triggers (Autorun) the sprite shifts to the correct one (Actor 1, column 11, row 1) from the green haired guy.

Also, I should mention that I originally had the page 1 sprite set as Behavior 1, column 1, row 4, and in that case too the sprite would automagically shift to the green haired dude above that one (Behavior 1, column 1, row 3).

Any thoughts on what I can do to fix this?
Title: Re: Random Sprite Change on Event Start [VXA]
Post by: modern algebra on June 15, 2014, 05:57:01 PM
Funny you should use the word fix  :P

The problem is that, by default, sprites will turn toward the player when they are interacted with. All you need to do is check the "Direction Fix" box that is among the options on the event page directly below the sprite. See the attached picture if you cannot find it.
Title: Re: Random Sprite Change on Event Start [VXA]
Post by: GerPronouncedGrr on June 15, 2014, 10:24:20 PM
OK! That fixed it for me. Thanks very much, MA!

Just as an exercise to make sure that I understand the underlying functionality, if the event sprite is turning from 'down' to 'right', isn't the default behavior to grab the image from down 2 rows in the same column? I'm basing this assumption on the default configuration for a 12 image character sprite sheet.