Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Stair Effects?

ASM135

Member

Hello

I wanted to know if there is any kind of script, event, well anything, which gives a effect/feeling that the player is walking on stairs. Something like a going up movement.

I know that there are scripts for diagonal/side stairs, so I was in hope that there could be any way to simulate this.
Thanks
 
You don't need a script to have diagonal stairs, just so you know. If you look at the RMXP sample game(Knight Blade, i think?), they used events for diagonal stairs I believe.

Anyway, I don't quite get what you're asking. You want the map to scroll up when walking up stairs?
 
Yeah, all you need is an event (or CommonEvent) with a moveroute for going diagonally up or down. I made custom side-view stairs for the Deep Space RTP map, it was pretty easy to set the moveroutes...

Code:
@> Conditional Branch : The Right button is being pressed

  @> Set Move Route : Player

        : Always On Top ON

        : Through ON

        : Move Right

        : Move Upper Right

        : Move Upper Right

        : Move Right

        : Through OFF

        : Always On Top OFF

  @>

@> Branch End

This one went on the bottom left side of the stairs (which advance two tiles high), you'll want to set another one up at the upper right side of the stairs going the opposite direction, moving diagonal times tiles high for the stairs.

Also, you could throw in an SE for the sounds made walking up the steps but I didn't because I use a Step Sounds script.
 
Honestly I don't quite get what you are trying to do... Could you try to explain it a little bit better, since stairs going upwards are already in RMXP, so I don't get how you would need to script or event them.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top