Show Posts
|
|
Pages: [1]
|
|
2
|
Java Game APIs & Engines / Java 2D / Dx9 solved my problems.
|
on: 2003-01-13 05:27:14
|
|
Just thought you guys might want to know that installing Dx9 solved the problems I had with FullScreen/BufferStrategy/VolatileImages... I don't know why, but now my code works... and I'm happy!
Crude tests show it displaying 2500 sprites on to a 1024x768x32 screen and having them bounce around happily at a smooth frame rate (60+). I'm super happy! Thanks for the help everyone.
Now I just gotta get this transparency thing going on...
|
|
|
|
|
4
|
Java Game APIs & Engines / Java 2D / Re: Page Flipping
|
on: 2003-01-08 22:38:18
|
|
hmmm i don't really like the BufferStrategy examples on the sun site. So i've got another question, will BufferStrategy always use page flipping when possible?
|
|
|
|
|
5
|
Java Game APIs & Engines / Java 2D / Page Flipping
|
on: 2003-01-07 22:15:36
|
|
This might not be the best spot to post this, but here is goes anyways. I'm wondering if there are any ways to achieve page-flipping without using BufferStrategy? Or does anyone know any good BufferStrategy page-flipping examples? I haven't been able to find any, and the sunsite ones are a little bit lacking in the page-flipping department.
Any idea's?
I was thinking of possibly having two frames and flipping back and fourth between them. Might be slow though....
|
|
|
|
|
9
|
Java Game APIs & Engines / Java 2D / Re: Accurate Frame Rates
|
on: 2003-01-03 02:04:25
|
|
heheh just is right....
i noted that my loops would run 4 or 5 times without System.getCurrentMillis() returning any different results; then all of a sudden it would change by like 15 or 16 millis..
in the end i just setup it so that it calculates the average framerate over the lifetime of the program.
this is goodenough for my purposes
I'm getting about 450 fps @ 1280x1024x32 with 1 sprite(duke.gif)
does that sound about right? It's running on a geforce4
|
|
|
|
|
10
|
Java Game APIs & Engines / Java 2D / Accurate Frame Rates
|
on: 2003-01-02 06:56:18
|
|
I'm not sure if it's because it is late or because I am blind, but I can't seem to find any info on coding a moderatly accurate framerate counter. Could someone please give me a hand?
Thanks.
I just converted the VolatileDuke demo to Full Screen Exclusive and I'm curious as to how fast it's running.
|
|
|
|
|
|
Add your game by posting it in the WIP section,
or publish it in Showcase.
The first screenshot will be displayed as a thumbnail.
|
|