The Daily Click ::. Forums ::. Klik Coding Help ::. Decimals in TGF?
 

Post Reply  Post Oekaki 
 

Posted By Message

KlikFactory



Registered
  11/01/2002
Points
  692
16th May, 2004 at 14:43:47 -

Okay, so I guess TGF doesn't let anybody use decimals. Numbers like 1.5 or 22.3 can't happen.

This wasn't a problem for me before, but in the current game I'm making there is a LOT of math going on in the backround, and I NEED decimals.

I've figured out some ways to work around this, but it is just becoming so much of a problem that I figured I'd post here.

So, does anybody know of an object or extension or whatever that lets decimals be used in TGF? Or any techniques I might have missed? Thanks.

 
Why's there a star next to the Sig? What if I don't want a sig? This sucks.

X_Sheep

I had a custom rating before it was cool

Registered
  01/03/2004
Points
  1313

VIP MemberPicture Me This -Round 23- Winner!Dos Rules!
16th May, 2004 at 14:57:28 -

You can multiply the numbers with *10 or *100 to turn the decimals to whole numbers.

 
a/n

ChrisB

Crazy?

Registered
  16/08/2002
Points
  5457
16th May, 2004 at 16:53:05 -

Use the MMFusion.exe extension.

 
n/a

Assault Andy

Administrator
I make other people create vaporware

Registered
  29/07/2002
Points
  5686

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
17th May, 2004 at 02:22:04 -

LoL @ Chris

 
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy

Arf :: FPP Games



Registered
  15/05/2002
Points
  1364
17th May, 2004 at 12:11:15 -

Heh, Chris is right though. There are ways to work around it in TGF, but if your game requires decimals then it's probably complicated enought to warrant thinking about getting MMF. Although if decimal accuracy is the only thing TGF can't do in your game, then just multiply by 10000 like X_Sheep said.

 
n/a

Pete Nattress

Cheesy Bits img src/uploads/sccheesegif

Registered
  23/09/2002
Points
  4811
17th May, 2004 at 12:42:21 -

you can use the advanced math extension to do decimals in TGF. http://www.clickteam.info/extensions/extview.php?id=37

 
www.thenatflap.co.uk

ChrisB

Crazy?

Registered
  16/08/2002
Points
  5457
18th May, 2004 at 10:43:00 -

See, you could've linked to my list, but you didn't, and now I'm going to cry!

I hope you feel guilty and/or mildly wet from the buckets of tears I am crying.

 
n/a
   

Post Reply



 



Advertisement

Worth A Click