Perhaps a bit of a silly one here.
I'd like the player to get one or another ending depending on the final game score. For instance, if the score is:
$
<50 get the "Total Loser" ending.
50-75 get the "Keep Trying" ending.
75-100 get the "You Champion" ending.
I suppose I need to use the "game.score" global var, which I've found in the manual. However, I'm not sure about how to enter the statement. Would it be just...
if ((game.score) > 75))
{
//"You Champion"
}
and so forth?
Cheers.
Yes. :)
Can't you just do:
if(game.score > 75){
without all the extra parenthisis?
Yes. ;)
Thanks a lot, I see I was right to post in the beginners forum. ;D
Yes. :=