Script to Allow More Than 50 Images?

KadoDragon

Veteran
Veteran
Joined
Sep 10, 2013
Messages
155
Reaction score
9
First Language
English
Primarily Uses
I am going to be using a script that shows text anywhere on the screen and these variable techniques to make a small game. One of those idle games. I'll be making custom menus and animations all on the screen and will be likely needing may need to show more than 50 100 images on the screen in late game. So, any scripts that allow me to show more than 50 100 images on the screen and works like or with the default show image option would be really helpful.

Thanks in advanced!
 
Last edited by a moderator:

Sato1999

Yangfly Master(Previously)
Veteran
Joined
Sep 9, 2014
Messages
338
Reaction score
84
First Language
Portuguese
Primarily Uses
RMVXA
You could create multiple events as a last resort.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
The only limit on number of pictures is in the editor itself. You can have as many pictures as you want, with whatever ids you want, but you will have to use a Script command to add them.


The command is:

$game_map.screen.pictures[id].show("name", origin, x, y, zoom_x, zoom_y, opacity, blend_type)where id is the picture number (1-100 or whatever), name is the file name without the extension (this must be enclosed in quotes), origin is 0 for upper left corner and 1 for center, x and y are the coordinates for display, based on that origin, zoom_x and zoom_y are 100 for full size or adjusted accordingly, opacity is 255 for fully opaque, and blend_type is 0 for normal blending, 1 for add and 2 for subtract.
Then you would also have to use the appropriate commands in script calls to move, rotate, tint or erase the pictures.
 
Last edited by a moderator:

KadoDragon

Veteran
Veteran
Joined
Sep 10, 2013
Messages
155
Reaction score
9
First Language
English
Primarily Uses
I made a mistake. The editor limits you to 100 pictures. This may be enough. But just in case.

You could create multiple events as a last resort.
That wouldn't work. No matter how many events there are, picture 1 is still picture 1 and picture 2 is still picture 2. I will still be limited to 100.

The only limit on number of pictures is in the editor itself. You can have as many pictures as you want, with whatever ids you want, but you will have to use a Script command to add them.

The command is:

$game_map.screen.pictures[id].show("name", origin, x, y, zoom_x, zoom_y, opacity, blend_type)where id is the picture number (1-100 or whatever), name is the file name without the extension (this must be enclosed in quotes), origin is 0 for upper left corner and 1 for center, x and y are the coordinates for display, based on that origin, zoom_x and zoom_y are 100 for full size or adjusted accordingly, opacity is 255 for fully opaque, and blend_type is 0 for normal blending, 1 for add and 2 for subtract.


Then you would also have to use the appropriate commands in script calls to move, rotate, tint or erase the pictures.
Ok. That makes sense. But what would the other script calls be? If I didn't know this, I wouldn't know the others.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

People3_5 and People3_8 added!

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.

Forum statistics

Threads
105,868
Messages
1,017,081
Members
137,582
Latest member
Spartacraft
Top