subengari

Veteran
Veteran
Joined
Dec 12, 2020
Messages
36
Reaction score
14
First Language
king's english
Primarily Uses
RMMV
Hola señoras y señores-

I'm not sure if this has been asked before and I hope that I make some sense... but could somebody explain to me why, when the Sprite_Button at the top-right corner of the map is clicked (to activate the menu), the $gamePlayer doesn't walk towards it?

I know it's a sprite added to the windowLayer of the scene, but where is the code that prevents the $gamePlayer from reacting to the mouse-click?

Muchos gracias in advance!
 

ShadowDragon

Realist
Veteran
Joined
Oct 8, 2018
Messages
4,691
Reaction score
1,801
First Language
Dutch
Primarily Uses
RMMV
my guess is on the mouse part on over, when it hover a image/button,
it doesn't walk, so you might want to look at the mouse function as well,
or the menu part how it's made to find your answer.

it would be weird if you open the menu, the player is walking?
 

caethyril

^_^
Global Mod
Joined
Feb 21, 2018
Messages
2,986
Reaction score
2,304
First Language
EN
Primarily Uses
RMMZ
The map scene's processMapTouch method includes a check for isAnyButtonPressed. See rmmz_scenes.js for details~
 

Latest Threads

Latest Posts

Latest Profile Posts

Where would you go if you're looking to hire someone on here? I'm in need of a writer to take my story concept and turn it into npcs/dialog in my game.
Evening humans! How goes the game make?
The anime characters we saw 20 years ago,
still have the same age when we see them now.
Somehow it's strange but also beautiful.
It's like no matter how much we change,
there's certain part of ourselves we can reconnect to when we see them again.
Took a long, long time, way longer than it should to be honest...but I've finally finished the big content update to my demo!

Forum statistics

Threads
117,253
Messages
1,105,885
Members
153,420
Latest member
doldol
Top