Slick Forums

Discuss the Slick 2D Library
It is currently Wed Jun 19, 2013 6:54 am

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Tue Feb 22, 2011 10:53 am 
Offline

Joined: Sun Oct 17, 2010 3:28 pm
Posts: 7
Solved.

Everything's working fine now, the Java webstart as well as the tilemap, just need to properly refer to the image file inside the .jar (silly me)

Thanks once again for the help. :) I really do appreciate it


Last edited by JellyAce on Thu Feb 24, 2011 4:03 am, edited 2 times in total.

Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 22, 2011 11:53 am 
Offline
Slick Zombie

Joined: Fri Jan 29, 2010 7:02 pm
Posts: 1188
Don't load resources using FileInputStream - load them via Class.getResource() or Class.getResourceAsStream().

_________________
TWL - The Themable Widget Library


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 22, 2011 12:21 pm 
Offline
Game Developer

Joined: Sun Nov 12, 2006 11:18 pm
Posts: 890
Location: Germany
And don't forget to add your resources (images, tiled maps, sounds, etc) to your applet jar file.

_________________
Right Angle Games | Marte Engine
Back to the past | Star Cleaner | SpiderTrap


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 22, 2011 12:38 pm 
Offline

Joined: Sun Oct 17, 2010 3:28 pm
Posts: 7
Edit*

Solved! Everything's working fine now :D


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

All times are UTC


Who is online

Users browsing this forum: Bing [Bot] and 2 guests


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