This plugin allows developers to preload specific audio and images before running the game through a new pre-title scene.
Look at the code or download the Plugin:
This plugin allows developers to preload specific audio and images before
running the game through a new pre-title scene.
For all of the audio and img folders, you have four options for preloading
files: none, custom, important, all.
If a preload is set to “none”, no files from that folder will be preloaded.
custom: f1, f2, …
If set to “custom”, specific files can be selected to be preloaded.
Simply input the filenames, no extensions, and separate each with a comma.
For example – custom: Battle1, Battle2, Theme6
If set to “important”, then files that are deemed “important” will be
preloaded. What’s considered “important” is different for each folder. For
example, important BGMs include ones specified in the database, important
Animation Images include all images used in animations, etc.
All files within the folder will be preloaded.
This feature can only be used on Node.js supported platforms.
If you wish to manually preload audio or images in game, the following
Plugin Commands can be used:
PreloadAudio [folder] [name]
Replace “folder” with one of the audio folders, and replace “name” with one of
the file names within that folder.
For example – PreloadAudio bgm Theme6
PreloadImage [folder] [name] [hue]
Replace “folder” with one of the img folders, and replace “name” with one of
the file names within that folder. You can also use the optional “hue”
argument to have the preloaded image preload a specific hue.
For example – PreloadImage titles1 Book 0