📄 mdc.html
字号:
<html>
<head>
<title>asteroids.html</title>
<meta name="GENERATOR" content="Mozilla/2.01Gold (Win32)">
</head>
<body>
<h1 align=center>Asternoids</h1>
<p>
<hr><applet code="aster.class" width=500 height=400><param name=wid value=500><param name=hei value=400></applet>
<hr></p>
<p>Applet name: Asternoids
<br>Applet Source: <a href="aster.java">asternoids.java
<br></a>Import(s): java.util, java.lang, java.awt, java.applet, java.net
<br>Feature(s): text, image, animation, audio, keyboard
<br>Author: <a href="mailto:sigelman@javanet.com">Ben Seigelman</a></p>
<h2>Usage Guide:</h2>
<p>Asternoid! takes two parameters: "wid" and "hei",
which are the width and height of the applet. These should be the same
as the width and height values specified in the HTML file. The game starts
when the user clicks on the applet, and is played with the following keys:</p>
<pre>_________________________________________________
| KEY | Function |
| J | Rotates the player counter-clockwise |
| L | Rotates the player clockwise |
| K | Thrust |
|<space>| Shoot |
| Z | Shield |
|_______|________________________________________|
</pre>
<p>The shield is displayed in the red bar at the top of the applet. The
key recognition is better than the recognition built into java itself.</p>
<p>an example of valid html code:
<br></p>
<pre><HTML><HEAD><TITLE>ASTERNOID!</TITLE></HEAD>
<BODY>
<APPLET CODE=aster WIDTH=400 HEIGHT=400>
<PARAM NAME=wid VALUE=400>
<PARAM NAME=hei VALUE=400>
</APPLET></pre>
<center><p>
<hr><a href="../index.html"><img src="../images/mantoid.gif" alt="Return to index." border=0 height=109 width=109></a></p></center>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -