Slick Forums

Discuss the Slick 2D Library
It is currently Wed Nov 21, 2018 4:44 am

All times are UTC




Post new topic Reply to topic  [ 11 posts ] 
Author Message
PostPosted: Fri Jun 15, 2012 9:43 pm 
Offline
User avatar

Joined: Mon Jun 20, 2011 4:28 pm
Posts: 71
Open Pedigree ( I used the webstart link on the Slick page just now)
Go to Rendering
Click Option box Quads
Click Option box Points
Click Option box Inherit
Eventually Graphical Output / Canvas will crash
Fiddling around with it even more may cause Pedigree to crash beyond repair - only close-able using task manager.


Top
 Profile  
 
PostPosted: Fri Jun 15, 2012 10:43 pm 
Offline
Slick Zombie

Joined: Sat Jan 27, 2007 7:10 pm
Posts: 1482
I'm using MacOSX and the dev branch Pedigree and I'm seeing no issues.

Can you give more details about reproducing the problem? Are there any exceptions given in the JWS console?
Enabling JWS Console on Windows (or in "Java Preferences" for Mac).


Top
 Profile  
 
PostPosted: Wed Jun 20, 2012 1:53 am 
Offline
User avatar

Joined: Mon Jun 20, 2011 4:28 pm
Posts: 71
Can be reproduced on many windows machines the way I described.

Quote:
Exception in thread "AWT-EventQueue-0" org.lwjgl.opengl.OpenGLException: Invalid operation (1282)
at org.lwjgl.opengl.Util.checkGLError(Util.java:54)
at org.lwjgl.opengl.Display.swapBuffers(Display.java:693)
at org.lwjgl.opengl.Display.update(Display.java:712)
at org.newdawn.slick.AppGameContainer.gameLoop(AppGameContainer.java:418)
at org.newdawn.slick.CanvasGameContainer$2.run(CanvasGameContainer.java:90)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)


All I did was, literally:
Go to Rendering
Click Option box Quads
Click Option box Points
Click Option box Inherit
When I click Inherit, the exception shows up.


Top
 Profile  
 
PostPosted: Wed Jun 20, 2012 10:59 am 
Offline
Game Developer
User avatar

Joined: Thu Mar 03, 2011 6:22 pm
Posts: 534
I will check it on windows :)

Tried what you did, no error :/

_________________
Current Projects:
Image Mr. Hat I
Image Vegan Vs. Zombies
Projects:
RadicalFish Engine - Build on top of Slick2D, Ideas, Bugs? Open an Issue ticket!


Top
 Profile  
 
PostPosted: Wed Jun 20, 2012 9:57 pm 
Offline
User avatar

Joined: Mon Jun 20, 2011 4:28 pm
Posts: 71
completely different Windows 7 machine now.
Same error and just as easy to do.

Other people I know comfirm to also experience this.


Top
 Profile  
 
PostPosted: Thu Jun 21, 2012 9:07 pm 
Offline
Regular

Joined: Thu Sep 22, 2011 4:39 pm
Posts: 165
Location: Belgium
true, i had the same exp, the clue is to save your work wich almost each setting you change :]


Top
 Profile  
 
PostPosted: Thu Jun 21, 2012 10:40 pm 
Offline
User avatar

Joined: Mon Jun 20, 2011 4:28 pm
Posts: 71
mortias wrote:
true, i had the same exp, the clue is to save your work wich almost each setting you change :]


that is basically what you need to do with pedigree and of course thats very bad


Top
 Profile  
 
PostPosted: Fri Jul 13, 2012 10:20 pm 
Offline
User avatar

Joined: Mon Jun 20, 2011 4:28 pm
Posts: 71
just used the absolute latest nightly and ran Pedigree

When I simply try to close it by pressing the X, it will freeze:
Quote:
Exception while removing reference: java.lang.InterruptedException
java.lang.InterruptedException
at java.lang.Object.wait(Native Method)
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
at sun.java2d.Disposer.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)


Top
 Profile  
 
PostPosted: Sun Jul 15, 2012 6:56 pm 
Offline
Slick Zombie

Joined: Sat Jan 27, 2007 7:10 pm
Posts: 1482
Still can't reproduce any problems. Are you using the nightlies, or the bitbucket development branch?

Since the devs can't reproduce you will have to do some testing yourself if you want to get to the bottom of this. None of the current devs wrote the Particle Editor tool so we aren't familiar with how it was implemented.

NateS from LibGDX has recently released a particle editor tool as a standalone library, if I remember correctly. It's probably a bit more robust than Pedigree, as Slick's particle editor is many years old and hasn't been maintained in forever. :) You should be able to find it on JavaGaming.org


Top
 Profile  
 
PostPosted: Mon Aug 06, 2012 9:47 pm 
Offline
User avatar

Joined: Mon Jun 20, 2011 4:28 pm
Posts: 71
davedes wrote:
NateS from LibGDX has recently released a particle editor tool as a standalone library, if I remember correctly. It's probably a bit more robust than Pedigree, as Slick's particle editor is many years old and hasn't been maintained in forever. :) You should be able to find it on JavaGaming.org


Oh I know the libgdx editor is beautiful. But of course it wouldnt do me any good when using Slick, right ? They have their own particle system and whatnot

We are actually considering moving to libgdx mainly because of the particle system. So if there was a way to use the libgdx particle system in Slick, it would be tremendous


Top
 Profile  
 
PostPosted: Mon Aug 06, 2012 10:40 pm 
Offline
Slick Zombie

Joined: Sat Jan 27, 2007 7:10 pm
Posts: 1482
LibGDX's tool simply saves a text file storing particle data. You could either parse it and build your particle system to be game-specific, or you could grab some of LibGDX's (open source) code and simply perform the rendering differently with Slick's Image class.

With that said, IMO Slick isn't really the best choice for a "big" or "serious" game. It's built around the deprecated fixed-function pipeline and has a number of design issues that may affect scalability. Slick is inspired by Java2D/Swing, an API which is slowly becoming obsolete as JavaFX grows. Slick's tools haven't been maintained in years, and it only survives today through minor bug fixes from the community and volunteers. Ultimately Slick is a good tool for beginners, but not necessarily the best tool for a professional or experienced developer. And with today's need for cross-platform development (mobile, browser, etc), LibGDX definitely takes the cake.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group