darklugia1997

Veteran
Veteran
Joined
Dec 3, 2018
Messages
39
Reaction score
7
First Language
Portuguese
Primarily Uses
RMMZ
With the 1.3.0 update we can use images from subfolders, I was wondering how the script to show an image of a folder x looks like
 

Drakkonis

Veteran
Veteran
Joined
Mar 5, 2021
Messages
206
Reaction score
156
First Language
English
Primarily Uses
RMMZ
Just add the folder name into the file path. If you know the folder, that is. Like when you use script to load a picture, it uses "img/pictures/" and the picture's name, followed by ".png". If it's in a folder, the image's name will include the folder. My test gave me a total picture name of "Subfolder 1/Actor1_1". Without the subfolder it would have just been "Actor1_1".
 

darklugia1997

Veteran
Veteran
Joined
Dec 3, 2018
Messages
39
Reaction score
7
First Language
Portuguese
Primarily Uses
RMMZ
I understand, in my case it was:
$gameScreen.showPicture(62, "teste/hud1", 0, 1091, 667, 100, 100, 255, 0)
Folder/ImageName

Thanks Drakkonis :thumbsup-left:
 

Latest Threads

Latest Posts

Latest Profile Posts

IlluminaughtyStore.jpg
:kaojoy:
Welcome to the Illuminaughty store.
Yes... they are "wearing Illuminati branded everything, reclining on huge Illuminati body pillows. Occasionally they'll "teehee" at each other and have pillow fights with Illuminati branded pillows full of hundred dollar bills."
BCj
Working on Escalia again, feels good. Have this overwhelming urge to map as well, but need to get some extra tiles commissioned first :D
Lee Sang wrote on Bandito's profile.
Hi, I've just tried your plugin "Game is Active" and when I tested it on Android, it gave me an error, something about "Cannot read property 'underfined' of underfined.
With my project, I want the player to have access to all the tools they need to get from New Game to Credits as soon as possible; I want the player's progress to only be impeded by the player not knowing how to use the tools the game provides.
Just a little close up shot...
w2xZocX.jpg

Forum statistics

Threads
113,866
Messages
1,078,019
Members
147,955
Latest member
Wumbohek
Top