Author Topic: Goal Game Simulator  (Read 7954 times)

Offline C3R14L.K1L4

  • int
  • **
  • Posts: 54
    • View Profile
    • CK's place of many works
Goal Game Simulator
« 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.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: Goal Game Simulator
« Reply #1 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.

Offline C3R14L.K1L4

  • int
  • **
  • Posts: 54
    • View Profile
    • CK's place of many works
Re: Goal Game Simulator
« Reply #2 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...
« Last Edit: February 25, 2009, 09:17:07 pm by C3R14L.K1L4 »

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: Goal Game Simulator
« Reply #3 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.

Offline C3R14L.K1L4

  • int
  • **
  • Posts: 54
    • View Profile
    • CK's place of many works
Re: Goal Game Simulator
« Reply #4 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...