Quantcast
Channel: GameSalad 101 — GameSalad Forums
Viewing all articles
Browse latest Browse all 8931

Displaying a score of zero using custom fonts

$
0
0

I'm trying to show a score of zero - when the hero dies before actually scoring anything. I've got the scoring working with the method that seems to be the most popular with the div/floor thing happening. But when the hero dies without scoring, the game resets (as it should) but no number is displayed, which makes sense.

I feel that it'd be better if a zero appears when the hero gets nothing. Also, I've got the words 'final score' sliding in next to the score each time the game ends and it looks weird when it slides into an empty space – hence, the idea of a zero. I'm guessing that something has to happen in the first image/actor of a zero - where the first number appears i.e. the number 1. Would anyone be able to please help?


Viewing all articles
Browse latest Browse all 8931

Latest Images

Trending Articles



Latest Images