Put your games in a web page!

With the simpleJ applet you can put in a web page the games you create with the simpleJ devkit.

Example:

DotEater

(click on the applet after it loads to be able to play)


(click on the applet after it loads to be able to play)

More games (in spanish).

To put your game in a web page

When you finish writing your game with the simpleJ devkit, follow these steps:

  1. Select, in the simpleJdevkit menu, the option "Project->Package game for simpleJ virtual console". When you select that option it creates .cart file which contains all your project files. If your project's name is MyGame then it creates a file named MyGame.cart (the new file is created in the games directory which is in the simpleJdirectory; the simpleJ is in your home directory). That is one of the two files you must upload to the web server to place your game in a web page.
  2. Download the simpleJ applet (simplej-applet.jar). Note: this .jar isn't meant to be executed on your computer, it is the second file you must upload to the web server.
  3. Upload (MyGame.cart and simplej-applet.jar) to the web server.
  4. Finally, include this in your HTML page:
    <applet code="com.simplej.vc.applet.SimpleJApplet.class"
            archive="simplej-applet.jar,MyGame.cart"
            width="512" height="384">
    </applet>
    

    (you must change MyGame by the name of your game's project).

Note: This is version 0.2 of the applet and it isn't as fully tested as the rest of the simpleJ software (but it seems to be working).

Click here to return to the main page

SourceForge.net Logo