get bonus object when score is reached

0 favourites
  • 5 posts
From the Asset Store
Hand-painted tiles, objects, animated objects, and background to build a colorful Mayan civilization environment.
  • hello all,

    Well, thank you in advance for kindly help. I am stuck with something. Any idea where i can find a tutorial or example about this:

    When a score reach 100 points by example, the game show me a mini store/section where i can click on a object. If i have enough point, this object is upgraded on the player.

    I tried to create it but really doesnt work at all here so if someone can help me with something, it would be really appreciated !!!

    thanks again

  • Do a greater or equal check for the amount needed with a variable, whether it's a global or instance variable doesn't matter I believe usually.

    Don't forget to subtract the points, or the player can abuse that oversight.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Thank you for your directive. I was thinking something similar but i dont know why it doesnt work here. Is it possible to see a capx to understand how its really working with that logic ?

    I really need help if possible and a .capx will be easier to understand. I am willing to pay to understand this logic so if its motivate more, then just tell me but i really need help :)

    Here the logic i try to create:

    odesigncommunication.com/issue.jpg

  • It's soooo easy to me.

    The important thing is you must create a global variable for score, besides 2 options on menu screen, you may create event compare to global variable, if the current score is less than 49, it will disable click, otherwise if is greater or equal than 50, it will enable click to purchase weapon, it does same logic to other weapons and add action to substract 50 to global score after of purchasing a weapon, also you make another event to attach new weapon, it?s just like to change frame, add image point or other method.

  • Thanks Joannesalfa and ladestitude, your help have been helpful !

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)