Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (539)
Games in Android Showcase (132)
games submitted by our members
Games in WIP (603)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1]
1  Java Game APIs & Engines / Java 2D / Re: Maximum FPS ? on: 2011-03-18 15:46:49
Ok
2  Java Game APIs & Engines / Java 2D / Re: Page flipping and screen tearing on: 2011-03-18 15:25:53
You're right:

1  
2  
3  
4  
5  
6  
createBufferStrategy(2);
strategy = getBufferStrategy();
final BufferCapabilities capabilities = strategy.getCapabilities();
System.out.println("PageFlipping:" + capabilities.isPageFlipping());
System.out.println("MultiBufferAvailable: " + capabilities.isMultiBufferAvailable());
System.out.println("FullScreenRequired:" + capabilities.isFullScreenRequired());

1  
2  
3  
PageFlipping:false
MultiBufferAvailable: false
FullScreenRequired:false


Toine
3  Java Game APIs & Engines / Java 2D / Re: Page flipping and screen tearing on: 2011-03-18 14:27:32
Hmm... The computer I used to test has a very poor graphic card and windows is using the standard driver to work with it...

I think the problem is coming from that.

Toine
4  Java Game APIs & Engines / Java 2D / Re: Page flipping and screen tearing on: 2011-03-18 14:07:14
hmmm

when I print out the DisplayMode.getRefreshRate(), it returned "1"... Normal ?  Huh
5  Java Game APIs & Engines / Java 2D / Re: Maximum FPS ? on: 2011-03-18 13:51:37
I post another thread about "screen tearing" in this forum... Maybe it is a consequence of what you said?

Toine
6  Java Game APIs & Engines / Java 2D / Page flipping and screen tearing on: 2011-03-18 13:50:45
Hello,

I'm experimenting some graphics settings and I'm currently playing with the frame rates.

My active rendering is based on page flipping offered by java 6.

What I noticed is when I set the frame rate to 25 FTS, it is ok (but not very smooth). When I set it to 50 FTS, I noted that -sometimes- screen tering effects occured.

I believed this kind of effect was not possible using page flipping?

Do you already experience that?  Huh

Regards,
Toine
7  Java Game APIs & Engines / Java 2D / Re: Maximum FPS ? on: 2011-03-18 11:21:42
Ok, so if for instance I locked the frame rate at 50 FPS, there is no problem with that?

Toine
8  Java Game APIs & Engines / Java 2D / Maximum FPS ? on: 2011-03-18 11:03:09
Hello,

I wonder what is the maximum FPS that a human can "see" ? I read, a long time ago, it was about 25 frames per second...

However, it seems that many games offer a FPS higher...

Question: is it "useful"? do it exists a maximum than a human can get?

Thanks!
Toine
9  Java Game APIs & Engines / Java 2D / Re: "Glossy" effect? on: 2011-03-18 09:50:33
Thanks for replies  Cheesy

Hexara seems to be a good game project, congratulations! Wink

About glossy effect, I wish something like:
http://www.istockphoto.com/stock-illustration-9594205-music-and-media-icons-with-glossy-effect.php

It's a bit like a piece of "plastic" and I would like to create this effect on any images.

Toine
10  Java Game APIs & Engines / Java 2D / Re: "Glossy" effect? on: 2011-03-17 10:04:05
Hello,

Thanks for reply, you can find example by typing "glossy effect" in Google Image.

@philfrei : have you a shreable code sample to illustrate what you did?

Regards,
Toine
11  Java Game APIs & Engines / Java 2D / "Glossy" effect? on: 2011-03-16 20:02:18
Hello,

Do you know a way to create a "glossy" effect in java?

Toine
12  Java Game APIs & Engines / Java 2D / Re: BufferStrategy vs. BufferedImage on: 2011-03-16 19:54:17
Hey  Smiley

Could you just tell me why canvas is better than panel?

Cheers,
Toine
13  Java Game APIs & Engines / Java 2D / Re: 2D-sprites and screen resolution on: 2011-03-16 16:07:43
I'm wondering is this kind ox processing (image scaling) to fit with another resolution might not be uggly in some case?

Like a pixelisation effect and performance loose...

Toine
14  Java Game APIs & Engines / Java 2D / Re: BufferStrategy vs. BufferedImage on: 2011-03-16 16:05:38
Hello,

It is my first message in this forum  Shocked

The fastest way to render properly an image is to:
- use a Panel (AWT)
- use a BufferStrategy (Page Flipping)
- use compatible images

Other things to take care?  Huh

Toine
Pages: [1]
 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

rwatson462 (35 views)
2014-12-15 09:26:44

Mr.CodeIt (26 views)
2014-12-14 19:50:38

BurntPizza (53 views)
2014-12-09 22:41:13

BurntPizza (86 views)
2014-12-08 04:46:31

JscottyBieshaar (48 views)
2014-12-05 12:39:02

SHC (63 views)
2014-12-03 16:27:13

CopyableCougar4 (65 views)
2014-11-29 21:32:03

toopeicgaming1999 (126 views)
2014-11-26 15:22:04

toopeicgaming1999 (117 views)
2014-11-26 15:20:36

toopeicgaming1999 (34 views)
2014-11-26 15:20:08
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

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50
java-gaming.org 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‑gaming.org
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!