Pictures overlapping

I might find out exactly how to fix this later today but I'll ask just in case.

Right now in the game I'm making the protag is asking characters to introduce themself with portraits around the screen, portraits are hidden halfway through the screen and are tinted gray to show they aren't going to say anything. Once the player does talk to one of the characters the others' portraits move down a little and the gray tint goes away with a switch in the conversation beforehand enabling that. Here's the problem.
Your Turn to Die_ -Jackleg Partcicipants- 8_29_2022 9_43_42 AM.png

What I have going on is that the top row uses the picture ID's of 2-6, character sprites are 7 and the bottom row is 15-19. At the start images 3, 17 and 18 are all 'active' with the rest being grayed out, unable to be interacted with. However for some reason during a conversation with one of the characters portrait, picture 3, goes over the character sprite, picture 7. I looked to make sure the sprites were in fact picture 7 and I was right.

Tested it out right before I posted this and sometimes it does but sometimes it doesn't? Also found out that for some reason picture 2 and picture 3 overlap picture 60??? I have a private github for it since I want the game to be open source when I eventually do release it, mentioning this cause my explanation might be really bad so I'll let you guys be a contributor to see the game in it's fullest.

Is it possible that moving/tinting the pictures is making
Your Turn to Die_ -Jackleg Partcicipants- 8_29_2022 9_46_39 AM.png
it buggy? This hasn't happened when I tested it before and I haven't touched this part of the game in awhile so I have no idea what's going on. Thought it might be something with my plugins, so I included a photo of that here too.

Did some more debug testing and I'm seeing again picture 4 covering picture 7 with picture 7 going above 15-19.

Any thoughts?
Your Turn to Die_ -Jackleg Partcicipants- 8_29_2022 10_21_46 AM.png
Your Turn to Die_ -Jackleg Partcicipants- - RPG Maker MV 8_29_2022 9_47_45 AM.png
Hi there!

The best way to know for sure is to reproduce the picture's behavior on a clean project, without any plugins. Or maybe just try to set off the plugins that handle pictures, which are PictureCallCommon and Galv Picture Anims.

As far as I know, higher picture IDs will always go in front of lower picture ids.

But maybe, the Picture Call Common plugin has some code that may be changing that dynamically, since it has the option to create clickable pictures, it needs to find a way to choose what image is being clicked in case the game has two pictures at the same place. Don't know, it's just a guess.
Hi there!

The best way to know for sure is to reproduce the picture's behavior on a clean project, without any plugins. Or maybe just try to set off the plugins that handle pictures, which are PictureCallCommon and Galv Picture Anims.
It might be PictureCallCommon if what I said after this is true, and it can't be Galv Picture Anims because it uses an image just titled 1.png and even if it did glitch out it would only up the background since it's using the picture ID 1, even then it's not what's going on.
As far as I know, higher picture IDs will always go in front of lower picture ids.

But maybe, the Picture Call Common plugin has some code that may be changing that dynamically, since it has the option to create clickable pictures, it needs to find a way to choose what image is being clicked in case the game has two pictures at the same place. Don't know, it's just a guess.
Is it possible that maybe the code decides that since the image was clicked that it has priority over the other images? If it does then that'll explain it but what would be the solution?
It seems to me to be a issue with your event management. You may have too many pictures at once and may be loosing track of what's being done here.

Try using the "Comments" command to separate things out. Keep track of which picture numbers are being used for what purpose (let's say 1 is for the protagonist, 2 for the second character and so on).

Tinting pictures, moving and transforming them aren't meant to cause any glitch at all.
It seems to me to be a issue with your event management. You may have too many pictures at once and may be loosing track of what's being done here.

Try using the "Comments" command to separate things out. Keep track of which picture numbers are being used for what purpose (let's say 1 is for the protagonist, 2 for the second character and so on).
You mean to make it look like:

show pic 2
comment:
show pic 3
comment:
etc, etc?
It would be something like this:

Captura de tela de 2022-08-29 13-05-59.png


It's good practice to comment your events, so you don't loose track of what you did there, specially if you are making a custom system.
It might be PictureCallCommon if what I said after this is true, and it can't be Galv Picture Anims because it uses an image just titled 1.png and even if it did glitch out it would only **** up the background since it's using the picture ID 1, even then it's not what's going on.

Is it possible that maybe the code decides that since the image was clicked that it has priority over the other images? If it does then that'll explain it but what would be the solution?
Did you make the tests?
Disabled the plugins and tried it out?
It would be something like this:

View attachment 239138

It's good practice to comment your events, so you don't loose track of what you did there, specially if you are making a custom system.
Trying to replicate what you did but it still doesn't fix it, if you have a github account can you tell me what it is so i can show you the code itself?

Still have 0 idea on how comments work.
Did you make the tests?
Disabled the plugins and tried it out?
I can't really test it out without the PictureCallCommon plugin because the part of the game that's having that issue is centered around that whole idea.
I have nothing to add in terms of your problem, but I wanted to ask something. Are you making an alternate version of Your Turn to Die? I don't even know if that game got finished yet.
Trying to replicate what you did but it still doesn't fix it, if you have a github account can you tell me what it is so i can show you the code itself?

Still have 0 idea on how comments work.

Sorry, I don't.

About comments, they are just "remarks" to help you remember what the code is about. It's like when you place a note in the front of your desk or freezer to remember someone's birthday.
I have nothing to add in terms of your problem, but I wanted to ask something. Are you making an alternate version of Your Turn to Die? I don't even know if that game got finished yet.
Just making a fangame, the actual game is gonna get finished it 1-2 months with it's release on steam.
Sorry, I don't.

About comments, they are just "remarks" to help you remember what the code is about. It's like when you place a note in the front of your desk or freezer to remember someone's birthday.
Separating them with comments doesn't seem to work, could there be anything else that can work?
sanguine1038, the comments won't fix the issue themselves, they are there to "help you" figure out what you did. You need to analyze the Event Commands yourself to track down where the possible glitch is. If you find out that everything is in order, then the error might be somewhere else.
@sanguine1038 Is there some reason you haven't just posted screenshots of your events? You keep talking about Discord and github...just put up the darned pictures 🤣

Then someone might look them over for you and notice a logical error instead of guessing at potential causes and you have to write back that you still haven't figured it out on your own.

Original thread: https://forums.rpgmakerweb.com/threads/pictures-overlapping.150911/