Mosquito Fighter Test Available for Download! please try it

Member
Posts: 164
Joined: 2002.04
Post: #31
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.
Quote this message in a reply
Member
Posts: 164
Joined: 2002.04
Post: #32
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.
Quote this message in a reply
Member
Posts: 157
Joined: 2002.12
Post: #33
---- how about you make the game independent of the fps?

What do you mean by that?
Quote this message in a reply
Member
Posts: 157
Joined: 2002.12
Post: #34
I'm working on that one Smile
Quote this message in a reply
Member
Posts: 57
Joined: 2002.04
Post: #35
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.
Quote this message in a reply
KidTsunami
Unregistered
 
Post: #36
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.
Quote this message in a reply
Member
Posts: 715
Joined: 2003.04
Post: #37
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.
Quote this message in a reply
Moderator
Posts: 3,577
Joined: 2003.06
Post: #38
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.
Quote this message in a reply
KidTsunami
Unregistered
 
Post: #39
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.
Quote this message in a reply
KidTsunami
Unregistered
 
Post: #40
Yeah, i can't repro it, sorry.
Quote this message in a reply
Patrick
Unregistered
 
Post: #41
I fell through the ground twice. Once I crashed when going back up and the other time I made it through safe.
Quote this message in a reply
Member
Posts: 157
Joined: 2002.12
Post: #42
LOL I'm glad to know you guys are having fun with MF Grin
Quote this message in a reply
Moderator
Posts: 916
Joined: 2002.10
Post: #43
Quote:Originally posted by NYGhost
LOL I'm glad to know you guys are having fun with MF Grin


Please try to play Crimson Skies... it is a really good example of how much better (as far as control wise) MF could be.
Quote this message in a reply
Member
Posts: 157
Joined: 2002.12
Post: #44
Where do I get Crimson Skies?
Quote this message in a reply
anarchie
Unregistered
 
Post: #45
Ok, so I was flying...and I decided to dive into the ground. And then my computer crashed with a kernel panic.

=O

=O

=O

Ok, I guess it helped that I was running the Panther DP at the time, but hey. It would have the same effect on you.
Quote this message in a reply
Post Reply 

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 7,466 Aug 3, 2006 03:46 PM
Last Post: Duane