3D Rad - Free 3D game maker - Forum

This forum is now archived!

This forum is locked, and is a read-only version. A new community-ran forum can be found at classdev.net

News:

The 3DRad community can be found at classdev.net.

Pages: [1]

Author Topic: Counter  (Read 356 times)

« on: October 11, 2013, 05:29:57 AM »
Hi.

I used Counter Object for Load Game. But I Need More Explanation about Clamp and wrap. Because I think for Load Game I should use wrap or Clamp, Right?

Thanks
My Game : Star Wars 1.0

http://behdadgame.com/index.php?topic=3.0

possible way, if we found will make a way.
« Reply #1 on: October 11, 2013, 07:18:24 AM »
'Clamp' means the count will just stop when the entered limit is reached, 'wrap' means the counter will return to the minimum when the maximum is reached and the other way around.
Rocket Rumble, a 3D Rad puzzle game:
http://www.3drad.com/forum/index.php?topic=9896.0
« Reply #2 on: October 12, 2013, 11:14:28 AM »
Thanks Roberto.

Quote
'wrap' means the counter will return to the minimum when the maximum is reached and the other way around.
Mean repeat again?

My Game : Star Wars 1.0

http://behdadgame.com/index.php?topic=3.0

possible way, if we found will make a way.
« Reply #3 on: October 12, 2013, 11:30:53 AM »
Mean repeat again?

Yes, I suppose so.

For example, we have a counter with an initial value of 0, an increment of 1 and a minimum of 0 and a maximum of 5 and we set it to 'wrap'.

If you start the counter once, the value will be 1, then if you start it again it will be 2 and so on until the value is 5. When you start the counter once more when the value is 5, the value will be 0 again. After the next start it will be 1 and so on.

Since English is not native tongue, think of the wrap feature as a circle.
Rocket Rumble, a 3D Rad puzzle game:
http://www.3drad.com/forum/index.php?topic=9896.0
« Reply #4 on: October 12, 2013, 12:31:48 PM »
OK, I understand. Thanks for good Explanation.  ;)
My Game : Star Wars 1.0

http://behdadgame.com/index.php?topic=3.0

possible way, if we found will make a way.
« Reply #5 on: October 13, 2013, 02:38:11 AM »
I have another question:

where is wrap can useful?
My Game : Star Wars 1.0

http://behdadgame.com/index.php?topic=3.0

possible way, if we found will make a way.
« Reply #6 on: October 13, 2013, 03:26:02 AM »
where is wrap can useful?

 ;D

I have no clue.  ;)
I've never used it before.
Rocket Rumble, a 3D Rad puzzle game:
http://www.3drad.com/forum/index.php?topic=9896.0
« Reply #7 on: October 13, 2013, 04:56:09 AM »
Quote
;D

I have no clue.  ;)
I've never used it before.

 ;D
My Game : Star Wars 1.0

http://behdadgame.com/index.php?topic=3.0

possible way, if we found will make a way.
Pages: [1]