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,491
Reaction score
2,632
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

its_a_random_world.jpg
Well after half a year of health problems (that aren't as bad as before), and playing with UE4 & 5... I realized I should finish this project before working on something else. So I decided to upgrade my randomizer. And really just focus on compromising wherever I can to finish the project sooner rather than later. :kaoswt:
hmmm. an art of mine was removed from reddit, for a reason not even listed.

Forum statistics

Threads
121,890
Messages
1,144,961
Members
160,144
Latest member
macos
Top