RMMZ [Solved] What is the API for showing a picture loaded by ImageManager?

Status
Not open for further replies.

Sepheyer

Veteran
Veteran
Joined
Jul 20, 2021
Messages
53
Reaction score
25
First Language
English
Primarily Uses
RMMZ
Does anyone have handy the API for showing a pictre loaded by ImageManager?

Say I have this:

JavaScript:
var img = ImageManager.loadPicture('__D001');

... //how to show the img on screen?

I am currently going through the studio's and user plugins, but this process can take a day or two. So, hoping a kind soul could help me out and save a lot of time. Thank you!
 

Sepheyer

Veteran
Veteran
Joined
Jul 20, 2021
Messages
53
Reaction score
25
First Language
English
Primarily Uses
RMMZ
2 minutes later:

$gameScreen.showPicture(50, "my_picture, 0, -400, -20, 70, 70, 255, 0)
 

slimmmeiske2

Little Red Riding Hood
Global Mod
Joined
Sep 6, 2012
Messages
8,938
Reaction score
5,852
First Language
Dutch
Primarily Uses
RMXP

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

Latest Threads

Latest Posts

Latest Profile Posts

Mr_Petue wrote on Eliaquim's profile.
please explain, why you are voting my commentary negativ.
Uploaded a new Video today where I play Minecraft "The Bridge" please check it out & let me know what you think of it!
I normally only post these every 24 hours, but same-sex marriage is coming to Rune Factory 5 and I just wanted to share it with the world! https://www.xseedgames.com/2021/09/23/rune-factory-5-localization-blog-2/
Today was wild. In the day I worked in my project (and realized I have almost 100 hours wich is a happy surprise), and now i'm having to calm my boyfriend down because of chris pratt Mario.
Mr_Petue wrote on GamchiSamwise's profile.
hey pepe, why do you have a gun on your head? where is wojak?

Forum statistics

Threads
115,320
Messages
1,088,921
Members
149,970
Latest member
TuxedoedPenguin
Top