Hello, good people of the RPG Maker forums.
The title explains it all, doesn't it? I'm looking for a plugin that would enable the player to move one tile per key press. I've looked pretty much everywhere, but I can't find any plugin that can do this. I would be very grateful for any recommendations.
Thank you in advance!
can you explain "how that should function"?
as you can easely event that,
if: input.isTriggered("OK")
if : face Direction = 4 (left)
player movement = left + 1
end
end
same thing you can do with right, up, down, every time
the Z or enter is pressed, it moves 1 tile.
otherwise, tell exactly what you want to achieve and for what purpose
it is used for, but from the description you gave us, a simple event
can handle that.
you can alter the movement, as a parallel common event.
if: script: input.isTriggered("key") = when the key is triggered
if: script: input.isPressed("key") = when the key is pressed
if: script: input.isLongPress("key") = when the key is pressed long
there is one on release as well.
I made a tiny plugin, but than ALL keys dont work and you have to
configure it ingame itself what buttons do what. (even moving).
if you want a conditional branch for checking, I made a function
in my Ocarina Demo that uses "trigger" + "pressed" as both are
required so they can spam, but holding it, does nothing.
that combo is probably what you want, when pressed, than
when facing first the direction, in order to place a movement.
altering the entire movement directly isn't probably a smart move,
depending on your game you want to make, but more as a toggle
by either a switch or plugin command, so when you need it, it can
be activated, if you dont need it, you can switch back.
but do you want the player only be 1 step per press, or what is
the reason for 1 step per press, for obstacles, for enemy movement
in between, or something else.
the thing you want can be made without a problem, but we need to see
the bigger picture.
if there are events in between that you player can only move 1 tile in
any direction before another movement is made, there might be
easier solution, like if a player steps +=1, than the player is locked,
so we can see how to let it work between events.
if you are new, you can see what the inbuilt tutorial can do for you.
there can be many factor to a simple plugin, that later need to changed
again because it doesn't function the way you wanted it 🙂
we want to give you the best solution, but if events are in between,
we need to take those in consideration as well, or it might crash.