https://github.com/shijbey/magpie
C++ Game developed for 15-466: Computer Game Programming at Carnegie Mellon University
https://github.com/shijbey/magpie
Last synced: 2 months ago
JSON representation
C++ Game developed for 15-466: Computer Game Programming at Carnegie Mellon University
- Host: GitHub
- URL: https://github.com/shijbey/magpie
- Owner: ShiJbey
- Created: 2018-10-10T23:40:04.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-04T17:07:05.000Z (over 5 years ago)
- Last Synced: 2025-02-02T18:44:57.455Z (4 months ago)
- Language: C
- Homepage:
- Size: 116 MB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Game Information
Title: Magpie

## Runtime Build Instructions
The runtime code has been set up to be built with [FT Jam](https://www.freetype.org/jam/).
### Getting Jam
For more information on Jam, see the [Jam Documentation](https://www.perforce.com/documentation/jam-documentation) page at Perforce, which includes both reference documentation and a getting started guide.
On unixish OSs, Jam is available from your package manager:
```
brew install ftjam #on OSX
apt get ftjam #on Debian-ish Linux
```On Windows, you can get a binary [from sourceforge](https://sourceforge.net/projects/freetype/files/ftjam/2.5.2/ftjam-2.5.2-win32.zip/download),
and put it somewhere in your `%PATH%`.
(Possibly: also set the `JAM_TOOLSET` variable to `VISUALC`.)### Libraries
This code uses the [libSDL](https://www.libsdl.org/) library to create an OpenGL context, and the [glm](https://glm.g-truc.net) library for OpenGL-friendly matrix/vector types.
On MacOS and Linux, the code should work out-of-the-box if if you have these installed through your package manager.If you are compiling on Windows or don't want to install these libraries globally there are pre-built library packages available in the
[kit-libs-linux](https://github.com/ixchow/kit-libs-linux),
[kit-libs-osx](https://github.com/ixchow/kit-libs-osx),
and [kit-libs-win](https://github.com/ixchow/kit-libs-win) repositories.
Simply clone into a subfolder and the build should work.### Building
Open a terminal (or ```x64 Native Tools Command Prompt for VS 2017``` on Windows), change to the directory containing this code, and type:
```
jam
```That's it. You can use ```jam -jN``` to run ```N``` parallel jobs if you'd like; ```jam -q``` to instruct jam to quit after the first error; ```jam -dx``` to show commands being executed; or ```jam main.o``` to build a specific file (in this case, main.cpp). ```jam -h``` will print help on additional options.