Skip to content
This repository has been archived by the owner on Sep 29, 2023. It is now read-only.

coderedart/rust-sdl2-wasm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Archived

There's already a similar (and simpler) project at https://github.com/coderedart/luaegui where i show glfw + egui + mlua (Luau) combination.

Rust + SDL2 + WASM + mlua example

proof of concept that you can use rust + sdl2 + mlua on browser wasm together to enable scripting for rust based apps/games on browser.

live version deployed at https://coderedart.github.io/rust-sdl2-wasm/

Instructions

  1. run these in shell (linux only)
./serve.sh
  1. go to browser http://127.0.0.1:8000/

For native, just use cargo run --target=x86_64-unknown-linux-gnu as usual for linux.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 80.1%
  • Shell 10.9%
  • HTML 9.0%