License from €75
DE EN FR ES IT CZ

Checking Value/Condition Constantly

  1. · 2 years ago
    Hello there. 
    I want to show the player´s amount of money constantly. Lets say you start with 20Gold and it is shown in the corner "20Gold". Whenever the player buys something, 1 Item for 1Gold for example, after the purchase I want to see "19Gold" in the corner without hovering over an object area. It should change instant.
    Is that possible? 
    And if possible, without Lua?
    Thanks in advance ^^
  2. Working on a game?

    The free version covers up to 25 scenes per project. For more scenes and to sell your game, you need a license.

    See licenses Try it for free
  3. · 2 years ago
    This is how I would do it:
    create an interface with a transparent background, at least as big as the text you want to display, place it in the corner of the screen.
    On this interface create a button. (no image needed)
    For this button you can now display an object text (action part, found under "miscellaneous").
    In this text you can display the integer of your gold value.
    Exapmple:   "Gold: <v=name_of_value>"

    This object text stays the same, even when you update the value. To update the text you need to execute the action part (display object text) again each time you change the gold value.


  4. · 2 years ago
    This is how I would do it:
    create an interface with a transparent background, at least as big as the text you want to display, place it in the corner of the screen.
    On this interface create a button. (no image needed)
    For this button you can now display an object text (action part, found under "miscellaneous").
    In this text you can display the integer of your gold value.
    Exapmple:   "Gold: <v=name_of_value>"

    This object text stays the same, even when you update the value. To update the text you need to execute the action part (display object text) again each time you change the gold value.


    </v=name_of_value></div>
    Okay, thank you very much. Gonna try it ^^

This thread is closed because nobody has replied for more than a year. Feel free to ask your question in a new thread.

New thread

Really delete this post?