An open library of RPG Maker MZ plugins, powered by the community.

PGMZ - The Community-Driven Plugin Library for RPG Maker MZ

MZ plugins

Dark Plasma Change Foreground - DarkPlasma_ChangeForeground.js

Plugin desc : Switching foreground images

License : MIT License

Author : DarkPlasma

Website : https://github.com/munokura/DarkPlasma-MZ-Plugins/blob/main/DarkPlasma_ChangeForeground.js

Desc page : https://github.com/elleonard/DarkPlasma-MZ-Plugins/tree/release

Download Page : https://raw.githubusercontent.com/munokura/DarkPlasma-MZ-Plugins/main/DarkPlasma_ChangeForeground.js

File name : DarkPlasma_ChangeForeground.js

Help of plugin :

@target MZ
@url https://github.com/elleonard/DarkPlasma-MZ-Plugins/tree/release
@plugindesc Switching foreground images
@author DarkPlasma
@license MIT

@help
English Help Translator: munokura
This is an unofficial English translation of the plugin help,
created to support global RPG Maker users.
Feedback is welcome to improve translation quality
(see: https://github.com/munokura/DarkPlasma-MZ-Plugins ).
Original plugin by DarkPlasma.
Please check the latest official version at:
https://github.com/elleonard/DarkPlasma-MZ-Plugins/tree/release
-----

version: 1.0.0
Switch the foreground image set by the semi-official plugin Foreground.js
using a plugin command.

This plugin requires the following plugin:
Foreground version: 1.1.0

@command ChangeForeground
@text Switching foreground images
@desc Switches the foreground image.
@arg file
@desc If you want to specify an image with zero parallax, please enter the file name directly as a string.
@type file
@dir img/paralaxes

@arg loopX
@text X-direction loop
@type boolean
@default false

@arg loopY
@text Y-direction loop
@type boolean
@default false

@arg scrollSpeedX
@text X-direction scroll speed
@desc Sets the scroll speed along the X axis.
@type number
@default 0

@arg scrollSpeedY
@text Y-direction scroll speed
@desc Sets the scrolling speed along the Y axis.
@type number
@default 0

@command ClearForeground
@text Clearing the foreground image
@desc Deletes the set foreground image.

スポンサードリンク

-MZ plugins

Copyright© PGMZ - The Community-Driven Plugin Library for RPG Maker MZ , 2026 All Rights Reserved.