How to make a Collectible Counter?

Discussion in 'RPG Maker MV' started by Yumihara, Feb 5, 2016.

  1. Yumihara

    Yumihara Warper Member

    Messages:
    2
    Likes Received:
    1
    Location:
    USA
    First Language:
    English
    I use MV, and right now I am having trouble trying to find out how to make a Counter that shows up whenever a collectible is obtained.


    Example, each time I collect a special coin a message box, or even an indicator in the top right would say "1/20 collectibles obtained" and each one you get would update that number so "2/20, 7/20" and so on.


    Can anyone help me on how to do this?  Also it would be helpful if there was a way to set this up for a few different collectibles. So having a separate counter for each different collectible.


    I am a bit of a beginner but I have been experimenting with the engine a bit so I have a basic understanding on how certain things work, but I would be grateful if someone could give me some guidance or even guide me to a helpful tutorial. I have tried searching for this topic but haven't found any results. Many thanks to anyone who helps!
     
    Last edited by a moderator: Feb 5, 2016
    #1
    ct_bolt likes this.
  2. ct_bolt

    ct_bolt Creator Veteran

    Messages:
    451
    Likes Received:
    86
    Location:
    Planet Earth
    First Language:
    Javascript
    Last edited by a moderator: Feb 5, 2016
    #2
  3. Yumihara

    Yumihara Warper Member

    Messages:
    2
    Likes Received:
    1
    Location:
    USA
    First Language:
    English
    #3
  4. LTN Games

    LTN Games Veteran Veteran

    Messages:
    609
    Likes Received:
    459
    Location:
    Canada
    First Language:
    English
    Primarily Uses:
    RMMV
    I will do this for you, give me a bit of time to flesh out how I want it implemented and do some testing and you can expect the next time I update Window Pop( soon ) I will have this included. 
     
    #4
    ct_bolt likes this.
  5. Defacto1769

    Defacto1769 Villager Member

    Messages:
    16
    Likes Received:
    5
    First Language:
    English
  6. LTN Games

    LTN Games Veteran Veteran

    Messages:
    609
    Likes Received:
    459
    Location:
    Canada
    First Language:
    English
    Primarily Uses:
    RMMV
    Gab window does not auto pop with items and gold gained, you have to manually use plugin commands to make it pop up. I'm pretty sure the OP is looking for it to auto pop up whenever an item is collected and they want it to show a max amount beside the amount gained.
     
    #6
    ct_bolt likes this.
  7. ct_bolt

    ct_bolt Creator Veteran

    Messages:
    451
    Likes Received:
    86
    Location:
    Planet Earth
    First Language:
    Javascript


    I was just about to post the same thing. :)


    I've been trying to get it to work with Gab Window, I've got it somewhat with heavy eventing but it's not very easy. :dizzy:


    Also that's only if the items are received during an event. :popcorn:
     
    Last edited by a moderator: Feb 5, 2016
    #7
  8. TheHarmp

    TheHarmp Non-Profit Mephobiac Veteran

    Messages:
    62
    Likes Received:
    91
    Location:
    Ridderkerk, The Netherlands
    First Language:
    Dutch
    I was trying a similar thing, but with an extra variable and icon attached to the MapGoldWindow..
    But my JS skills are nonexistent, so I'm searching for alternatives.. 
     
    #8
    LTN Games likes this.
  9. LTN Games

    LTN Games Veteran Veteran

    Messages:
    609
    Likes Received:
    459
    Location:
    Canada
    First Language:
    English
    Primarily Uses:
    RMMV
    Well, I'll have my plugin updated tonight or tomorrow, I'm going to use in game variables to count the amount of items being gained. All that needs to be done is a Plugin command to set the ingame variable and the max amount to show beside it.  This way the user can quickly reset the variable to restart the collection process, and have control over the entire process with variables and conditions. 
     
    #9
    ct_bolt likes this.
  10. ct_bolt

    ct_bolt Creator Veteran

    Messages:
    451
    Likes Received:
    86
    Location:
    Planet Earth
    First Language:
    Javascript


    Oh very awesome!  :) Excellent idea using an in game variable :thumbsup-left: BD :thumbsup-right:
     
    Last edited by a moderator: Feb 6, 2016
    #10
  11. LTN Games

    LTN Games Veteran Veteran

    Messages:
    609
    Likes Received:
    459
    Location:
    Canada
    First Language:
    English
    Primarily Uses:
    RMMV
    I updated my plugin, I never did extensive testing but with the bit of testing I did do everything seems in working order. Please report any bugs to me either on here or at the original hosting site for my plugin.  
     


    From my help file, this explains how to setup the varibales and items.


    http://rpgmakermv.co/resources/window-pop.359/

    CollectMode.png
     
    Last edited by a moderator: Feb 8, 2016
    #11
    Yumihara and ct_bolt like this.
  12. ct_bolt

    ct_bolt Creator Veteran

    Messages:
    451
    Likes Received:
    86
    Location:
    Planet Earth
    First Language:
    Javascript
    Great work! BD ✩[​IMG]✩ BD


    Seriously loving this plugin. :cutesmile: I hate always having to make messages and such for every item gained.



    While playing around with the item text color I thought of a few more things that might be a nice touch for this plugin.
    ...could you maybe add a way to change the sound played via notetag for certain items and such? (eg. <WPOP_Sound: 1>)
    ...perhaps an option of having only the item name the chosen text color without the "(s)"?


    Thanks again for helping with everything. :)
     
    #12
    LTN Games likes this.

Share This Page