Semi transparent event issues. curse of a black box.

So (and goodness i hope this is the right place for this bug question) I have a small bug that I can't seem to fix.

I have some "lights" placed around to mimic street lights and, while they work perfectly fine when youre next to them, when they first appear in the map there's an annoying black box around them before they blink into transparency and it really takes you out of the game.

I've tried messing with the movement stuff but I can't seem to get rid of that issue. There's a few of them on the same map if that's any issue.

Attached is the event script and a link to a gif for example.


Thank you for your time
1) why do you have them on trigger = parallel process?
there is no content, so the parallel process creates nothing but lag

2) the gif looks as if you have the entire lamp as a single sprite, it would be much better to have only the lights themselves as event (two sprites for the two lights on top)

3) this is connected to (2) - to reduce lag, autonomous movement is only activated when the event itself is short before entering the screen. But if you have the event as the whole lantern and is positioned where the foot of the lantern pole is, the tops of such a large event enter the screen long before the event itself is in range to be activated.
this can be solved by 2 as that would have the light sources itself as the events at their positions, but if you can't do that then look for the anti-lag-scripts around for Ace. The better ones handle the activation of events not only at different distances, they also allow events to be permanently active on certain flags.
1) why do you have them on trigger = parallel process?
there is no content, so the parallel process creates nothing but lag

2) the gif looks as if you have the entire lamp as a single sprite, it would be much better to have only the lights themselves as event (two sprites for the two lights on top)

3) this is connected to (2) - to reduce lag, autonomous movement is only activated when the event itself is short before entering the screen. But if you have the event as the whole lantern and is positioned where the foot of the lantern pole is, the tops of such a large event enter the screen long before the event itself is in range to be activated.
this can be solved by 2 as that would have the light sources itself as the events at their positions, but if you can't do that then look for the anti-lag-scripts around for Ace. The better ones handle the activation of events not only at different distances, they also allow events to be permanently active on certain flags.

Ah I got the lights from vexedenigma and i just followed the script they said to use with them ^^''' but youre right, i didnt even realize i had them on parallel processing, i turned that off.

The sprite came with a black background already and i can't seem to get rid of it and make it look right sadly. I wish it had been transparent to be honest.

Ill check out some anti lag scripts, but im worried theyll mess with my other scripts. Thank you for the help though ^^ if anyone has any anti lag scripts youd recommend, please lemme know!
The sprite came with a black background already and i can't seem to get rid of it and make it look right sadly.
you'll need either gimp or photoshop or a similar image program that supports layers.
1) make a new picture with transparent background that is the exact size of your sprite.
2) copy your sprite into that new picture as a new layer above the transparent background
3) use a "magic wand" tool or something similar to select the black background only
4) erase the black background - you might have to be careful not to erase the light if the selection is not exact
5) save the result as png
Which pack are you using? Vexed provides instructions on using the lighting, but I can better point you to it if I know what you are using.

edit: Nevermind, I see that your first image, you mirrored the sample. My next suggestion would be to reimport the tiles using the Resource Manager and be sure to select the black color when you are selecting the transparent color.
Maybe this will help you. Also, since your event already uses max speed and frequency, you can delete those instructions from its walk path. You should also set it to Above Characters, Action Button, and Through ON.

Original thread: https://forums.rpgmakerweb.com/threads/semi-transparent-event-issues-curse-of-a-black-box.126924/