The Daily Click ::. Forums ::. Klik Coding Help ::. Can some please explain to me what Alterable Values are in TGF!!!!!
 

Post Reply  Post Oekaki 
 

Posted By Message

Double\G



Registered
  28/05/2006
Points
  57
21st August, 2006 at 11:24:47 -

Is there any examples that explain, easily, what Values A,B and C and alterable values are in TGF and what they can do etc. I just cant grasp it!

 
www.freewebs.com/diagx


axel

Crazy?

Registered
  05/02/2005
Points
  4766

Game of the Week WinnerYou've Been Circy'd!
21st August, 2006 at 11:36:54 -

They are like counters, they are used to store numbers. They are individual for each active, so they're perfect as health counters for enemies and such.

 
n/a

Ski

TDC is my stress ball

Registered
  13/03/2005
Points
  10130

GOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!KlikCast HelperVIP MemberWii OwnerStrawberryPicture Me This Round 28 Winner!PS3 OwnerI am an April Fool
Candy Cane
21st August, 2006 at 11:44:51 -

lol omg I finally figured them out the other day, I was so proud of myself, but then they're simple so it kinda sucks that I didn't know now

 
n/a

axel

Crazy?

Registered
  05/02/2005
Points
  4766

Game of the Week WinnerYou've Been Circy'd!
21st August, 2006 at 11:48:43 -

Why are all great artists shitty coders?

 
n/a

Double\G



Registered
  28/05/2006
Points
  57
21st August, 2006 at 11:50:06 -

But in some game, ive seen values be part of custom platform engines and stuff. Is there any examples or tutorials for TGF?

 
www.freewebs.com/diagx


Double\G



Registered
  28/05/2006
Points
  57
21st August, 2006 at 11:57:08 -

lol, nice one

Image Edited by the Author.

 
www.freewebs.com/diagx


Flava



Registered
  30/07/2002
Points
  684

Has Donated, Thank You!Code MonkeyVIP MemberThe Cake is a LieThe Spinster
21st August, 2006 at 12:08:10 -

Here is something that could make you understand more.
Start a new application and create a new active object - then put about 10 instances of that active object in the frame. Give it a movement of bouncing ball or something.

+ Active object hits side of playfield
- Bounce
- Add 1 to alterable value 1

+ Alterable value 1 = 3
- Stop


So basically after each instance of that active object hits the edge of the playfield 3 times, then each one will stop. Flags are similar, however they can only take a value of true or false (on or off).

So you could do:

+ Active object hits side of playfield
- Bounce
- Set flag 0 on

+ Flag 0 of active is on
- Stop


That would do it so if the active hits the edge once, then it will stop. The best way to figure this stuff out is just to dump a load of actives in an empty playfield and experiment with values and flags. When I was new to kliking I thought alterable values and flags were too complicated and so didn't use them, meaning my games were poor. Alterable values and flags are very useful in all klik games - and they arn't really complicated at all. The complicated bit is putting them all together to create an engine and stuff..



 
This is a signature. Have this one on me.

Ski

TDC is my stress ball

Registered
  13/03/2005
Points
  10130

GOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!KlikCast HelperVIP MemberWii OwnerStrawberryPicture Me This Round 28 Winner!PS3 OwnerI am an April Fool
Candy Cane
21st August, 2006 at 12:08:38 -

Id much rather be an artist than a coder easily.

 
n/a

Deleted User
21st August, 2006 at 12:49:14 -

Just one question Double\G. Why does your avatar include TGF library graphics and then it says Glaze Graphics?

 

Ski

TDC is my stress ball

Registered
  13/03/2005
Points
  10130

GOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!KlikCast HelperVIP MemberWii OwnerStrawberryPicture Me This Round 28 Winner!PS3 OwnerI am an April Fool
Candy Cane
21st August, 2006 at 13:09:57 -

Skydragon, you sure they're library GFX? they're tiny

 
n/a

Deleted User
21st August, 2006 at 13:11:46 -

I´m 100% sure that they are library graphics.

 

Ski

TDC is my stress ball

Registered
  13/03/2005
Points
  10130

GOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!KlikCast HelperVIP MemberWii OwnerStrawberryPicture Me This Round 28 Winner!PS3 OwnerI am an April Fool
Candy Cane
21st August, 2006 at 13:16:13 -

well I tried Double/G, hes just too smart

 
n/a

Double\G



Registered
  28/05/2006
Points
  57
21st August, 2006 at 14:26:44 -

Lol, yup they are libary gfx. the pic is a snapshot of one of the first games i ever made (About 4 years ago and it was pretty crap). And Glaze graphics is mine and my friends little company. Seeing as everybody has *Somthing*soft as there company name, i thought ours was a bit different

Image Edited by the Author.

 
www.freewebs.com/diagx

   

Post Reply



 



Advertisement

Worth A Click