capcom
capcom

Reputation: 3337

Processing: Exported applet not working

I made a simple game in Processing, and tried to export it as an applet. It exported the files, but when I would try to run the applet in the browser, it would just be blank and wouldn't load. The raw jar file wouldn't run on my computer either.

I will answer my own question.

Upvotes: 1

Views: 3457

Answers (2)

capcom
capcom

Reputation: 3337

Another solution to host your processing applet on your website (I had a lot of trouble with this for some reason), is to use a website called openprocessing.

It'll give you an HTML Iframe which you can very easily embed into your blog posts.

Upvotes: 0

capcom
capcom

Reputation: 3337

The solution was simple, and odd. When exporting, Processing creates an applet folder but does not include the assets needed to run the app or a changes to the paths for the required files. For example, images, audio, fonts etc.

So you need to put all the required files into the applets folder as well (or change the path definitions) manually.

Upvotes: 1

Related Questions