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
205
Reaction score
155
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

Sometimes a mechanic that is meant to add challenge is just annoying. Even the Final Fantasy games did not completely escape this pitfall of design. (FF8 draw system I'm looking at you - grrrr)
starting working on the sprites for one of my games major antagonists finally. here's the first frame of his chanting motion in battle.
Have spent too much time hammering out with a friend just how to make a reoccurring enemy that permanently learns skills you use against her.
I know what I want in a loose sense. Maybe I should just make a post asking for opinions and suggestions.
Shoot Enemy Off-Screen, Run RPG Maker Game as a Web Server, & Thai Keyboard | RPG Maker News #109

Forum statistics

Threads
113,734
Messages
1,077,036
Members
147,762
Latest member
Bad_At_Scripting
Top