Goal Game Simulator

Started by C3R14L.K1L4, February 25, 2009, 04:10:25 PM

Previous topic - Next topic

C3R14L.K1L4

Hello there,

I've finished my AI's project and delivered it to the teacher :P
As it uses this wonderful API, if anyone wants to check go to this link:

http://student.dei.uc.pt/~jcgonc/productions.htm
Its on the section 'Goal Game Simulation'.

Keyboard keys are the usual ones from the FPS / simulator games.

EgonOlsen

Pretty cool. I would like to add this to the projects page, if you don't mind!? One thing that could be improved IMHO are the controls. They are way to fast on my machine (Core2Quad @ 3Ghz, Radeon HD 4870, Vista). I'm crossing the whole level by barely touching 'w'. Decoupling the movement rate from the frame rate should help.

C3R14L.K1L4

#2
No problem.

It happens because the graphics's thread (handling jPCT stuff) isn't time synchronized. This one just executes at maximum speed and calls Thread.yield() so that the other thread (the one for AI) can do it's stuff. Because the purpose of the project was AI development, I couldn't loose time on visuals and etc. :P but I'll correct when I got the time.

PS: Perhaps forcing V-Sync on the driver as a temporary solution...

EgonOlsen

Quote from: C3R14L.K1L4 on February 25, 2009, 08:50:54 PM
PS: Perhaps forcing V-Sync on the driver as a temporary solution...
I'm always disabling VSync in the driver. Setting it to "application" helps, but that's something that i usually don't do.

C3R14L.K1L4

Yeah, I know  ;D I'm always disabling to get the maximum performance... love seeing huge fps but some games don't like that (like my proggy).
I remember one of those, Wipeout XL / 2097 for PC... damm, always touching the track's walls... unplayable...