Skip to content
This repository was archived by the owner on Jan 27, 2025. It is now read-only.

Latest commit

 

History

History
45 lines (33 loc) · 1.38 KB

README.md

File metadata and controls

45 lines (33 loc) · 1.38 KB

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