Wholley

Warper
Member
Joined
Jul 13, 2015
Messages
2
Reaction score
0
First Language
English
Primarily Uses
Is there a way to identify the tile below the current cursor location on a map?
I can identify tiles in the tile selection area but when given a map that has a interesting tile
on it I am unable to figure out what the tile is.

Thank you for any assistance.
 

LTN Games

Indie Studio
Veteran
Joined
Jun 25, 2015
Messages
708
Reaction score
635
First Language
English
Primarily Uses
RMMV
Give this a try, as an in-game variable use this script call for its value.

variable mouseXTile
PHP:
Math.round(TouchInput.x) / 48
variable mouseYTile
Code:
Math.round(TouchInput.y) / 48

Edit: I may be mistaken, maybe you're trying to figure out the actual tile image?
 
Last edited:

Aloe Guvner

Walrus
Veteran
Joined
Sep 28, 2017
Messages
1,628
Reaction score
1,126
First Language
English
Primarily Uses
RMMV
@LTN Games Is the '42' supposed to be the size of the tile (in pixels)? If so, should be 48 instead
 

Latest Threads

Latest Posts

Latest Profile Posts

Finally started working on Grim Trigger episode 2 today :LZScat: it's half comic/half visual novel!

GfY3Rwj.png
Is it interesting to get more backstory on villains? A key moment in their past, their childhood, or maybe something that shows they've always been that way? To see or not to see?
"Everything tastes like chicken until it's chicken, then it doesn't taste like chicken."
Context: chicken samosas do not taste like chicken. I thought it was veggie samosas.
Just another ordinary evening.
This pig girl is a merchant and playable character.
Currently there's no name for her yet. a suggestion is welcomed.
Merchant.jpg
Merchant-1.jpg
Want for a Nail: I'm trying to figure out what controllers work with MZ, one support thread, a plugin request thread, a dead controller, and a $48 eBay purchase, and a PS1/PS2 USB adapter later. Still stuck with keyboard controls...

Forum statistics

Threads
110,351
Messages
1,052,569
Members
143,393
Latest member
cobertk
Top