Here it goes. I'm trying to use some parallaxes stairs bought in DLCs. These are sideways and thus can't be ''moved on'' properly. I've seen various solution to move the character diagonally but I want to do two things:
1) be able to stay in the middle of the stairs (so no trigger event at the start of the stairs that moves you all the way up).
2) I want to enter the stairs when I want to and move behind them when I want to, too. Think a bridge like (over/under) parallax.
This thread (https://forums.rpgmakerweb.com/index.php?threads/how-do-i-create-stairs-effect-side-view.75869/) has been the closest I've managed to get, but the script call has you move when you press UP and DOWN instead of just looking up and down. I'm at a loss and would appreciate any kind of help, with a script call or not. My will of finishing my game depends on these god damn stairs.
Thank you!
Example of what COULD be modified to look up and down, but again I'm willing to take ANY MEANS (events, script call, anything) to resolve the issue. Thank you!
Spoiler
PHP:
if($gamePlayer._realX === $gameMap._events[this._eventId]._x && $gamePlayer._realY === $gameMap._events[this._eventId]._y){
var dir = $gamePlayer._direction;
if(Input.isPressed("up")||Input.isPressed("right")){
$gamePlayer._through = true; $gamePlayer._direction = 6; $gamePlayer.moveDiagonally(6,8);
}
if(Input.isPressed("down")||Input.isPressed("left")){
$gamePlayer._through = true; $gamePlayer._direction = 4; $gamePlayer.moveDiagonally(4,2);
}
$gamePlayer._through = false;
}TL;DR: I'm trying to have sideway stairs, I think this script call could work but I'm willing to have other solutions like events or other script calls. Thank you.