The Daily Click ::. Forums ::. Klik Coding Help ::. 'Always'
 

Post Reply  Post Oekaki 
 

Posted By Message

Deleted User
27th July, 2006 at 01:47:45 -

I'm just wondering, but do always commands have the same effect as anything timer based, when it comes to engines, and such?

 

Silveraura

God's God

Registered
  08/08/2002
Points
  6747

Game of the Week WinnerKlikCast StarAlien In Training!VIP Member360 OwnerWii OwnerSonic SpeedThe Cake is a LieComputerChristmas Tree!
I am an April Fool
27th July, 2006 at 02:51:13 -

Always is so where every single loop (default is 50 loops a second, at max performance), I believe timer based "loops" are more based on the computer time, rather then game loops. So if you have a game running at full speed, every 1 second will be faster then in a game running at a slower frame rate, this is however excluding Machine Independent Speed.

The best way I found to do a timer based engine that doesn't mess up with game is you could do:

Always Add 1 to Counter

Then make it so that it resets back to 0, when it hits a number you want. The bigger the number, the longer the loop (cause it takes longer to get to that number.)

Now you can make it so that every time you want to trigger the loop, just make it: counter = 0.

I don't know if this helps with your problem, but if not, it's something new that you could work with. I find it VERY useful.

 
http://www.facebook.com/truediamondgame

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
27th July, 2006 at 03:19:31 -

I saw the title and presumed you were discussing the film Always, one of my favourites

 
n/a

Fifth

Quadruped

Registered
  07/05/2003
Points
  5815

VIP MemberGOTW JULY 2010 WINNER!Kliktober Special Award TagGOTW HALLOWEEN 2011 WINNERPicture Me This Round 51 Winner!
27th July, 2006 at 03:29:17 -

You assumed it was referring to a film? A topic with the title 'always'? On a click forum? In the code-it section?

...H'm.

 
Go Moon!

Deleted User
27th July, 2006 at 04:01:43 -

Thanks Brandon, thats a huge help

 

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
27th July, 2006 at 06:22:54 -

I just saw it on the list

http://www.sineport.com/poster/eski/always.jpg

Image Edited by the Author.

 
n/a

RenatoDep

The Ion Adventurer

Registered
  22/03/2003
Points
  804

KlikCast Star
27th July, 2006 at 12:51:01 -

oh god Adam!

 
http://www.galaxiachronicles.com
http://www.eivix.com

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
27th July, 2006 at 12:53:42 -

Its a tear jerker

 
n/a
   

Post Reply



 



Advertisement

Worth A Click