Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kyranet/drakhtar
C++ Videogame made on top of SDL2
https://github.com/kyranet/drakhtar
cpp sdl2 strategy strategy-game video-game
Last synced: 14 days ago
JSON representation
C++ Videogame made on top of SDL2
- Host: GitHub
- URL: https://github.com/kyranet/drakhtar
- Owner: kyranet
- License: other
- Created: 2019-02-04T16:26:01.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2021-06-06T18:48:50.000Z (over 3 years ago)
- Last Synced: 2024-10-04T19:13:18.665Z (about 1 month ago)
- Topics: cpp, sdl2, strategy, strategy-game, video-game
- Language: C++
- Homepage: https://drakhtar.netlify.com
- Size: 116 MB
- Stars: 6
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Drakhtar
A game built on top of SDL2.
---
## Build Pre-requisites
### Windows
#### Automatic
Double click on the [`windows-setup.cmd`] and the [`windows-build.cmd`] files accordingly. That's all!
> **Note**: You must download [Microsoft PowerShell](https://github.com/PowerShell/PowerShell) to run the scripts, the
built-in Windows PowerShell does not work as it lacks of features needed for them to work.#### Manual
Please download the suitable dependencies for
[SDL2](https://www.libsdl.org/download-2.0.php),
[SDL2_ttf](https://www.libsdl.org/projects/SDL_ttf/),
[SDL2_image](https://www.libsdl.org/projects/SDL_image/), and
[SDL2_mixer](https://www.libsdl.org/projects/SDL_mixer/).This project supports a local dependency link, download the development dependencies and unzip them inside a `deps`
folder at the root of this project, this will allow the project to link and build the project successfully.Additionally, you must remove the `zlib1.dll` from both binary directories of `SDL2_ttf`, they're older than `SDL2_image`'s
and cause runtime errors when loading images, as `inflateValidate` does not exist in that version.### Debian/Ubuntu
```
$ apt-get install cmake libsdl2-dev libsdl2-ttf-dev libsdl2-image-dev libsdl2-mixer-dev
```### FreeBSD
```shell
$ pkg install cmake libsdl2-dev libsdl2-ttf-dev libsdl2-image-dev libsdl2-mixer-dev
```### OS X
```shell
$ brew install cmake sdl2 sdl2-ttf sdl2-image sdl2-mixer
```[`windows-setup.cmd`]: https://github.com/kyranet/drakhtar/blob/main/scripts/windows-setup.cmd
[`windows-build.cmd`]: https://github.com/kyranet/drakhtar/blob/main/scripts/windows-build.cmd