Points Earned = time x 100 - 15000
I am trying to incorporate a point system. Let's say it takes you 5 seconds to finish the level. I want to multiply 5 seconds by 100 and subtract from 15,000. Therefore, total points earned will be 14,500. I tried doing this in a attribute but the way I have it set up it probably wrong. This is what i had:
change attribute "level.points" to "15000-(level.time*100)"
Doing this, it always shows 15,000. I think the logic is correct, but I don't think my execution is correct. Anyone see my mistake?
change attribute "level.points" to "15000-(level.time*100)"
Doing this, it always shows 15,000. I think the logic is correct, but I don't think my execution is correct. Anyone see my mistake?
Comments
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io
debug with some display text behaviours to see what is going on.