Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (582)
Games in Android Showcase (163)
games submitted by our members
Games in WIP (633)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Vertical Retrace Sync and PXLAB  (Read 4178 times)
0 Members and 1 Guest are viewing this topic.
Offline kevglass

« JGO Spiffy Duke »

Medals: 270
Projects: 25
Exp: 18 years

Coder, Trainee Pixel Artist, Game Reviewer

« Posted 2004-04-05 11:28:26 »

I was just considering breaking out my C++ and JNI to build a small library to allow me to call "waitForVerticalRetrace()" then it occured to me that someone might have already done this...

I found this:

Now it doesn't look very applicable til you did through the source and find which is a native interface to support vsync on windows.

I'm about to contact the author about repackaging it, could someone who knows a bit more about Direct Draw take a look at the source and see if its actually makes sense? Wink


Offline kevglass

« JGO Spiffy Duke »

Medals: 270
Projects: 25
Exp: 18 years

Coder, Trainee Pixel Artist, Game Reviewer

« Reply #1 - Posted 2004-04-05 15:40:03 »

Oh well, here it is if anyone wants it.. I've repackaged it up a bit and stripped out anything that wasn't need to just do synchronisation.

Contains source (Java and C) and binaries.

To wait for vertical retrace do:


VideoSync exists in the "de.pxlab.pxl" package. Full credit to the pxlab authors who I haven't heard from yet. However, since its "Free Source" there shouldn't be any problem.

I've added it as an optional thing to Mini Adventure (i.e. you can turn it on in the options). Seems to work fine. Mini Adventure is webstartable if anyone would like to try it out. (


Offline Abuse

JGO Knight

Medals: 17

falling into the abyss of reality

« Reply #2 - Posted 2004-04-05 18:05:33 »

Windowed mode vsync? cooool Shocked

Make Elite IV:Dangerous happen! Pledge your backing at KICKSTARTER here!
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline oNyx

JGO Coder

Medals: 2

pixels! :x

« Reply #3 - Posted 2004-04-05 18:09:13 »

There it is Shocked

Would be great if we could have such a thing in java in general (I mean in "pure" java).

弾幕 ☆ @mahonnaiseblog
Offline kevglass

« JGO Spiffy Duke »

Medals: 270
Projects: 25
Exp: 18 years

Coder, Trainee Pixel Artist, Game Reviewer

« Reply #4 - Posted 2004-04-05 19:27:29 »

Yeah, it would be wonderful.. I wouldn't have bothered if it was going to be in 1.5, but I haven't heard anything in that direction...

Solves one of my problems at least Smiley


Pages: [1]
  ignore  |  Print  
You cannot reply to this message, because it is very, very old.

Gibbo3771 (8 views)
2015-05-29 06:54:17

Ralphanese (20 views)
2015-05-28 16:52:52

theagentd (31 views)
2015-05-27 22:21:17

theagentd (35 views)
2015-05-27 22:21:08

CopyableCougar4 (25 views)
2015-05-27 19:24:50

MrMapcom (24 views)
2015-05-23 20:26:16

MrMapcom (32 views)
2015-05-23 20:23:34

Waterwolf (37 views)
2015-05-20 15:01:45

chrislo27 (44 views)
2015-05-20 03:42:21

BurntPizza (79 views)
2015-05-10 15:53:18
Intersection Methods
by Roquen
2015-05-29 08:19:33

List of Learning Resources
by SilverTiger
2015-05-05 10:20:32

How to: JGO Wiki
by Mac70
2015-02-17 20:56:16

2D Dynamic Lighting
by ThePixelPony
2015-01-01 20:25:42

How do I start Java Game Development?
by gouessej
2014-12-27 19:41:21

Resources for WIP games
by kpars
2014-12-18 10:26:14

Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!