GameSalad

Howdy, Stranger!

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

Preventing Real Attribute from showing too many decimal digits

anshu.bishops.2001anshu.bishops.2001 Posts: 1Member
edited May 2016 in Working with GS (PC)

Hi!! I am beginner and developing my first basic game....
I have an real attribute that tracks the time taken for the actor to reach point B from point A.
and this is achieved by timer that adds 0.01 to the attribute every 0.01 seconds.

I use another actor to display this attribute on the screen..... For some seconds it works fine but after that it starts showing approx 10 decimal points which covers a large part of my screen. Is there any way of removing those decimals??

Or Is there a different way of tracking time??

Comments

Sign In or Register to comment.