The Daily Click ::. Forums ::. Klik Coding Help ::. General Info help
 

Post Reply  Post Oekaki 
 

Posted By Message

..:.Phox.:..



Registered
  18/02/2005
Points
  646

VIP MemberHero of TimeI like Aliens!Cardboard BoxAttention Getter
12th April, 2005 at 16:38:29 -

Hello,

I have already started making games and stuff like that BUT I am being helped by people. They say: "put value -2 to make it fall..." and I do it. BUT I don't even know what a value is!
I would like to know the basics like what are values, variants and stuff like that, what are they for and what can I do with them.

Can you answer those three questions?

THANX

 
Profile edited as it messed the layout of the site up.

clwe



Registered
  17/12/2002
Points
  702
12th April, 2005 at 17:04:29 -

Well, a value is a value. No other way of saying that =P. TGF/MMF use objects called 'counters' - each one lets you store a value, or a number. They both have the same meaning. You can use counters for lots of things...a basic example would for keeping track of the players health/score.

When people talk about using values/counters to make the player move around, that's custom movement (usually better than the standard movement types...unless the creator screws it up =P). Basically, two counters are used - one for the X movement (left/right) and another for the Y movement (up/down). If you're relatively new to TGF, then it might be best if you don't worry about custom movement for the time being. The main thing to remember is that it's just quickly re-positioning an object over and over, which gives the illusion of movement.

It's difficult to explain some of their other uses without getting complicated, but you will probably find out the more you use them (and TGF/MMF in general, of course).

 
n/a

Klikmaster

Master of all things Klik

Registered
  08/07/2002
Points
  2599

Has Donated, Thank You!You've Been Circy'd!VIP MemberPS3 Owner
12th April, 2005 at 17:06:29 -

mmf has values/variables which are numbers basically, you can change each number, subtract from it. Values can be used for many thing.
For example, you could set a value at 50 for a bad guys health and subtract 1 from that value each time the baddie is hit. Then destroy the bad guy when the value reaches 0.

Keep practicing, and look at other people's examples and you'll catch on, good luck with the clicking!

 
n/a
   

Post Reply



 



Advertisement

Worth A Click