Skippy is a simple browser-based game built using C, SDL2, and compiled to WebAssembly using Emscripten. Play it now in the browser!
- Emscripten: Emscripten is required to compile the game for the web.
- CMake: CMake is used for building the project.
- Python3: Python3 is required by Emscripten for various tools. If you install Emscripten via the SDK, or package managers such as Homebrew and Pacman, Python3 will be automatically installed as a dependency.
- SDL2: The game uses SDL2 for handling graphics and input. Emscripten will automatically handle this via its ports, and so
SDL2,SDL2_image,SDL2_mixer, andSDL2_ttfare only required as separate installations if you intend to build natively instead of for the web.
Install these requirements using your method of choice, e.g. on Arch Linux:
sudo pacman -S cmake emscriptenOr on macOS:
brew cmake emscriptenThe project uses CMake for building. You can use the build.sh script to compile the project with different build modes.
- Run the following to build the project:
./scripts/build.sh --debug- By default, the build type is debug. To build with optimizations, use release:
./scripts/build.sh --releaseTo run the game in a browser, use the run.sh script:
./scripts/run.shThis will serve the game in a browser window.
This project is licensed under the MIT License.
- Font: "Monogram" font by datagoblin (CC0 license)
