The Daily Click ::. Forums ::. Klik Coding Help ::. Numbers shrinking!
 

Post Reply  Post Oekaki 
 

Posted By Message

Dr. James MD

Addict

Registered
  08/12/2003
Points
  11941

First GOTW AwardSecond GOTW AwardThird GOTW AwardPicture Me This -Round 26- Winner!
4th December, 2008 at 23:06:50 -

I'm trying to add a clock to my game but it says daft stuff like "1:3" when it should be "1:30". How do I tell off MMF2 for that and display the full value in a string? The value still says "30" after all.

Edited by Dr. James MD

 
Image
http://uk.youtube.com/watch?v=j--8iXVv2_U
On the sixth day God created Manchester
"You gotta get that sand out your vaj!" x13
www.bossbaddie.com

-J-



Registered
  05/10/2008
Points
  228

VIP MemberThe Cake is a Lie
4th December, 2008 at 23:35:59 -

"1:3"+"0" ? I dunno. I think I had a problem like this somewhere but gave up ;l

I don't see why it's changing 30 to 3, unless you have a decimal between the digits or something.

 
n/a ...

Ricky

loves Left For Dead 2

Registered
  28/12/2006
Points
  4175

Has Donated, Thank You!Game of the Week WinnerVIP MemberWii OwnerHero of TimeGOTM Winner! - November 2009I am an April Fool
4th December, 2008 at 23:46:58 -

I thought the problem would be the other way around, displaying 3 instead of 03.

 
-

Cecilectomy

noPE

Registered
  19/03/2005
Points
  305

Has Donated, Thank You!VIP MemberWeekly Picture Me This Winner!Cardboard BoxGhostbuster!Pokemon Ball!ComputerBox RedSanta HatSnowman
I am an April Fool
5th December, 2008 at 04:54:31 -

What are you using to get the clock time?
And how are you displaying it?

i used a clock in my #puzzle game recently.
it uses the timex (xtime? i dunno im at work) object and a string object to display a clock like that

minutes : seconds : hundredths

1:30:00

it does have the problem ricky said that it displays :3 instead of :03 but it can be easily modified to fix that.

ill upload an example as soon as im off work.

Edited by Cecilectomy

 
n/a

Cecilectomy

noPE

Registered
  19/03/2005
Points
  305

Has Donated, Thank You!VIP MemberWeekly Picture Me This Winner!Cardboard BoxGhostbuster!Pokemon Ball!ComputerBox RedSanta HatSnowman
I am an April Fool
5th December, 2008 at 07:26:24 -

yup time X and string object.

here is a widget to a timer modified so there is not "1:3" instead of "1:03" or "1:30"

uncommented but its pretty simple. all code is in the time x's behavior.

http://legendkpr.startlogic.com/files/timerwidget.zip

 
n/a
   

Post Reply



 



Advertisement

Worth A Click