Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1351948
  • 博文数量: 632
  • 博客积分: 2778
  • 博客等级: 大尉
  • 技术积分: 3387
  • 用 户 组: 普通用户
  • 注册时间: 2012-05-31 09:09
个人简介

123

文章分类

全部博文(632)

文章存档

2014年(36)

2013年(33)

2012年(563)

分类: LINUX

2012-10-23 08:35:42

Ubuntu 跑类CS第一人称设计游戏库(转)

转自:

Parent:

Cube is a free open-source First Person Shooter (FPS).

 

Download

You can download it from the .

 

Installation

Untar it with the following command

tar -xvvf cube_YYYY_MM_DD_unix.tar.gz

(e.g - tar xvvf cube_2005_08_29_unix.tar.gz).

 

Start Cube

First, get in to the directory which was created when you untarred Cube (by default this is called cube).

cd cube/

Now, you can start the game with the following command.

./cube_unix

If the script wont run, you may need to chmod it first.

sudo chmod a+x cube_unix

 

Configuration

You can make more changes in the configuration file autoexec.cfg, which is in the cube directory.

 

Troubleshooting

If you get the following error messages:

./linux_client: error while loading shared libraries: libSDL_image-1.2.so.0: cannot open shared object file: No such file or directory

you have to install the missing library: sudo apt-get install libsdl-image1.2

or

./linux_client: error while loading shared libraries: libSDL_mixer-1.2.so.0: cannot open shared object file: No such file or directory

you have to install the missing library: sudo apt-get install libsdl-mixer1.2

or

./linux_client: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory

you have to install the missing library: sudo apt-get install libstdc++5-3.3-dev

 

AssaultCube 是一款类 CS 游戏。类似的操作、类似的界面,但是却只有44M大小。这是一个采用 Cube引擎 的第一人称射击游戏 (FPS)。与CS相比画面更加清晰。英文不好的同学可能会有些困扰。。。
下载地址:


sudo apt-get install libvorbis-dev libvorbisenc2 libvorbisfile3 libopenal-dev libopenal1

libsdl1.2debian libsdl1.2-dev libsdl-image1.2 libsdl-image1.2-dev libgl1-mesa-dev


sudo apt-get install libjpeg62
阅读(468) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~