Problem with the picture of my game pad and a flash picture

MrHeimer

Veteran
Veteran
Joined
Jul 16, 2020
Messages
88
Reaction score
10
First Language
Français
Primarily Uses
RMMV
Hi all i hope u are fine :).

I have a small problem with my gamepad, if I put it in number (1 to 7) under the flash (image number 10) it appears under the flash so we no longer see the images of the gamepad even if we can still click on it.



On the other hand if I put my game pad on numbers after the flash, (11/17) the gamepad appears on the flash but we can no longer click on it the character no longer reacts if he is on it and does not move. .





For the gamepad i use Yep_PictureComonEvents, it link a common event to a picture:










and for the flash who follow the hero i use just this :





Anyone would know how to rectify this problem please?

Thank's for your time ^^



Edit: I just see i posted it to the wrong place .... Sorry moderators can you switch it to the good place?^^
 
Last edited:

Wavelength

MSD Strong
Global Mod
Joined
Jul 22, 2014
Messages
5,635
Reaction score
5,116
First Language
English
Primarily Uses
RMVXA
Moved to Plugin Support.

This is just a guess, but I'm thinking Yanfly's plugin might only consider events that are attached to the topmost picture (highest Index) at a given X/Y coordinate. If there's a way around that, someone might be able to help you on this board.

In the future, if you can, it's better to attach pictures to your post using the "ATTACH FILES" link under the box where you type, and then choosing Insert Pictures wherever you want to show them in your post - instead of hosting them at an outside site. This will make it easier for people to expand the pictures without leaving the forum page, and will also make sure the picture can always be seen here even if your image-hosting site changes its rules for displaying things on forums.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,430
Reaction score
7,711
First Language
German
Primarily Uses
RMMV
Is your flashlight picture a constant at the same position? I assume it is, because that way it would remain centered etc.

If that is the case, simply trick the engine: make the flash picture transparent at exactly the positions of the buttons, allowing them (and only them) to shine through when the flash picture is on top.
 

MrHeimer

Veteran
Veteran
Joined
Jul 16, 2020
Messages
88
Reaction score
10
First Language
Français
Primarily Uses
RMMV
Moved to Plugin Support.

This is just a guess, but I'm thinking Yanfly's plugin might only consider events that are attached to the topmost picture (highest Index) at a given X/Y coordinate. If there's a way around that, someone might be able to help you on this board.

In the future, if you can, it's better to attach pictures to your post using the "ATTACH FILES" link under the box where you type, and then choosing Insert Pictures wherever you want to show them in your post - instead of hosting them at an outside site. This will make it easier for people to expand the pictures without leaving the forum page, and will also make sure the picture can always be seen here even if your image-hosting site changes its rules for displaying things on forums.

Thank's for moved this, okay i will upload by this way for the next time thank's for your answer ^^


Is your flashlight picture a constant at the same position? I assume it is, because that way it would remain centered etc.

If that is the case, simply trick the engine: make the flash picture transparent at exactly the positions of the buttons, allowing them (and only them) to shine through when the flash picture is on top.

Thank's for your answer, but it dont will work because as you can see on the first screen shoot, when the hero's either to the far left of the map, or to the far right of the map (or at the top, or at the bottom), the flash follows the hero so the gamepad is not always in the same place compared to the image flash :(

Sry i have a bad english i used a traductor i hope u understand what i try to told ^^
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,430
Reaction score
7,711
First Language
German
Primarily Uses
RMMV
when the hero's either to the far left of the map, or to the far right of the map (or at the top, or at the bottom),
one solution to this is to have a frame of tiles around the map. If you make the map larger in the editor, just having it 10 black tiles in every direction from the places the player can move on, the flsh will always be centered because the player will never reach those hidden tiles in the frame.
 

MrHeimer

Veteran
Veteran
Joined
Jul 16, 2020
Messages
88
Reaction score
10
First Language
Français
Primarily Uses
RMMV
one solution to this is to have a frame of tiles around the map. If you make the map larger in the editor, just having it 10 black tiles in every direction from the places the player can move on, the flsh will always be centered because the player will never reach those hidden tiles in the frame.
Thank's mate i will try it when i come back ^^
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.
Can someone recommend some fun story-heavy RPGs to me? Coming up with good gameplay is a nightmare! I was thinking of making some gameplay platforming-based, but that doesn't work well in RPG form*. I also was thinking of removing battles, but that would be too much like OneShot. I don't even know how to make good puzzles!
one bad plugin combo later and one of my followers is moonwalking off the screen on his own... I didn't even more yet on the new map lol.

Forum statistics

Threads
106,034
Messages
1,018,447
Members
137,820
Latest member
georg09byron
Top