Lightning moves

Hello,

Today I was experimenting with lightning and I made a map bigger than the regular one (it's 17 x 16) and I want to set the lightning picture so that it won't move from the place in the map. The problem is that apparently it follows the screen, so the lightning moves with the player.

Any solutions to this?

Greetings,

Korros
I use this:

module IAVRA    module OVERLAY                PREFIX = /\AOverlay_/            endendclass Sprite_Picture < Sprite        alias 😮verlay_update_position :update_position        def update_position        if(@picture.name[IAVRA:😮VERLAY:😛REFIX])            self.x = 0 - $game_map.display_x * 32            self.y = 0 - $game_map.display_y * 32        else            overlay_update_position        end    endend
This causes every picture whose name starts with "Overlay_" to be absolutely positioned.
Thank you very much. ^_^

Original thread: https://forums.rpgmakerweb.com/threads/lightning-moves.39637/