The Daily Click ::. Forums ::. Klik Coding Help ::. The calculating system in TGF (MMF?)
 

Post Reply  Post Oekaki 
 

Posted By Message

Linus Software



Registered
  03/01/2002
Points
  10
22nd September, 2003 at 15:59:17 -

Hi there. I have made a quite advanced engine for an RPG-style game in TGF, where I calculate damage and such things, using many counters and values. It all works fine, so I don't need help with the coding. There is, however, one little thing that annoys me, which I hope you can give me the answer to:
My engine is BASED on the fact that TGF can't handle decimals (like 1.45 and such). It works fine for me, but I'm worried that some other people might have extensions/other programs or such that give TGF-games the ability to handle decimals. And if they have, they won't be able to play my game, since the engine will fail. Does having MMF installed on your computer affect the TGF games? And can MMF handle decimals at all? If I use "save stand alone game" in TGF, will it be affected by other things, or does it run just as it is?

 
n/a

Pete Nattress

Cheesy Bits img src/uploads/sccheesegif

Registered
  23/09/2002
Points
  4811
22nd September, 2003 at 16:11:58 -

nope; it'll run as it is; there's no worries about external stuff . that's why it's stand alone... it does exactly as it says on the tin.

MMF can handle floating points, i assume to 32 places as that's what VB does. and i think the advanced maths object for TGF does as well, but i'm not sure on that one.

 
www.thenatflap.co.uk

ChrisB

Crazy?

Registered
  16/08/2002
Points
  5457
22nd September, 2003 at 16:14:49 -

MMF's floating points are single-precision, which is about 5 (guaranteed) decimal places. Advanced Math Object has pseudo-decimals. You don't need to worry, anyway.

 
n/a

Pete Nattress

Cheesy Bits img src/uploads/sccheesegif

Registered
  23/09/2002
Points
  4811
22nd September, 2003 at 16:24:50 -

ok then. not like you need more than that anyway .

 
www.thenatflap.co.uk
   

Post Reply



 



Advertisement

Worth A Click