Skip to content

The Chrome T-rex game recreated in WebAssembly using Rust

License

Notifications You must be signed in to change notification settings

Webjosse/trex-game-but-in-wasm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The T-rex game, but in webassembly

Language: Rust License: MIT Author: Webjosse Scope: learning

Deploy demo
🚀 Test on https://dino.webjosse.fr/

How to build

You need to install

  • Rustup + Cargo
  • Wasm-pack (can be installed from Cargo)
  • NodeJS (I'm using 20.14.0)
  • npm (I'm using 10.7.0)
  • Maybe some other stuff I forgot ^^'

To build using wasm-pack: wasm-pack build

Then, go to /demo: npm ci

For dev mode: npm run serve

For production: npm run build

Dependencies

  • wasm-pack (including web-sys 0.3.70)
  • webpack

Special thanks

I asked some help to understand Rust:
@Reachip
@i5.650
@PowerPixel

About

The Chrome T-rex game recreated in WebAssembly using Rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages