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:
- Select, in the simpleJdevkit menu, the option "
Project->Package game for simpleJ virtual console". When you select that option it creates.cartfile which contains all your project files. If your project's name isMyGamethen it creates a file namedMyGame.cart(the new file is created in thegamesdirectory which is in thesimpleJdirectory; thesimpleJis 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. - 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.
- Upload (
MyGame.cartandsimplej-applet.jar) to the web server. - 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
MyGameby 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).
