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,693
Reaction score
1,805
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

I keep thinking up of new changes or improvements... Edit: Forgot to add the image Gimpwork.JPG
Hello, my nickname is Rigomor, but I am also known as Mopsikus. I work on RPG Maker games, and are currently working on a game called Peony of War.
If the world treats you like an enemy... Then the world must be your enemy...
What started as 1 RPG in development on the Nintendo DS, turned into 4 RPGs in development (1 on VX and 3 on VX Ace). Wish me luck.

Forum statistics

Threads
117,293
Messages
1,106,252
Members
153,480
Latest member
Varlen
Top