3 Replies - 545 Views - Last Post: 16 December 2012 - 03:26 PM Rate Topic: -----

#1 novakasss  Icon User is offline

  • D.I.C Regular

Reputation: 4
  • View blog
  • Posts: 352
  • Joined: 11-July 12

Slick 2D and Applet

Posted 16 December 2012 - 11:51 AM

I want to add my 2D game, created with Slick 2d game engine, to the browser. I found this topic:
http://ninjacave.com/slickapplet
But I get an error, when I'm trying to run my app on the browser. I think that I'm making some mistakes. First of all. I need to extend JApplet class? Because It looks impossible, because my main class now extends StateBasedGame class. Do my all jar files need to be in the same directory?

I know, that I should ask this in slick 2d forum, but it is very inactive, so I don't think that I can find help there. So?

Here is my error message, I get it, when pressed on "Error" button and then "Details"

load: class org.lwjgl.util.applet.AppletLoader not found.
java.lang.ClassNotFoundException: org.lwjgl.util.applet.AppletLoader
	at sun.applet.AppletClassLoader.findClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at sun.applet.AppletClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at sun.applet.AppletClassLoader.loadCode(Unknown Source)
	at sun.applet.AppletPanel.createApplet(Unknown Source)
	at sun.plugin.AppletViewer.createApplet(Unknown Source)
	at sun.applet.AppletPanel.runLoader(Unknown Source)
	at sun.applet.AppletPanel.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)



Is This A Good Question/Topic? 0
  • +

Replies To: Slick 2D and Applet

#2 anonymous26  Icon User is offline

  • D.I.C Lover

Reputation: 0
  • View blog
  • Posts: 3,638
  • Joined: 26-November 10

Re: Slick 2D and Applet

Posted 16 December 2012 - 12:46 PM

When you find there is little to no support for an 'engine' that you are using, you fund an alternative. :)
Was This Post Helpful? 0
  • +
  • -

#3 novakasss  Icon User is offline

  • D.I.C Regular

Reputation: 4
  • View blog
  • Posts: 352
  • Joined: 11-July 12

Re: Slick 2D and Applet

Posted 16 December 2012 - 02:03 PM

View PostButchDean, on 16 December 2012 - 12:46 PM, said:

When you find there is little to no support for an 'engine' that you are using, you fund an alternative. :)/>

So what should I do? Use another game engine?
Was This Post Helpful? 0
  • +
  • -

#4 anonymous26  Icon User is offline

  • D.I.C Lover

Reputation: 0
  • View blog
  • Posts: 3,638
  • Joined: 26-November 10

Re: Slick 2D and Applet

Posted 16 December 2012 - 03:26 PM

Yup. I meant 'find' instead of 'fund', btw. My bad. :)
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1