GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Scoring based on Timer and multiplier

FINNBOGGFINNBOGG Posts: 1,810Member

In my game. I have a timer 1000 with a actor as a decimal point making it look like 100.0

Rule every 1 sec take timer to timer-1

100.0
099.9
099.8
etc etc

I also have another timer that represents the Multiplier amount awarded. starting at 9 and timer -1 ever 15 secs.

9 15 secs later =8 15 secs later =7

plus i have a star awarded system.

if multiplier:
=1-3 award 1 star
=4-6 award 2 star
=7-9 award 3 star.

SO if game stops and timer is 76.7 and multiplier is 3 I want the score display to say 2301 and 1 star awarded.

So far i see this in my head on how it works. But how to i display the sum of 2 different attributes?

76.7 x 3 = 230.1

having a brain fart.

Comments

  • pHghostpHghost London, UKPosts: 2,301Member

    Are you using DisplayText?

    In any case, in the expression editor: {attribute_1}*{attribute_2}

    P.S. A sum is when adding two numbers (+), not when multiplying them.

  • FINNBOGGFINNBOGG Posts: 1,810Member

    Ok thanks. I thought the sum was the sum of 2 or more numbers added together. 2x3. Is 2+2+2. That's the way I always saw it. Sum of all the parts.

Sign In or Register to comment.