https://github.com/colbydude/2dgameengine
Learning to build a simple, 2D, game engine leveraging SDL.
https://github.com/colbydude/2dgameengine
Last synced: 7 months ago
JSON representation
Learning to build a simple, 2D, game engine leveraging SDL.
- Host: GitHub
- URL: https://github.com/colbydude/2dgameengine
- Owner: Colbydude
- Created: 2020-04-08T07:56:48.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2021-05-25T09:51:44.000Z (about 5 years ago)
- Last Synced: 2024-12-28T01:27:47.529Z (over 1 year ago)
- Language: C++
- Size: 311 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 2DGameEngine
Learning to build a simple, 2D, game engine leveraging SDL.
## Required Libraries
Libraries are managed through [vcpkg](https://vcpkg.io/en/index.html).
| Library | Tested Version |
|------------|-----------------|
| glm | 0.9.9.8 |
| sdl2 | 2.0.14 |
| sdl2-image | 2.0.5 |
| sdl2-mixer | 2.0.4 |
| sdl2-ttf | 2.0.15-3 |
## Compiling
Make sure you have [vcpkg installed and setup](https://vcpkg.io/en/getting-started.html).
**NOTE:** Currently only tested on macOS. On Windows, Visual Studio _should_ be able to automatically detect vcpkg libraries. You may need to run `vcpkg install` first.
```sh
vcpkg install
cmake -B build -S . "-DCMAKE_TOOLCHAIN_FILE="
cmake --build build
```