Max2150's Recent Forum Activity

  • Honestly, thank you so much! That is so simple yet so effective! The code is perfect and I appreciate your help so much. I'll need to start learning about arrays then:)

  • I'm sorry but i'm a noob at construct, but I tried to attempt what you suggested but I have no idea how to do it.

  • Thank you for your quick response! When I get home I will try this out and let you know what happens!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • So I have a clicker game, 4 resources. At the top of the page are 4 tabs, you tap each tab to switch to the resource. (each resource page has its own layout). Each layout has a white circle sprite that you click to earn the resource.

    So I have a variable, 'IsTappable' and when it's true the circle is white and you can click it to earn the resource which sets the boolean to false. This runs a function which gives x number of resources and runs a cooldown of x seconds, using a global cooldown variable for each resource and sets 'IsTappable' back to true. Basically, when the boolean is false the circle is grey.

    However, if I switch tabs during cooldown of the resource when I switch back to said resource layout the boolean is stuck false and the circle is grey.

    Any help would be greatly appreciated. :)

    Thanks, Max

Max2150's avatar

Max2150

Member since 26 Oct, 2019

None one is following Max2150 yet!

Trophy Case

  • 5-Year Club
  • Email Verified

Progress

6/44
How to earn trophies