Points Earned = time x 100 - 15000

AppFueledAppFueled Member Posts: 308
edited November -1 in Working with GS (Mac)
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?

Comments

Sign In or Register to comment.