Mosquito Fighter Test Available for Download! please try it
Yes you should make a timer and either update the state a set number of times per second, or change the timestep based on how long it has been since the last update.
I.e. if goes down from 60 to 30 fps you could either update the physics twice as many times per frame, or have the same number of updates with a timestep that is twice as long.
I.e. if goes down from 60 to 30 fps you could either update the physics twice as many times per frame, or have the same number of updates with a timestep that is twice as long.
This is necessary because regardless of what system you run it on, it will always run at different speeds. It will always run slower when enemies are on screen than when they are not, and so on.
---- how about you make the game independent of the fps?
What do you mean by that?
What do you mean by that?
I'm working on that one
Quote:Originally posted by NYGhost
---- how about you make the game independent of the fps?
What do you mean by that?
Use GetCurrentEventTime() to find the current time, subtract the time of the previous frame to get the time elapsed, and adjust your physics accordingly.
I flew straight down into the ground, and went through the ground. When I tried flying back from under the ground I blew up. Sorry if it doesn't make sense, I'm tired.
Cool! Too bad the screen coordinates weren't displayed.
Probably a wrong faced polygon or unconnectecd polygon in there.
If you hadn't tried going up and blowing up, I bet you would have found the Mosquito Fighter nude cheat.
Probably a wrong faced polygon or unconnectecd polygon in there.
If you hadn't tried going up and blowing up, I bet you would have found the Mosquito Fighter nude cheat.
Quote:Originally posted by igame3d
Probably a wrong faced polygon or unconnectecd polygon in there.
Doubt it. More like the quantum effects of collision detection gone awry. Frame 1: Test here, nothing. Pass through the detection zone. Frame 2: Test here, nothing. Never saw it. On the way back he wasn't so lucky.
On my way out I was coming out more parallel to the ground so I probably was around the ground longer. When I went straight down, it was pretty fast. One sec I'll do some testing.
I fell through the ground twice. Once I crashed when going back up and the other time I made it through safe.
I'm glad to know you guys are having fun with MF
Quote:Originally posted by NYGhost
I'm glad to know you guys are having fun with MF
![]()
Please try to play Crimson Skies... it is a really good example of how much better (as far as control wise) MF could be.
Where do I get Crimson Skies?
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| Corrupted FBO, can people download my app and tell me if it breaks for you? | TomorrowPlusX | 22 | 6,780 |
Aug 3, 2006 03:46 PM Last Post: Duane |
|

