eluukkanen

Game Dev
Veteran
Joined
Feb 16, 2016
Messages
355
Reaction score
244
First Language
Finnish
Primarily Uses
N/A
Hi there!

I need help in figuring out one thing connected to MV and mouse cursor system. I have tried to make that 2 game variables try get Mouse Cursor X and Y connected to Map Grid constantly (with a parallel trigger) , but I have been unsuccessful. What sort of Script Command I should use to get a specific Map X and Y coordinate where player's mouse is?

Thank you for your help if you know the solution ;)
This would help development of an unique system I am working on.
 

caethyril

^_^
Global Mod
Joined
Feb 21, 2018
Messages
3,045
Reaction score
2,358
First Language
EN
Primarily Uses
RMMZ
I think these are the lines of code you're seeking~
Code:
$gameMap.canvasToMapX(TouchInput.x);
$gameMap.canvasToMapY(TouchInput.y);
 

Latest Threads

Latest Profile Posts

Is RPG Maker VX (rgss2) still relevant? xD
ZyCHqk2.png

Something about top-downs.
I have never felt so attacked by a tree before :LZSlol: it took 10++ hours to make but at least it looks pretty LOL

Untitled-1.png
now seems like the worst time for me to need a better computer with how much stuff is costing. that and I don't thing there's much else I can do to make MV run any better with what I have.
Sigh... to have some variety in this weather. More than just sun and rain and wind and thunder.
In the meantime, I've discovered that I'm slowly becoming fatigued from the many sleepless nights my neighbors cause. Or at least their dogs. Always barking at something.
I might need a day to just sleep and recharge.

Forum statistics

Threads
118,454
Messages
1,116,101
Members
155,437
Latest member
PipingHotRamen
Top