Problems with lighting overlay

So I'm making my own lighting and shadows trough gimp all goes smooth and well untill i export them into my game. the overlay doesn't fit right with the room i'm in although 


the picture of the lighting and shades are 824*618 does anyone have an idea how that's possible and what i can do to fix it
your numbers are wrong, that's why it doesn't fit.


Any parallax or overlay needs to be the exact size for the map used. Default maps are 17x13 tiles, multiplied by 48x48 pixels for MV that is 816x624 pixels.


So you need to redo or convert your light picture to that size. And if you have other map sizes, then need the different sized pictures to fit, always multiplying map size in grid numbers with pixels per grid.
your numbers are wrong, that's why it doesn't fit.


Any parallax or overlay needs to be the exact size for the map used. Default maps are 17x13 tiles, multiplied by 48x48 pixels for MV that is 816x624 pixels.


So you need to redo or convert your light picture to that size. And if you have other map sizes, then need the different sized pictures to fit, always multiplying map size in grid numbers with pixels per grid.

sorry i meant that size ^^ so it's 816x624 but still doesn't work
then show us how you display that picture and what doesn't work - we can't see what's happening on your computer, you have to show and tell us that.
then show us how you display that picture and what doesn't work - we can't see what's happening on your computer, you have to show and tell us that.

the first one is how it should be and what i did in gimp and the second is in game

View attachment Mercenarylodgef1.xcf

View attachment mercenarylodgef1wrong.xcf
Please use a general format for your pictures, I can't open those (XCF).


Additionally, you didn't answer my question: how do you display the picture ingame? with an event, with a script, or how?
Please use a general format for your pictures, I can't open those (XCF).


Additionally, you didn't answer my question: how do you display the picture ingame? with an event, with a script, or how?

with a parralel event showing picture and afterwards erase event

mercenarylodgef1wrong.jpg
Then please give us a screenshot of that event - most likely you made a mistake in the show picture command.
Then please give us a screenshot of that event - most likely you made a mistake in the show picture command.

that's the thing i already did a same kind of event without problems i didn't change anything

Show picture event.jpg
I think the mistake is in the image, not in the maker - and I have a suspicion why.


On the map, the leftmost column is black - but usually in such cases, you start mapping from the left and any excess space remains on the right.


If you counted your space in GIMP from the walls, instead of that black line, then your picture would have the shadows and lights at exactly one row to the left - just like in your screenshot. Please check where the excess black space is on your GIM pictures...
I think the mistake is in the image, not in the maker - and I have a suspicion why.


On the map, the leftmost column is black - but usually in such cases, you start mapping from the left and any excess space remains on the right.


If you counted your space in GIMP from the walls, instead of that black line, then your picture would have the shadows and lights at exactly one row to the left - just like in your screenshot. Please check where the excess black space is on your GIM pictures...

well i rescheduled my map so i don't have any  black space on the left and you are right it did change but it's still not good and i think i figuered out why the picture keeps updating himself when i walk around i thought the erase event prevented that from happening
Erase event deletes that specific event until the player reenters the map (exactly as you want).


But that is all it does, it does not affect other events.


If that picture moves while you're walking, then most probably you have another event running that affects the picture with the ID#1 - possibly a common event?


Or that could happen in case you used a plugin to change the screensize - all this only works without further problem if the mapsize is the same as the screensize.


If it is not because you increased screensize even a bit, then all numbers are off.
Erase event deletes that specific event until the player reenters the map (exactly as you want).


But that is all it does, it does not affect other events.


If that picture moves while you're walking, then most probably you have another event running that affects the picture with the ID#1 - possibly a common event?


Or that could happen in case you used a plugin to change the screensize - all this only works without further problem if the mapsize is the same as the screensize.


If it is not because you increased screensize even a bit, then all numbers are off.

well since it is the only event on the map at this point i think we can seclude the first option. 


I didn't use any plugins yet either so that's a no go too.
well since it is the only event on the map at this point i think we can seclude the first option. 

No - that's why I specifically asked for the possibility of a common event (which automatically affect all maps)
No - that's why I specifically asked for the possibility of a common event (which automatically affect all maps)

not that either i'm just starting this game i didn't create any common events yet the only other event i created was a cutscene event on another map
Something is causing this - there are no random effects on the computer.


But we can't see into your computer, we can only guess based on what you told us so far.


I have only one suggestion at the moment:


Follow the link to the "Bughunting" in my signature and work through the ideas and options listed there. None of them should apply directly, but a lot of it is background info that might point you to the place where the error comes from.
Something is causing this - there are no random effects on the computer.


But we can't see into your computer, we can only guess based on what you told us so far.


I have only one suggestion at the moment:


Follow the link to the "Bughunting" in my signature and work through the ideas and options listed there. None of them should apply directly, but a lot of it is background info that might point you to the place where the error comes from.

Thanks for your help I just redid it all and tried again and it works now I geuss there was problems with the resolution measures but oh well as long as it works ^^


anyway thanks for everything I'm gonna use all the tips and I read the bughunting link too.

Original thread: https://forums.rpgmakerweb.com/threads/problems-with-lighting-overlay.62408/