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

📄 0289-0290.html

📁 linux-unix130.linux.and.unix.ebooks130 linux and unix ebookslinuxLearning Linux - Collection of 12 E
💻 HTML
字号:






<HTML>

<HEAD>

<TITLE>Developer.com - Online Reference Library - 0672311623:SAMS TEACH YOURSELF LINUX IN 24 HOURS:Playing Linux Games</TITLE>

<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');
}
//-->
</SCRIPT>
</HEAD>

 -->




<!-- ISBN=0672311623 //-->

<!-- TITLE=SAMS TEACH YOURSELF LINUX IN 24 HOURS //-->

<!-- AUTHOR=BILL BALL, STEPHEN SMOOGEN //-->

<!-- PUBLISHER=MACMILLAN //-->

<!-- IMPRINT=SAMS //-->

<!-- PUBLICATION DATE=1998 //-->

<!-- CHAPTER=19 //-->

<!-- PAGES=0281-0290 //-->

<!-- UNASSIGNED1 //-->

<!-- UNASSIGNED2 //-->







<P><CENTER>

<a href="0285-0288.html">Previous</A> | <a href="../ewtoc.html">Table of Contents</A> | <a href="../ch20/0291-0295.html">Next</A>

</CENTER></P>



<A NAME="PAGENUM-289"><P>Page 289</P></A>







<P>To start playing, press your spacebar. Use the right and left cursor keys to move your

ship across the screen, and your spacebar to fire. For more information, see the README

file under the /usr/doc/xgalaga directory.

</P>



<H4><A NAME="ch19_ 12">

Breakout the Fun with the X11 Client Xboing

</A></H4>



<P>Xboing, by Justin C. Kibell, is a fast-paced, arcade-quality paddle and ball game for the

X Window System. This game sports great graphics and sound, and provides hours of

fun. You can start the xboing program from the command line of a terminal window. You'll

need a display of at least 1024&#165;768 pixels to play.

</P>



<P>By default, xboing does not use sound, so if you want to hear sounds when you play,

you must use the -sound command-line option. Set the speed of the ball's action after playing

a game to fine-tune xboing's challenge by using the

-speed option.

</P>



<!-- CODE SNIP //-->

<PRE>

# xboing -sound -speed 7

</PRE>

<!-- END CODE SNIP //-->



<P>This command line starts xboing with sound enabled, and a very fast ball speed.

Another good option to use is -grab, which keeps your cursor within xboing's X11

window, preventing you from accidentally activating other windows and missing any action.

For more details about playing this game, see the xboing manual page.

</P>



<H4><A NAME="ch19_ 13">

Playing DOOM for X Window

</A></H4>



<P>DOOM, by id Software, is one of the most popular arcade games to hit the

personal computer scene in recent years. You'll find a copy on this book's CD-ROM, and you

can play DOOM from the console or from an X11 terminal window.

</P>



<P>If you start DOOM from the command line as a regular user, you may

experience permission errors. If so, use the su command to start the game as the root operator:

</P>



<!-- CODE SNIP //-->

<PRE>

# su -c &quot;rundoom&quot;

</PRE>

<!-- END CODE SNIP //-->



<P>You'll be asked if your computer can support sound. Type a

y or n, then press the Enter key to start the game. If you start DOOM from an X11 terminal window, the game

starts in a small, floating window. Some documentation for running DOOM may be found

under the /usr/doc/doom directory.

</P>

<A NAME="PAGENUM-290"><P>Page 290</P></A>







<P><CENTER>

<a href="0285-0288.html">Previous</A> | <a href="../ewtoc.html">Table of Contents</A> | <a href="../ch20/0291-0295.html">Next</A>

</CENTER></P>











</td>
</tr>
</table>

<!-- begin footer information -->









</body></html>

⌨️ 快捷键说明

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