Page 2 of 4

Re: The Grid

PostPosted: Sun Jun 07, 2009 1:35 am
by Bee-Ant
1 Frame = what second?

Re: The Grid

PostPosted: Sun Jun 07, 2009 1:39 am
by makslane
It depends of the frame rate of your game.

Re: The Grid

PostPosted: Sun Jun 07, 2009 2:37 am
by jimmynewguy
the unchanged frame rate for GE is 30fps (30 frames per second) you can change this in config -> game properties -> frame rate

Re: The Grid

PostPosted: Sun Jun 07, 2009 10:26 am
by Kalladdolf
Yay, 1 fps is teh b3st *shot*.
(For instance on an old mixture between a calculator and a tetris-console I once had...)

Re: The Grid

PostPosted: Sun Jun 07, 2009 1:50 pm
by factorman2
Kalladdolf wrote:Yay, 1 fps is teh b3st *shot*.
(For instance on an old mixture between a calculator and a tetris-console I once had...)

1 fps can be too much if you talking about gmod but games that you have to think very fast
that would be fine.

Re: The Grid

PostPosted: Sun Jun 07, 2009 7:22 pm
by BlarghNRawr
uhm
i think you might have it backwards
1 fps is really slow. am i wrong?

Re: The Grid

PostPosted: Sun Jun 07, 2009 7:44 pm
by Fuzzy
1 frame is 0.0333333333 seconds, if you set FPS to 30. That is 33 milliseconds.

60 FPS is 0.016666666, (16 milliseconds) and GE has a minimum timer limit of 12 milliseconds, so 75 FPS (0.0133333333) is pretty much the practical limit. You might be able to draw faster, but its going to cause you timing problems.

Most humans cannot see much faster than 30 FPS anyway.

Re: The Grid

PostPosted: Sun Jun 07, 2009 10:52 pm
by factorman2
Fuzzy wrote:1 frame is 0.0333333333 seconds, if you set FPS to 30. That is 33 milliseconds.

60 FPS is 0.016666666, (16 milliseconds) and GE has a minimum timer limit of 12 milliseconds, so 75 FPS (0.0133333333) is pretty much the practical limit. You might be able to draw faster, but its going to cause you timing problems.

Most humans cannot see much faster than 30 FPS anyway.


actually, the higher the fps, the slower the game, in some cases, i had alot of fps in gmod and it ws slower than mollases (sarcasim) it was very slow though.

Re: The Grid

PostPosted: Sun Jun 07, 2009 11:43 pm
by Bee-Ant
I can make Timer with 10 milisecond.
Btw, whats the loop timer in Draw Actor? It seems 10 milisecond?

Re: The Grid

PostPosted: Mon Jun 08, 2009 12:14 am
by makslane
The Draw Actor event is called in each frame, so, if your frame rate is 30, the Draw Actor event will be called each 33ms

Re: The Grid

PostPosted: Mon Jun 08, 2009 1:49 am
by Bee-Ant
Oh...
But it seems its faster than 33ms.
What about the Timer itself, does framerate affect it?

Re: The Grid

PostPosted: Mon Jun 08, 2009 1:51 am
by makslane
The timers are independent of the frame rate.

Re: The Grid

PostPosted: Mon Jun 08, 2009 6:05 am
by Bee-Ant
Back to the grid, whats the limit of the axis?
It seems its imposible to be unlimited...
I think from -999999999 to 999999999

Re: The Grid

PostPosted: Mon Jun 08, 2009 10:14 am
by Fuzzy
The axis are floats, so its hard to say what the limit is. After very big numbers(billions) you will get odd effects.

Re: The Grid

PostPosted: Mon Jun 08, 2009 10:41 am
by Bee-Ant
And is there a loop system? I mean when you hit the +limit, you will be at -limit. Because when i make an actor, put yvelocity++; and let it fall, after sometime it will back to the screen from up. is this what you mean with odd effect?