Help - Search - Members - Calendar
Full Version: sideway doors
RPG RPG Revolution Forums > Game Engines > RPG Maker VX Discussion
SowS
i'm making sideway doors but i can't get the animation right.. what's the move route for the door?
i've already tried using move up, down, left, right and tried different combination but still no luck...

EDIT:
ok, i got the combination for the animation but...
how do i check if the player leaves the event location and the direction of the player where he comes from?
thanks!
BasharTeg6
QUOTE (SowS @ Feb 13 2010, 06:18 AM) *
how do i check if the player leaves the event location and the direction of the player where he comes from?
thanks!


By event location, do you mean the position of a specific event (we'll call it Event A) on the X/Y plane? If so, you need to store the player's X and Y locations into two variables. Then have an event on parallel process (it could be a common event) with conditional branches to check if the player's X and Y are equal to whatever the X and Y are for Event A. If these conditions are not met, then the player cannot be in the same location as Event A.

You can also store directional facing into variables using a conditional branch. If player is facing up, set variable FACING to 1. If player is facing right, set variable FACING to 2. Etc. Then you can check what the variable "FACING" is equal to in the next map.
SowS
thanks! gonna try that one. laugh.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.