RPG Maker Forums

Hello all -

I've recently begun delving into the scripting system for VX ACE. I've learned the basics, but there's a lot I can't seem to figure out on my own. This is my first time posting on an official forum for help, so I will do my best to convey my issue:

My goal here is to restrict player movement to only the left and right - but not just for one instance, for the entirety of the game. I am not looking to make a platformer game, but rather, something similar to "Dreaming Mary" (if only in terms of movement). It was developed in Rpgmaker, so I know it must be entirely possible.

Here is a youtube video showing the movement in the game:







I have attempted to use a script called "Restricted Move Inputs" by Hime: http://himeworks.com/2013/09/restricted-move-inputs/ , but the problem is that when I script call using an autorun event to disable the up and down movements, it disables all character movement. It ONLY works when I set the event to be triggered by player touch. (Meaning the player could move in any direction, then once they touch the event, they can only move left and right).

I have no other scripts in my project. Anyone have a solution? Thanks for all the help in advance.

EDIT: The youtube video shows that when the player presses the up and down arrow keys, the sprite still changes despite no movement being made. This is not a goal I had, but if it is commonly known how to make this happen, then by all means, go ahead and post it!

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,051
Messages
1,018,551
Members
137,837
Latest member
Dabi
Top