Tutorial:PostingGame

From FANG

Jump to: navigation, search

Using JavaWIDE

The process is automatic. Every game you create is automatically posted every time you save the game.

Using Eclipse

Follow these simple steps to post your game on this wiki.

  1. Make a jar file of your game.
  2. When editing the wiki page, click on the green apple icon File:greenApple.png to insert the following code into your page:
    <applet code="yourpackage/YourGame.class" archive="yourarchive.jar" width="400" height="430" players="1" players-selectable="false" />
    You need to replace yourarchive.jar with the actual name of your jar file and yourpackage/YourGame.class with the actual name of your class that extends GameLoop
    Click here to see the optional parameters you can also enter into the applet tag.
  3. Save the wiki page.
  4. Click on the link to upload the jar file.
  5. Browse to find and upload the jar file.
  6. Check the wiki page you just edited to make sure the game works.




Views
Personal tools
Add to 
del.icio.usAdd to 
diggAdd to 
FacebookAdd to 
favoritesAdd to 
GoogleAdd to 
MySpaceAdd to 
PrintAdd to 
SlashdotAdd to 
StumbleUponAdd to 
Twitter

Games
Games