⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 228-230.html

📁 java game programming e-book
💻 HTML
字号:
<HTML>
<HEAD>
<META name=vsisbn content="1571690433"><META name=vstitle content="Black Art of Java Game Programming"><META name=vsauthor content="Joel Fan"><META name=vsimprint content="Sams"><META name=vspublisher content="Macmillan Computer Publishing"><META name=vspubdate content="11/01/96"><META name=vscategory content="Web and Software Development: Programming, Scripting, and Markup Languages: Java"><TITLE>Black Art of Java Game Programming:Extending Your Video Game</TITLE>
<!-- HEADER --><STYLE type="text/css">  <!-- A:hover  { 	color : Red; } --></STYLE><META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW"><script><!--function displayWindow(url, width, height) {         var Win = window.open(url,"displayWindow",'width=' + width +',height=' + height + ',resizable=1,scrollbars=yes');	if (Win) {		Win.focus();	}}//--></script><SCRIPT><!--function popUp(url) {        var Win = window.open(url,"displayWindow",'width=400,height=300,resizable=1,scrollbars=yes');	if (Win) {		Win.focus();	}}//--></SCRIPT><script language="JavaScript1.2"><!--function checkForQuery(fm) {  /* get the query value */  var i = escape(fm.query.value);  if (i == "") {      alert('Please enter a search word or phrase');      return false;  }                  /* query is blank, dont run the .jsp file */  else return true;  /* execute the .jsp file */}//--></script></HEAD><BODY> 
<TABLE border=0 cellspacing=0 cellpadding=0>
<tr>
<td width=75 valign=top>
<img src="../1571690433.gif" width=60 height=73 alt="Black Art of Java Game Programming" border="1">
</td>
<td align="left">
    <font face="arial, helvetica" size="-1" color="#336633"><b>Black Art of Java Game Programming</b></font>
    <br>
    <font face="arial, helvetica" size="-1"><i>by Joel Fan</i>
    <br>
    Sams,&nbsp;Macmillan Computer Publishing
    <br>
    <b>ISBN:</b>&nbsp;1571690433<b>&nbsp;&nbsp;&nbsp;Pub Date:</b>&nbsp;11/01/96</font>&nbsp;&nbsp;
</td>
</tr>
</table>
<P>

<!--ISBN=1571690433//-->
<!--TITLE=Black Art of Java Game Programming//-->
<!--AUTHOR=Joel Fan//-->
<!--AUTHOR=Eric Ries//-->
<!--AUTHOR=Calin Tenitchi//-->
<!--PUBLISHER=Macmillan Computer Publishing//-->
<!--IMPRINT=Sams//-->
<!--CHAPTER=6//-->
<!--PAGES=228-230//-->
<!--UNASSIGNED1//-->
<!--UNASSIGNED2//-->

<CENTER>
<TABLE BORDER>
<TR>
<TD><A HREF="223-228.html">Previous</A></TD>
<TD><A HREF="../ewtoc.html">Table of Contents</A></TD>
<TD><A HREF="../ch07/231-238.html">Next</A></TD>
</TR>
</TABLE>
</CENTER>
<P><BR></P>
<H3><A NAME="Heading10"></A><FONT COLOR="#000077">Suggestion Box</FONT></H3>
<P>There are probably a million ways you can extend and improve this game. Here are just a few ideas:
</P>
<DL>
<DD><B>&#149;</B>&nbsp;&nbsp;Add a pause feature, so that if people are playing your game at work, they can pause it and hide the window while their boss walks by.
<DD><B>&#149;</B>&nbsp;&nbsp;Create aliens with different powers and behaviors. Perhaps the different aliens can appear at later stages of the game.
<DD><B>&#149;</B>&nbsp;&nbsp;Allow the player to earn extra ships, or energy, if the score is high enough.
<DD><B>&#149;</B>&nbsp;&nbsp;Give the player new powers as the game grows more difficult, such as super missiles or a shield.
<DD><B>&#149;</B>&nbsp;&nbsp;Give the player the option of controlling the missile launcher from the keyboard.
<DD><B>&#149;</B>&nbsp;&nbsp;Add more sounds. Right now, the only sound is an explosion that plays when a UFO blows up. You might add sounds for firing missiles, alien landings, and music when the game is over.
<DD><B>&#149;</B>&nbsp;&nbsp;Create a completely new video game. Alien Landing provides code that you can emulate and reuse, so you can develop a new game pretty fast!
</DL>
<H3><A NAME="Heading11"></A><FONT COLOR="#000077">Summary</FONT></H3>
<P>Well, you&#146;ve finished writing your first Java video game! The key thing to remember about the game development process is that once a good basic design is in place, new features and extensions can be added, piece by piece. (Of course, this development process applies to all types of applications as well.)
</P>
<P>In the next chapter, you&#146;ll learn how Java&#146;s AWT can enable the player to customize your games.</P><P><BR></P>
<CENTER>
<TABLE BORDER>
<TR>
<TD><A HREF="223-228.html">Previous</A></TD>
<TD><A HREF="../ewtoc.html">Table of Contents</A></TD>
<TD><A HREF="../ch07/231-238.html">Next</A></TD>
</TR>
</TABLE>
</CENTER>


</BODY>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -