Welcome Forums Get help Tokens and Currency

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #51593
    TonyPlays678
    Participant

    Hello! I love this website but have a question about tokens. I’m trying to build a bank system to convert two 5Gold tokens into one 10Gold token (Using tokens obviously). Anyways, this isn’t working, so I was wondering what others are doing about currency and shop systems. If you have any idea on how to help me, please reply as soon as possible! Thank you!

    #51606
    Deluxe
    Participant

    I just use the player has X amount of things. I set the name to Coins and then the banks can check if player has X amount of coins. If number of coins is greater than 5, player can buy health. You get it?

    The hard thing about shops is that you can’t save money collection throughout playthroughs, and it is inpossible to let the player enter in that amount, that’s a thousand plus variables to create.

    #51646
    GBuilder studio
    Participant

    I use ‘hero amount of’ for gold. I Think this will work:

    ‘if hero amount of 5coins = 2<‘

    Bank manager gives choice for ‘Want to swap two 5coins for one 10coin?’

    In case yes:

    Hero number of 5coins decreases with two

    Hero number of 10coins increases with one

    In case No

    Bank manager says ‘Ok, come back soon!’

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.