三月,开学几周了。
新学期还是一样,
但皑皑的樱花,
还是依旧灿烂。
命运中总有失去。
No matter how good things are lost one day.
And then have forgotten the deep memory of the day.
天高淡微雲
月蟾星宿隕
破曉聞靈駒
騏驥兮驎驎
錦衾若冰綃
身骸草覆絞
凡塵水鏡花
天涯潮星寡
============================================================
A. AssaultCube
—跨平台的FPS游戏-Linux平台上的类CS游戏,
寒假无聊时候玩过,不错但是还有缺点。
AssaultCube(wiki)
是一款开源的“第一人称射击游戏 ”(First Person Shooter)
下载:http://assault.cubers.net/download.html
B. 注意【官网的提示】
1)
For installation guidance, read the getting started guide in the AssaultCube documentation. Linux users should take special note that they will need these additional libraries installed:
- SDL
- SDL_image
- zlib
- libogg
- libvorbis
- OpenAL Soft
For RedHat based systems, type this at the command line: sudo yum install SDL SDL_image zlib libogg libvorbis openal-soft For Debian based systems, type this at the command line: sudo apt-get install libsdl1.2debian-all libsdl-image1.2 zlib1g libogg0 libvorbis0a libopenal1
2)——以上主要意思是linux也许会缺少几个库。
需要安装一下:
RedHat类:sudo yum install SDL SDL_image zlib libogg libvorbis openal-soft
Debian类:sudo apt-get install libsdl1.2debian-all libsdl-image1.2 zlib1g libogg0 libvorbis0a libopenal1
3)我的操作:
- 我不想装这么多东西,搜一下SDL
apt-cache search SDL |grep lib
apt-cache search <pattern>
搜索满足 <pattern> 的包裹和描述.
2.结果太多,挑个
sudo apt-get install libsdl-image1.2
结果太多,我只装了这个包
3.不行的话就全装
sudo apt-get install libsdl1.2debian-all libsdl-image1.2 zlib1g libogg0 libvorbis0a libopenal1
C. 下载,解压,运行
linux版链接到了sourseforge下载
解压,运行 assaultcube.sh 就行了
截图:
D. MORE
https://zh.wikipedia.org/wiki/AssaultCube
https://zh.wikipedia.org/wiki/SDL
http://www.gamedev.net/topic/313047-apt-get-install-sdl-libs-on-linux/