/Odin-Raylib-WASM-Template

A Template for using Raylib on Desktop, and WASM using Emscripten

Primary LanguageOdinThe UnlicenseUnlicense

Odin-Raylib-WASM-Template

A Template for using Raylib on Desktop, and WASM using Emscripten

Features

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

What won't work

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

Building

Windows

:: For Hot Reloading
.\build_reload.bat

:: For Releasing
.\build_release.bat

WASM

Requirements

  1. emsdk
.\build_wasm
cd wasm_build

:: Run the a local http server
python -m http.server

References