spaceshooter/README.md

27 lines
1.3 KiB
Markdown
Raw Permalink Normal View History

2023-04-30 20:49:25 +00:00
![logo](images/logo.png)
A space shooter based on the [lessons](https://www.youtube.com/watch?v=98hTrHen7IA&list=PL9333715188CD7669) of [Mike Geig](https://twitter.com/mikegeig). Main innovations: game menu, network game support. [Demonstration](https://www.youtube.com/watch?v=6D-t6TV8ITs) of the game.
This game is under development. Currently, the repository has been suspended since 2020.
![menu](images/menu.png)
![game](images/game.png)
## Build
2023-05-05 12:14:13 +00:00
To build, you need to download the [Allegro static](https://github.com/liballeg/allegro5/releases) libraries and [static dependencies](https://github.com/liballeg/allegro_winpkg/releases). A pre-installed static [Enet](http://enet.bespin.org/) library is required to support the network ([package for MSYS2](https://packages.msys2.org/package/mingw-w64-x86_64-enet?repo=mingw64)).
Also, an installed g++ compiler and cmake build system are required for the assembly.
The working compilation of the project was carried out in [MSYS2](https://www.msys2.org/).
2023-04-30 20:49:25 +00:00
```sh
mkdir build
cd build
2023-05-05 12:14:13 +00:00
cmake -G "Unix Makefiles" -B . -S ../game -D PATH_ALLEGRO_STATIC="C:\<path-to-allegro-static-libs>" -D PATH_DEPS_STATIC="C:\<path-to-deps-static-libs>"
2023-04-30 20:49:25 +00:00
make
```
The basic data needed to run the game is located in the [data](data/) directory.