hi guys i’ve been struggling with this for a long time and im not sure if it is possible, the problem is that you have to create “compare the variable” for every value
Problem example: "John is making a game where you have to collect coins to get giant car, so for every 20 on variable “coins” he wants to scale the car by 0.1 but for that code he’s doing this:
coins = 20, car + 0.1 scale
once while true
coins = 40,car + 0.1 scale
once while true
coins = 60, car + 0.1 scale
once while true
coins = 80, car + 0.1 scale
once while true
coins = 100, car + 0.1 scale
once while true
coins = 120, car + 0.1 scale
once while true
the problem is that john’s game is endless and to do that for a endless game he would need thousands of code lines.
All john wants is to add scale to the car procedurally/dynamically/based on the variable coins
I hope this explains it well
thanks