内容简介:Soldat is a unique 2D (side-view) multiplayer action game. It has been influenced by the best of games such as Liero, Worms, Quake, Counter-Strike, and provides a fast-paced gaming experience with tons of blood and flesh.This repository contains the source
Soldat
Soldat is a unique 2D (side-view) multiplayer action game. It has been influenced by the best of games such as Liero, Worms, Quake, Counter-Strike, and provides a fast-paced gaming experience with tons of blood and flesh.
This repository contains the source code of the so-called 1.8 version. Compared to the original version, the code has undergone many changes but is not in a finished state. We hope that by open-sourcing Soldat we can empower our community to improve the game at a faster pace.
Dependencies
- FreePascal 3.0.4
- SDL 2.0.12
- OpenAL
- FreeType 2.6.1
- PhysFS 3.0.2
- GameNetworkingSockets
Building Soldat
Soldat compiles on Windows, Linux and macOS.
- Install Lazarus IDE (or a standalone FreePascal Compiler if you want to use Makefiles)
- Download pre-built libraries and copy libraries from
win64_dllstoclient/buildandserver/build - Clone base repository and run
create_smod.shfrom it to create a game base archive - Copy
soldat.smodtoclient/buildandserver/build - Copy
base/client/play-regular.ttftoclient/build
Compilation using Lazarus IDE
server/soldatserver.lpi client/soldat.lpi
Compilation using Makefiles
- Create build directory structure:
mkdir -p server/build/linux; mkdir -p client/build/linux - Compile server:
cd server; make linux_x86_64(on Windows:make windows_x86_64, on MacOS:make osx_x86_64) - Compile client:
cd client; make linux_x86_64 - Run server:
server/build/soldatserver_x64 - Run client:
client/build/soldat_x64 -join 127.0.0.1 23073
以上所述就是小编给大家介绍的《Soldat goes open source》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!
猜你喜欢:本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
C++面向对象程序设计
萨维奇 (Walter Savitch) / 周靖 / 清华大学出版社 / 2003-12 / 59.0
《C++面向对象程序设计》具备良好的编排体系,适合打算涉足编程领域的读者阅读,尤其适合大一学生。它最大的特色是Savitch教授最受欢迎的写作风格,这一风格非常适合初学者,能迅速引导他们开始编程实践。《C++面向对象程序设计》包括全面的习题、项目、编程提示、编程示例、编程陷阱以及有用的小结,以帮助初学者更清楚地了解C++。一起来看看 《C++面向对象程序设计》 这本书的介绍吧!