Java-Gaming.org Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (741)
Games in Android Showcase (225)
games submitted by our members
Games in WIP (823)
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  
  LWJGL and Java 5.0rc  (Read 2149 times)
0 Members and 1 Guest are viewing this topic.
Offline elias4444

Junior Devvie





« Posted 2004-09-25 12:05:57 »

Just a curious question here:

First, some background - I've been starting some development and am SERIOUSLY considering using the LWJGL libraries for my game (I'm very impressed with you guys - good work!). However, since I'm just starting development, I wanted to use the Java 5.0rc development kit, since by the time I release this thing, I'm sure that's what will be readily available to users.

Now, here's the problem. I was looking at the space invaders demo at http://www.lwjgl.org/demos.php, and under the Java 1.4.2 runtime, it works fine, but under Java 5.0rc, the little ship just flies to the left and gets stuck. Is this a bug with Java 5.0rc? Or is there going to be some ongoing compatibility issues with Java 5.0rc and the LWJGL? I'd hate to write up this whole game just to have it break with the next version of Java.


Offline Spasi
« Reply #1 - Posted 2004-09-25 12:22:03 »

I've no idea about the space invaders demo, but LWJGL is working great with JDK 5.0. I've been using it since the first beta, with no problems at all.

Actually, LWJGL is specifically designed for 5.0 (while being able to work on 1.4). One of the API decisions was to take advantage of 5.0's static imports, so that you can do stuff like this:

GL11.glEnable(GL11.GL_TEXTURE_2D);
=>
glEnable(GL_TEXTURE_2D);

Have fun Wink
Offline Matzon

JGO Knight


Medals: 19
Projects: 1


I'm gonna wring your pants!


« Reply #2 - Posted 2004-09-25 14:10:32 »

I have been using varius 1.5 releases and haven't had any problems... from where did you run the space invaders game?

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline elias4444

Junior Devvie





« Reply #3 - Posted 2004-09-25 18:31:33 »

From the following link off of the lwjgl.com demo page:

http://www.lwjgl.org/jnlp/lwjgl-demo.php/examples.spaceinvaders.Game

Offline princec

« JGO Spiffy Duke »


Medals: 973
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #4 - Posted 2004-09-25 18:51:45 »

It's always worked fine for me too under 1.5. Does Super Elvis work for you?

Cas Smiley

Offline JasonB

Junior Devvie





« Reply #5 - Posted 2004-09-25 22:31:00 »

Off topic, but just FYI, Cas, running on my laptop SuperElvis looks awesome... right up until the moment you fire a mushroom.  It's as smooth as hell until that point and then everything goes jerky and slow.

Plus part way into the first left I end up jammed along the left hand side of the screen -- not sure if that's intentional or not.

PS.  Running 1.4.2_05 on Linux
Offline elias4444

Junior Devvie





« Reply #6 - Posted 2004-09-25 23:21:24 »

Super Elvis runs great (fantastic game BTW). It's just that space invaders game, under java 1.5 (but not 1.4.2), as soon as it starts, the little ship flys to the left and stays there. I can "pause" it from flying to the left by always holding down the right-cursor key.  I'm just curious why it's having problems with 1.5?

Offline princec

« JGO Spiffy Duke »


Medals: 973
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #7 - Posted 2004-09-26 08:17:02 »

Hm.... I wonder if Kev enabled the joystick in his space invaders thing?

JasonB - sorta baffling why it would suddenly go all slow firing a mushroom - it's just another ordinary sprite. And being stuck in the edge is a longstanding bug I must get round to fixing...!

Cas Smiley

Offline kevglass

« JGO Spiffy Duke »


Medals: 319
Projects: 25
Exp: 22 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #8 - Posted 2004-09-26 08:29:00 »

Nope, no joystick in the Space Invaders stuff, its all Keyboard stuff.

Kev

Offline Matzon

JGO Knight


Medals: 19
Projects: 1


I'm gonna wring your pants!


« Reply #9 - Posted 2004-09-26 09:58:09 »

The version on the lwjgl demo page has support for controllers, mouse and sound.

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline JasonB

Junior Devvie





« Reply #10 - Posted 2004-09-27 00:23:53 »

Quote

JasonB - sorta baffling why it would suddenly go all slow firing a mushroom - it's just another ordinary sprite. And being stuck in the edge is a longstanding bug I must get round to fixing...!

I just remembered, when I started it, the mouse was hideously slow on the menu screen as well.

I tried to give it another go, just to see if it was some odd aberration, but this time I can't get the mouse to work at all on the menu page. In the end I have to kill the app. The only difference between now and when I ran it last time, was now I've got a USB mouse plugged in (which works normally).

Again, just FYI
J
Pages: [1]
  ignore  |  Print  
 
 

 
Ecumene (108 views)
2017-09-30 02:57:34

theagentd (135 views)
2017-09-26 18:23:31

cybrmynd (245 views)
2017-08-02 12:28:51

cybrmynd (240 views)
2017-08-02 12:19:43

cybrmynd (238 views)
2017-08-02 12:18:09

Sralse (252 views)
2017-07-25 17:13:48

Archive (864 views)
2017-04-27 17:45:51

buddyBro (1007 views)
2017-04-05 03:38:00

CopyableCougar4 (1566 views)
2017-03-24 15:39:42

theagentd (1373 views)
2017-03-24 15:32:08
List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05

SF/X Libraries
by SkyAphid
2017-03-02 06:38:56

SF/X Libraries
by SkyAphid
2017-03-02 06:38:32

SF/X Libraries
by SkyAphid
2017-03-02 06:38:05

SF/X Libraries
by SkyAphid
2017-03-02 06:37:51
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!