Displaying Game Score Help
MykoKurtz
Member Posts: 5
I make a game integer called score. I make a actor called score, n place it into the project. I change the opacity to 0. than I drag a display text attribute into the actor named score. I change, Display: game.score in the equation menu... Now heres the problem... when I click the play button the score starts at 100 and not zero... any ideas?
Comments
*expression
perhaps you set your attribute at 100 under the attributes tab in gamesalad? Check the screenshot to see what I mean. [above]
Or another workaround would be to have a rule:
set [game.score] to (0)
Sydney Swans 2014!!
ok ill try that work around cuz its not set to 100
Thanx buddy that worked!!
I have a few more things to work out also... 1st, I have a cannon that shoots potatoes. How do I limit the potatoes? It just shoots an unlimited amount of potatoes. I only wanna shoot 5 potatoes...
2nd... when it comes to scoring, how do i make the first potatoes worth more than the last? like how do i add a 5x multiplier to the first potato and a 4x to the next and so on...