o
odin.langpkg.dev
packages / app / odin-example-game

odin-example-game

66fc067app

No description provided.

No license · updated 1 year ago

Odin + Raylib Web Game Example

Example of a simple platform game made using Odin and Raylib, that can run on the web.

Requirements

Getting started

  1. The first variable in build_web.sh must be changed to be the path to your local emsdk directory.
  2. Run ./run_tests.sh and ensure all tests are passing
  3. Run ./build_web.sh to create the web output in ./build/web/
  4. To play the game, have an http-server serve up the ./build/web/ directory. If you have node you can do npx http-server ./build/web

Credits

Assets used are free public-domain assets from Kenney. The assets being public domain allows me to commit these files to source control for easy open source distribution. Please consider donating to Kenney to support his work.

This game uses the template from karl-zylinski found here which includes work from Caedo and Aronicu