aboutsummaryrefslogtreecommitdiff
# Untitled Game This is an in-development 2D platformer. It currently supports these platforms: - Windows - Linux - Chrome and Firefox ([playable here][3]) Inspired by [Handmade Hero][4] and similar projects, I'm taking a handmade approach to programming this game. ## Controls - Move: Arrow keys - Jump: S ## Compiling ### Compile on Linux - Install clang and glfw3 with your system's package manager. - `make run` to compile and run the release build. ### Compile on Windows - Install and set up clang. The sanest set of instructions I've found is [here][1]. - Download the latest 64-bit Windows pre-compiled binary package from [here][2]. - Unzip it and copy the `include` and `lib-vc2019` folders into `lib/glfw_windows/`. The folder structure should look like this: ``` lib/glfw_windows/ |-- include | +-- GLFW | |-- glfw3.h | +-- glfw3native.h +-- lib-vc2019 |-- glfw3.dll |-- glfw3dll.lib +-- glfw3.lib ``` - `.\build.bat && .\out\release\a-game.exe` to compile and run the release build. [1]: https://gist.github.com/InNoHurryToCode/955d63db0d79699fed63fe18eeebf17e [2]: https://www.glfw.org/download.html [3]: https://www.amin.space/bin/a_game/ [4]: https://handmadehero.org/