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,495
Reaction score
2,633
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 Posts

Latest Profile Posts

Maybe I should get rid of the Banish ability in my game. It's a non-elemental spell that doesn't even appear in the magic chart. It's only there because my Elementalist doesn't use light or dark magic. It only effects summoned creatures.
ScreenShot_5_18_2022_0_37_0.png
I've been redoing all of the major areas in my game. starting with a place called Century Park. thankfully because all of the locations are distorted memories, I can make these places pretty abstract.
HexMozart88 wrote on RHachicho's profile.
Hey wait a minute, I remember you!

Forum statistics

Threads
121,910
Messages
1,145,099
Members
160,173
Latest member
Tinseltownie
Top