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
56
Reaction score
27
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
56
Reaction score
27
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,947
Reaction score
5,855
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


1,Randomly generate events with planted spawner events(great flexibility for customization and auto-match player's level)
2,Randomly enter roguelike dungeon
3,Player can exit dungeon or back to town or choose to challenge BOSS at the end of each dungeon
4,Dungeon maps can be randomly generated by a third-party tool
Got locked out of the house yesterday... best friends who had the spare ghosted me. Locksmith had to literally drill thru the lock bc they couldn't pick it. Whole process took 4 hours and far too much money. And they have to come back next week bc they don't have the right cylinder, cause it's an old interlocking lock. I'm livid lol
 I’m probably going to regret this, but I need kobolds for my project and I’ve decided to sprite them myself. This is Attempt #1, front view only.

KoboldFront.gif
It's a shame that Selection Control will not be ported to MZ. I found a neat way of using it to enable ways for tanks to protect squishies. lol
Lately I have been taking a break from game and resource making so I won't get burnt out. But I am also interested in the Game Jams this site periodically holds. It'd be great if I knew when the next one, if any, is planned.

Forum statistics

Threads
115,354
Messages
1,089,217
Members
150,029
Latest member
Cwiras
Top