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
210
Reaction score
160
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 Profile Posts

Don't you just hate it when you get a high level armor only for it to look like a metal plated bikini on your female character?? Seriously. How can that protect you??? Enemies can hit the squishy parts! :kaosigh:
Bathrooms are not designed for the middle of the night.
so... I decided since a park was an area in my game... here's an enemy that's slide with a hand behind it. cause why not.
Hot chocolate and music make studying and note-taking much easier :kaoluv:
Until my hand cramps up from writing too much!

Forum statistics

Threads
115,275
Messages
1,088,534
Members
149,886
Latest member
Br8228
Top