Tutorial:PostingGame:OptionalParameters

From FANG

Jump to: navigation, search

You can enter in a number of optional parameters into the applet tag:

  • height="430"
    You can replace 430 with any number of pixels.
  • width="400"
    You can replace 400 with any number of pixels.
  • players="2"
    You can replace 2 with any positive integer.
  • players-selectable="true"You can replace true with false.

An example of the code for a small two-player wackadot is

<applet archive="wackadot.jar" code="wackadot/NetworkedWackadot.class" height="215" width="200" players="2" players-selectable="false"/>





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