Soldat goes open source

栏目: IT技术 · 发布时间: 5年前

内容简介: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 goes open 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.

  1. Install Lazarus IDE (or a standalone FreePascal Compiler if you want to use Makefiles)
  2. Download pre-built libraries and copy libraries from win64_dlls to client/build and server/build
  3. Clone base repository and run create_smod.sh from it to create a game base archive
  4. Copy soldat.smod to client/build and server/build
  5. Copy base/client/play-regular.ttf to client/build

Compilation using Lazarus IDE

server/soldatserver.lpi
client/soldat.lpi

Compilation using Makefiles

  1. Create build directory structure: mkdir -p server/build/linux; mkdir -p client/build/linux
  2. Compile server: cd server; make linux_x86_64 (on Windows: make windows_x86_64 , on MacOS: make osx_x86_64 )
  3. Compile client: cd client; make linux_x86_64
  4. Run server: server/build/soldatserver_x64
  5. Run client: client/build/soldat_x64 -join 127.0.0.1 23073

以上所述就是小编给大家介绍的《Soldat goes open source》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

JavaScript经典实例

JavaScript经典实例

Shelley Powers / 李强 / 中国电力出版社 / 2012-3 / 78.00元

《JavaScript经典实例》各节中的完整代码解决了常见的编程问题,并且给出了在任何浏览器中构建Web应用程序的技术。只需要将这些代码示例复制并粘贴到你自己的项目中就行了,可以快速完成工作,并且在此过程中学习JavaScript的很多知识。你还将学习如何利用ECMAScript5和HTML5中的最新功能,包括新的跨域挂件通信技术、HTML5的video和audio元素,以及绘制画布。《JavaS......一起来看看 《JavaScript经典实例》 这本书的介绍吧!

在线进制转换器
在线进制转换器

各进制数互转换器

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具