Slick Forums
http://slick.ninjacave.com/forum/

[BUG] Pedigree crashes very easily
http://slick.ninjacave.com/forum/viewtopic.php?f=1&t=5106
Page 1 of 1

Author:  ArtificialZero [ Fri Jun 15, 2012 9:43 pm ]
Post subject:  [BUG] Pedigree crashes very easily

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.

Author:  davedes [ Fri Jun 15, 2012 10:43 pm ]
Post subject:  Re: [BUG] Pedigree crashes very easily

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).

Author:  ArtificialZero [ Wed Jun 20, 2012 1:53 am ]
Post subject:  Re: [BUG] Pedigree crashes very easily

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.

Author:  R.D. [ Wed Jun 20, 2012 10:59 am ]
Post subject:  Re: [BUG] Pedigree crashes very easily

I will check it on windows :)

Tried what you did, no error :/

Author:  ArtificialZero [ Wed Jun 20, 2012 9:57 pm ]
Post subject:  Re: [BUG] Pedigree crashes very easily

completely different Windows 7 machine now.
Same error and just as easy to do.

Other people I know comfirm to also experience this.

Author:  mortias [ Thu Jun 21, 2012 9:07 pm ]
Post subject:  Re: [BUG] Pedigree crashes very easily

true, i had the same exp, the clue is to save your work wich almost each setting you change :]

Author:  ArtificialZero [ Thu Jun 21, 2012 10:40 pm ]
Post subject:  Re: [BUG] Pedigree crashes very easily

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

Author:  ArtificialZero [ Fri Jul 13, 2012 10:20 pm ]
Post subject:  Re: [BUG] Pedigree crashes very easily

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)

Author:  davedes [ Sun Jul 15, 2012 6:56 pm ]
Post subject:  Re: [BUG] Pedigree crashes very easily

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

Author:  ArtificialZero [ Mon Aug 06, 2012 9:47 pm ]
Post subject:  Re: [BUG] Pedigree crashes very easily

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

Author:  davedes [ Mon Aug 06, 2012 10:40 pm ]
Post subject:  Re: [BUG] Pedigree crashes very easily

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.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/