Single Click Mouse Movement

Scheikowski

Villager
Member
Joined
Apr 11, 2018
Messages
13
Reaction score
1
First Language
Turkish
Primarily Uses
RMMV
As you know in RPG Maker MV, when we hold to clicking left mouse button we can continuously move all around the map. What I need is when I click a tile with left mouse button, my character must just stop in that tile even I hold to clicking left mouse button over another tile. For example; the game "To the Moon" uses a mouse mechanic like what I want.

Alright, I've found the solution:

Open rpg_core.js and find this line;

TouchInput.isPressed = function() {
return this._mousePressed || this._screenPressed;
};
and change it with new code;

TouchInput.isPressed = function() {
return this._triggered;
 
Last edited:

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,862
Messages
1,017,045
Members
137,569
Latest member
Shtelsky
Top