www.jpct.net

jPCT - a 3d engine for Java => Projects => Topic started by: C3R14L.K1L4 on February 25, 2009, 04:10:25 pm

Title: Goal Game Simulator
Post by: C3R14L.K1L4 on February 25, 2009, 04:10:25 pm
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.
Title: Re: Goal Game Simulator
Post by: EgonOlsen on February 25, 2009, 07:29:05 pm
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.
Title: Re: Goal Game Simulator
Post by: C3R14L.K1L4 on February 25, 2009, 08:50:54 pm
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...
Title: Re: Goal Game Simulator
Post by: EgonOlsen on February 26, 2009, 03:38:29 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.
Title: Re: Goal Game Simulator
Post by: C3R14L.K1L4 on February 26, 2009, 04:53:46 pm
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...