o
odinpkg.dev
packages / library / Raylib-WASM

Raylib-WASM

94d6935library archived

A Template for making Odin, Raylib, and WASM (Emscripten) projects

No license · updated 1 year ago

Raylib WASM

A Template for making Odin, Raylib, and WASM (Emscripten) projects

Warning

This repository is now archived, Karl Zylinksi makes a better version of the template you can find it here: https://github.com/karl-zylinski/odin-raylib-web

Features

  • Works well in Windows (It probably also works for the other desktop platforms but I didn't test it)
  • Logging on WASM Works!

What won't work

  • Most of Core Libraries (fmt, os, time, etc.)

Building

Windows

.\build.bat

WASM

Requirements

  1. emsdk

Note

In build_web.bat, you need to modify the path to where your emsdk_env.bat is located

.\build_web.bat

:: For running
cd build_web
python -m http.server

Examples

References