Script to Allow More Than 50 Images?

● ARCHIVED · READ-ONLY
Started by zzTop 6 posts View original ↗
  1. 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!
  2. You could create multiple events as a last resort.
  3. 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.
  4. I made a mistake. The editor limits you to 100 pictures. This may be enough. But just in case.

    Izarck Jitter said:
    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.

    Shaz said:
    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.