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,858
Reaction score
1,868
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
3,046
Reaction score
2,358
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 Profile Posts

I am proud of how much my friends are pure talent. This one is making my game possibilities bigger and bigger and I wanna share his word:
Fun fact. Today it's exactly 2600 days since I met my now gf for the first time. Sometimes being a programmer can be really useful. O:)
Is RPG Maker VX (rgss2) still relevant? xD
yo how do I change my profile picture?

Forum statistics

Threads
118,469
Messages
1,116,156
Members
155,450
Latest member
etflab
Top