Slick Forums

Discuss the Slick 2D Library
It is currently Fri May 24, 2013 10:48 pm

All times are UTC




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Demo don't start
PostPosted: Mon Sep 10, 2012 8:37 pm 
Offline
User avatar

Joined: Thu Jun 14, 2012 12:33 am
Posts: 17
Hello!

I tried to start demo "SpiceShip Warrior", but I got an exсeption:

Code:
Exception in thread "LWJGL Application" com.badlogic.gdx.utils.GdxRuntimeException: File not found: textures\pack (Internal)
   at com.badlogic.gdx.files.FileHandle.read(FileHandle.java:133)
   at com.badlogic.gdx.graphics.g2d.TextureAtlas$TextureAtlasData.<init>(TextureAtlas.java:100)
   at com.badlogic.gdx.graphics.g2d.TextureAtlas.<init>(TextureAtlas.java:216)
   at com.badlogic.gdx.graphics.g2d.TextureAtlas.<init>(TextureAtlas.java:211)
   at com.gamadu.spaceshipwarrior.systems.SpriteRenderSystem.initialize(SpriteRenderSystem.java:54)
   at com.artemis.World.initialize(World.java:70)
   at com.gamadu.spaceshipwarrior.GameScreen.<init>(GameScreen.java:55)
   at com.gamadu.spaceshipwarrior.SpaceshipWarrior.create(SpaceshipWarrior.java:14)
   at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:144)
   at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:131)
Disconnected from the target VM, address: '127.0.0.1:52479', transport: 'socket'
AL lib: ReleaseALC: 1 device not closed


Thank you for help!


Top
 Profile  
 
 Post subject: Re: Demo don't start
PostPosted: Mon Sep 10, 2012 11:47 pm 
Offline
Game Developer
User avatar

Joined: Tue Nov 21, 2006 4:46 am
Posts: 619
Location: Iceland
Strange.

I did fix another issue regarding lwjgl natives, maybe it works now.


Top
 Profile  
 
 Post subject: Re: Demo don't start
PostPosted: Wed Sep 12, 2012 10:29 pm 
Offline
User avatar

Joined: Thu Jun 14, 2012 12:33 am
Posts: 17
appel wrote:
Strange.

I did fix another issue regarding lwjgl natives, maybe it works now.


WebStart works now.

With source is the same. The same exception.
It should be set up?
-Djava.library.path?

P.S.:

The exception occurs when this method is called:
Quote:
world.initialize();


Top
 Profile  
 
 Post subject: Re: Demo don't start
PostPosted: Thu Sep 13, 2012 12:08 am 
Offline
Game Developer
User avatar

Joined: Tue Nov 21, 2006 4:46 am
Posts: 619
Location: Iceland
You need to add the jars to the project in your ide.


Top
 Profile  
 
 Post subject: Re: Demo don't start
PostPosted: Thu Sep 13, 2012 5:10 pm 
Offline
User avatar

Joined: Thu Jun 14, 2012 12:33 am
Posts: 17
appel wrote:
You need to add the jars to the project in your ide.

I'm sorry, but I added all jars to the project (again), I got the exсeption, again. -_-

My ide - Intellij IDEA 11.

Configure the project (13.8 mb)
http://minus.com/mDgGjQNvy


Top
 Profile  
 
 Post subject: Re: Demo don't start
PostPosted: Thu Sep 13, 2012 7:57 pm 
Offline
Game Developer
User avatar

Joined: Tue Nov 21, 2006 4:46 am
Posts: 619
Location: Iceland
Oh, and you need to add "resources" folder to your classpath.


Top
 Profile  
 
 Post subject: Re: Demo don't start
PostPosted: Fri Sep 14, 2012 4:44 pm 
Offline
User avatar

Joined: Thu Jun 14, 2012 12:33 am
Posts: 17
appel wrote:
Oh, and you need to add "resources" folder to your classpath.

Thank you!
Now it's work.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 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:  
Powered by phpBB® Forum Software © phpBB Group