Having problems subtracting pts. from score.
in Tech Support
Hey Guys,
I have a complex scoring system that adds all the points, at the end of the game. If I type "game.Top Floor + game.Bricks + game.Bomb + game.Bullet Score" in the "Expression Editor" it works great.
The only problem is I want to subtract the "Bullet Score" in the "Expression Editor"
exp: "game.Top Floor + game.Bricks + game.Bomb - game.Bullet Score"
If I use a "+" between "game.Bomb & game.Bullet Score" it will add the points to the final score. But when I use a "-" it won't subtract the "Bullet Score"points.
What am I doing wrong?
Thanks, David
Comments
bump...
Not a math genius, but try putting parenthesis around the additon, then subtract. This way you will get the full value and subtract from that.
(game.Top Floor + game.Bricks + game.Bomb) - game.Bullet Score
Need Help? Email Me | Templates | Full Game Source Code
Thanks bjandthekatz, that worked!![:) :)](http://community.gamesalad.com/plugins/emojiextender/emoji/twitter/smile.png)