MZ SDJB_GameScreenWithHoles

PluginName: SDJB_GameScreenWithHoles
Author: ShadowDragon

No Canvas.png


This plugin remove the entire canvas background like the Image above,
no background and no parallax used.

read the helpfile carefully as it require TWO VERY CRUCIAL step that must not be
skipped or it doesn't work.

Spoiler: How it works
Code:
 Requirements
 ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞
 To ensure the plugin works correctly, you must apply the following changes:
 1. Edit index.html  
    Set the <body> background to transparent:

    <body style="background-color: rgba(0,0,0,0)">

    If this is not applied, the background will remain black and the plugin 
    may not function as intended.

 2. Edit package.json  
    Add the following properties under the "window" section:

    "transparent": true,
    "frame": false

    Note:
    "transparent" is required for proper rendering.
    "frame" is optional, but setting it to false provides a cleaner appearance.


 Introduction
 ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞
 Allows unpainted tiles to use the desktop background!
 This is normally black, but it is removed, so only the floor
 is visible while there is nothing else in the background.

 While Parallax works as normal, transparency is untested.


 How to Use
 ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞
 While the background is removed, you can use a region to
 make tiles transparent, allowing you to see the desktop
 background behind them.

 This may not work online and may appear white instead of black.
 I cannot test that, the site where it is used works differently,
 so it only works for desktop deployments.

=== TERMS OF USE ===
Free for Non-Commercial and Commercial use when credit is given.
credit one of the following:
ShadowDragon
ShadowDragonJB


=== WARNING ===
YOU ARE NOT ALLOWED TO REDISTRIBUTE OR SELL IT OR TAKE CODE FOR YOUR OWN.
DO NOT REMOVE THE HEADER.

(require my base plugin (SDJB_Base or SDJB_BaseMVZ (minified version))
leave Feedback and or suggestions.

PS: This is forum specific download only! so there wont be an itch.io download.
Enjoy the plugin.

Untested on mac, linux (and probably wont work on website).
Alter the helpfile as I forgot another very crucial part that has to be edit.

1) is the index.html (which was given)
2) edit the package.json (this one was forgotten).

also refactored the requirement in the helpfile, the rest of the code is untouched.

without altering both steps, the background would stay black.

while it is not required to redownload it, it would be wise to do so for the
complete helpfile how it works.

Original thread: https://forums.rpgmakerweb.com/threads/sdjb_gamescreenwithholes.183297/