aboutsummaryrefslogtreecommitdiff

Untitled Game

This is an in-development 2D platformer.

It currently supports these platforms:

Inspired by Handmade Hero and similar projects, I’m programming the game largely from scratch.

Controls

  • Move: Arrow keys
  • Jump: S

Cloning

A git submodule is currently used to store the versioned game assets.

git clone --recurse-submodules https://git.amin.space/a-game/

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.
  • Download the latest 64-bit Windows pre-compiled binary package from here.
  • 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.