I did it like this:
I added a variable for points too, and it works but now when I click on it and have 135 points it automaticly buys me it twice instead of once
I did it like this:
I didn't notice him buying twice. The price for the update goes up x2.7. So you have to collect more points each time to update. After updating, the price for the update is subtracted from the points. This is how it works in the aia file I posted.
It worked fine but I unplugged the tinyDB for points block in screen 1 and 2 so that the money will go back to 0 to test it and then plugged it back in but now when i go to screen 2 it shows text for label 1 when it should say 50 points or whatever the price is and for the number of upgrades it shows text for label 2
oh wait I see i moved few things in the upgrade button code to sort it but i broke it
For testing, set up a button somewhere that will clean the tags in tinyDb.
How do you reset the connection properly cause whenever i click on hard reset it isnt doing anything and it still remembers the number of points and stuff
Okay it all works now, Thank you so much for helping me again. And thanks for the tip you gave me, really useful.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.