Diagonal Stair Movement with Pixel Movement

DarkBooDev

Destroyer of Worlds
Veteran
Joined
Mar 25, 2016
Messages
66
Reaction score
37
First Language
English
Primarily Uses
I just wanted to ask if anyone knows about how to program stairs that cause a character to move diagonally downwards when the player inputs a single keyboard command in VX Ace.


For instance, if I had a staircase leading down to the right, I would want to press the right arrow or 'D' key and have the character proceed in a downward right motion, even though I'm only pressing the rightward motion key. I'd also like to know if it's possible to combine these mechanics with a 'pixel movement' system, where the character isn't restricted to grid movement. In short, I'd like a staircase similar to the one from Earthbound pictured below.


Thank you for reading my post, and have a nice day! :)


3-capture_03042008_185452.png
 
Last edited by a moderator:

DarkBooDev

Destroyer of Worlds
Veteran
Joined
Mar 25, 2016
Messages
66
Reaction score
37
First Language
English
Primarily Uses
I'm bumping this post since it's been more than 72 hours.
 

HexMozart88

The Master of Random Garbage
Veteran
Joined
May 15, 2016
Messages
1,879
Reaction score
3,349
First Language
English
Primarily Uses
RMVXA
I don't know about pixel movement, as I have no idea if that is even possible, but for diagonal stairs, try using a player touch trigger and setting the player's move route to "move upper right" as many times as needed. 
 

DarkBooDev

Destroyer of Worlds
Veteran
Joined
Mar 25, 2016
Messages
66
Reaction score
37
First Language
English
Primarily Uses
Nevermind, I solved this one actually. I can just treat the "staircase" like a diagonal path and have perspective achieve the desired effect. This thread can be closed.
 

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,867
Messages
1,017,061
Members
137,575
Latest member
akekaphol101
Top