Picture to Variable Plugin?

Discussion in 'JS Plugin Requests' started by CallMeKerrigan, Jun 4, 2018.

  1. CallMeKerrigan

    CallMeKerrigan Veteran Veteran

    Messages:
    215
    Likes Received:
    151
    Location:
    Utah
    First Language:
    English
    Primarily Uses:
    RMMV
    In VX Ace there was a script by NeonBlack that came with Celianna's Rural farm tiles. It was a script where you could assign a picture to a variable that would appear on screen at all times as long as the variable was met.

    For example if Variable = 10 then a picture you had assigned to the variable 10 would appear.
    If variable = 11 then picture ten would go away and if you had a picture assigned to variable 11 that would show up instead of 10.

    This was great for making health bars and time systems and anything else you wanted to show up in the main screen. Does something like this exist for MV? I keep trying to search "picture Variable" but all I can find are variable bars.
     
    #1
  2. 02409tt

    02409tt Warper Member

    Messages:
    3
    Likes Received:
    0
    First Language:
    English
    Primarily Uses:
    RMMV
    Why don't you just do a parallel common event with a series of if statements?
    Conditional Branch: if variable = 10
    Show Picture 10
    Conditional Branch: if variable = 11
    Show Picture 11
    etc.
     
    #2
  3. Fernyfer775

    Fernyfer775 Veteran Veteran

    Messages:
    1,276
    Likes Received:
    753
    First Language:
    English
  4. CallMeKerrigan

    CallMeKerrigan Veteran Veteran

    Messages:
    215
    Likes Received:
    151
    Location:
    Utah
    First Language:
    English
    Primarily Uses:
    RMMV
    @Fernyfer775 it is close but I want to be able to replace a picture of variable 10 with a picture of variable 11 on the screen instead of having a bar that depletes. I was wanting to use a different graphic than a bar if possible.
     
    #4
  5. CallMeKerrigan

    CallMeKerrigan Veteran Veteran

    Messages:
    215
    Likes Received:
    151
    Location:
    Utah
    First Language:
    English
    Primarily Uses:
    RMMV
    @02409tt That's what I have been doing but I'm worried about how it will impact the performance of my game with a common event constantly running. I know in vx ace it impacted the performance when I did it. For MV I have been testing it on one map and it does seem to kind of stall the game at some points.
     
    #5
  6. Pixelent Games

    Pixelent Games Veteran Veteran

    Messages:
    88
    Likes Received:
    71
    First Language:
    Eng
    Primarily Uses:
    RMMV
    Could the pictures overlay each other?
     
    #6
  7. SeaPhoenix

    SeaPhoenix Veteran Veteran

    Messages:
    116
    Likes Received:
    59
    First Language:
    English
    Primarily Uses:
    RMMV
    #7

Share This Page