oasis-b

Docs / Map and world

LW_ForegroundLayer

Map and world
RPG Maker MV and MZ fog and foreground layer plugin

An image layer above the map and its characters: fog, tree tops, light beams, cloud shadows.

Story & World Essentials ($9.99)Full Collection ($19.99)

Needs LW_Core (LWZ_Core in MZ) above all Living World plugins in the Plugin Manager. It's included in every pack.

Fog, tree tops and light beams above your map.

Highlights

Ideas for your game

Works well with

LW_CalendarLW_SeasonTilesetLW_EventGlow

Introduction

Requires LW_Core.

A picture on top of everything on the map, but below weather, pictures and windows. Use it for fog drifting through a forest, leaves that hide the path, a beam of light in a church, or a painted overlay that makes a parallax map look finished.

Without <LW Foreground Fixed> the image moves with the map. An image of map size (tiles x 48) fits the map exactly, smaller ones repeat.

Map Notetags

<LW Foreground: Fog>              img/parallaxes/Fog.png above the map
<LW Foreground Scroll: 0.5 -0.2>  drifts by this many pixels per frame
<LW Foreground Opacity: 160>      0 to 255, default 255
<LW Foreground Blend: add>        normal, add, multiply or screen
<LW Foreground Fixed>             sticks to the screen, not the map
<LW Foreground Depth: 0.5>        moves at half the map speed

Plugin Commands

They last until the next map change.

LW_Foreground show Name           another image
LW_Foreground opacity 120 [n]     opacity, faded over n frames
LW_Foreground scroll 1 0          drift speed
LW_Foreground hide                no image

Terms of Use

See TERMS_OF_USE.txt in the download. Short version: use it in as many of your own games as you like, free or commercial. Edit it for your game, but keep this header. Don't share or resell the plugin files on their own. Name oasis-b in the credits of your game.

Changelog

Version 1.0.0 - 2026-11-21 - First release.

Plugin commands in MZ

In MZ these come as Plugin Command in the event editor, with fields to fill in. Old MV text commands from copied events keep working.

Show Image

Another foreground image on this map.

  • Image (file): From the folder set in the plugin parameters (parallaxes by default).

Hide Image

No foreground until the next map change.

Opacity

Changes the opacity, faded over some frames.

  • Opacity (number) Default: 255.
  • Frames (number): 60 = one second, 0 = at once. Default: 0.

Drift Speed

Pixels per frame. Negative numbers drift left or up.

  • X (number) Default: 0.
  • Y (number) Default: 0.

Introduction

Requires LWZ_Core.

A picture on top of everything on the map, but below weather, pictures and windows. Use it for fog drifting through a forest, leaves that hide the path, a beam of light in a church, or a painted overlay that makes a parallax map look finished.

Without <LW Foreground Fixed> the image moves with the map. An image of map size (tiles x 48) fits the map exactly, smaller ones repeat.

Map Notetags

<LW Foreground: Fog>              img/parallaxes/Fog.png above the map
<LW Foreground Scroll: 0.5 -0.2>  drifts by this many pixels per frame
<LW Foreground Opacity: 160>      0 to 255, default 255
<LW Foreground Blend: add>        normal, add, multiply or screen
<LW Foreground Fixed>             sticks to the screen, not the map
<LW Foreground Depth: 0.5>        moves at half the map speed

Plugin Commands

They last until the next map change.

Show Image     another image
Opacity        opacity, faded over n frames
Drift Speed    drift speed in pixels per frame
Hide Image     no image

Terms of Use

See TERMS_OF_USE.txt in the download. Short version: use it in as many of your own games as you like, free or commercial. Edit it for your game, but keep this header. Don't share or resell the plugin files on their own. Name oasis-b in the credits of your game.

Changelog

Version 1.0.0 - First release for MZ.

Get it

LW_ForegroundLayer is in these packs. Every pack comes as an MV and an MZ download at the same price and needs no other plugin collection. Tested in RPG Maker MV 1.6.2 and MZ 1.10.0 games on Windows, macOS and Linux and in current browsers.

Story & World Essentials ($9.99)Full Collection ($19.99)
← LW_PathfindingLW_StarTiles →