Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (480)
Games in Android Showcase (110)
games submitted by our members
Games in WIP (546)
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  Games Center / Archived Projects / Re: Alien Flux Alpha Test 7 on: 2003-04-04 08:27:28
it switched to fullscreen here, but got no further.

had openal32.dll in my system32 dir, and got this:

org.lwjgl.openal.OpenALException: Unable to load function pointers to openal.

removed openal32.dll from system32, and got this:

Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x6D3B1DD0
Function=[Unknown.]
Library=C:\java\dev\j2sdk1.4.1\jre\bin\client\jvm.dll

NOTE: We are unable to locate the function name symbol for the error
     just occurred. Please refer to release documentation for possible
     reason and solutions.


Current Java thread:
     at org.lwjgl.openal.ALC.getIntegerv(Native Method)
     at com.shavenpuppy.jglib.openal.AL.init(AL.java:149)
     at org.lwjgl.openal.BaseAL.create(BaseAL.java:106)
     at com.shavenpuppy.jglib.openal.AL.<init>(AL.java:122)
     at xap.Game.init(Game.java:411)
     at xap.Game.main(Game.java:230)



2  Discussions / General Discussions / Re: JDK1.4.2 beta posted on: 2003-04-04 07:37:29
WOW. i'm seeing some impressive results with the server VM. i'm freaking out. lots of array accesses, integer calcs and floating point calcs happening in something i'm working on. is it SSE/SSE2? are there any array access optimizations? why isn't SSE in the client?

however, using the server VM, i got an ArrayIndexOutOfBoundsException that doesn't occur using the client VM.  it's after a long code path with lots of calcs, so being a busy person i'm not sure i'll be able to track down the problem and submit a bug report soon.

sun guys, is there a way to turn off SSE/SSE2 in the server VM ? anyone know of any other new VM arguments? can anyone give more info on the SSE support?
3  Discussions / Miscellaneous Topics / Do you like CDs included with programming books? on: 2003-03-17 13:33:52
Do people still like having a CD included with java programming books, or do people perfer just downloading stuff instead?

Really i figure this is a dial-up issue.
Assuming you're starting with a blank slate, is getting ths SDK, and editor/IDE and downaloding a 5MB file of source code too much of a hassle, or would you rather just have it all on CD?

The 1.4.1 SDK plus the Javadocs run about 70MB. An editor/IDE can run anywhere from a couple megs to another 30MB or more.

The downside is the software on the CD can often be out-of-date.

What do people think?
4  Java Game APIs & Engines / Java 2D / Re: 1.4.1_02 fullscreen deadlock on: 2003-03-12 11:39:13
ouch, this bug was commited to tiger, which is still a year or so off. i guess that means it can't be fixed with the current api/spec without breaking something else.

ironically, the deadlock fix i posted here actually creates a deadlock on Mac OS X's java 1.4.1_01. good times.

so, here's another workaround that's cross platform (at least on the mac and windows machines i tested) and makes a little more sense based on what the problem is.
call createBufferStrategy in the awt event dispatch thread:

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
device.setFullScreenWindow(frame); 
if (displayMode != null && device.isDisplayChangeSupported()) {
  try {
    device.setDisplayMode(displayMode);
  }
  catch (IllegalArgumentException ex) { }
}
EventQueue.invokeAndWait(new Runnable() {
  public void run() {
    frame.createBufferStrategy(2);
  }
});


this will make sure createBufferStrategy can't deadlock with the event dispatch thread, since it's now run in the same thread.
5  Java Game APIs & Engines / Java 2D / Re: Please report issues with 1.4.1_02 on: 2003-03-10 21:47:49
the white fullscreen window is probably caused by the new deadlock bug that appeared in _02.

http://developer.java.sun.com/developer/bugParade/bugs/4826573.html
6  Java Game APIs & Engines / Java 2D / Re: Please report issues with 1.4.1_02 on: 2003-03-08 03:48:55
so far i've heard good things about fullscreen in _02. people who couldn't get fullscreen to work on their machines on earlier versions are now having no problem. yay, sun.

the deadlock problem, tho... bummer. i've seen this on a couple machines. by the way, you guys should go vote for this deadlock bug:
http://developer.java.sun.com/developer/bugParade/bugs/4826573.html

hopefully a fix for it will be trivial... here's looking to _03.
7  Java Game APIs & Engines / Java 2D / Re: 1.4.1_02 fullscreen deadlock on: 2003-03-04 15:55:34
the page for this bug is here:
http://developer.java.sun.com/developer/bugParade/bugs/4826573.html
8  Java Game APIs & Engines / Java 2D / Re: Bugfix in 1.4.1_02 on: 2003-03-02 15:52:49
well, it *was* at
http://java.sun.com/j2se/1.4.1/ReleaseNotes.html

but apparently its been removed.

i didn't get around to fully testing it, but translucent images with automatic images (using toolkit.getImage()) didn't appear to be accelerated.

well, maybe it's show up in 1.4.2.

anyone notice any other bug fixes removed from the list?
9  Java Game APIs & Engines / Java 2D / 1.4.1_02 fullscreen deadlock on: 2003-02-28 17:04:45
in j2se 1.4.1_02, a deadlock occurs about half the time on my machine. full screen mode will be set, and the display mode will change, but java will hang, and you'll be left with a blank screen and a mouse cursor.

turns out there's a potential java deadlock between the main thread and AWT-eventqueue thread when calling window.createBufferStrategy()

it occurs about half the time on my machine (windows xp, geforece4, latest video drivers) and didn't occur in 1.4.1_01

i submitted a bug, but thought i'd post a workaround here. just synchronize with the window's tree lock for the entire fullscreen/displaymode/bufferstrategy process:

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
synchronized (frame.[b]getTreeLock()[/b]) { 
  device.setFullScreenWindow(frame);
  if (displayMode != null &&
    device.isDisplayChangeSupported())
  {
    try {
      device.setDisplayMode(displayMode);
    }
    catch (IllegalArgumentException ex) { }
  }
  frame.createBufferStrategy(2);
}


10  Discussions / General Discussions / Re: whoa (scrolling frame) on: 2002-10-17 01:55:15
it doesn't look like the popup is fixed... it's missing the menu bar and status bar.

why does it have to be a popup? why not just make it a link? if someone wants it in a separate window, they can click "open link in new window"
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.

atombrot (21 views)
2014-08-19 09:29:53

Tekkerue (21 views)
2014-08-16 06:45:27

Tekkerue (21 views)
2014-08-16 06:22:17

Tekkerue (12 views)
2014-08-16 06:20:21

Tekkerue (19 views)
2014-08-16 06:12:11

Rayexar (56 views)
2014-08-11 02:49:23

BurntPizza (37 views)
2014-08-09 21:09:32

BurntPizza (29 views)
2014-08-08 02:01:56

Norakomi (35 views)
2014-08-06 19:49:38

BurntPizza (65 views)
2014-08-03 02:57:17
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

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
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!