https://github.com/willguimont/dashy-dango
Play it here: https://willguimont.github.io/dashy-dango/
https://github.com/willguimont/dashy-dango
Last synced: 10 months ago
JSON representation
Play it here: https://willguimont.github.io/dashy-dango/
- Host: GitHub
- URL: https://github.com/willguimont/dashy-dango
- Owner: willGuimont
- Created: 2022-07-19T03:26:52.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-08-21T01:23:12.000Z (almost 4 years ago)
- Last Synced: 2025-04-05T03:02:42.306Z (over 1 year ago)
- Language: Rust
- Homepage: https://willguimont.github.io/dashy-dango/
- Size: 988 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dashy-dango
Dashy Dango a wave fighting game made with [WASM-4](https://wasm4.org/) by [@samX500](https://github.com/samX500) and [@willGuimont](https://github.com/willGuimont).


## Build the cartridge
```bash
cargo build --release
```
## Run the cartridge
```bash
w4 run target/wasm32-unknown-unknown/release/cart.wasm
# or
w4 watch target/wasm32-unknown-unknown/release/cart.wasm
```
## Minify cartridge
Requirements:
- [wasm-opt](https://github.com/WebAssembly/binaryen) <= 97
- [wasm-snip](https://github.com/rustwasm/wasm-snip)
```bash
cargo build --release
./optimize_cart.sh
```
### [bundle](https://wasm4.org/docs/reference/cli#bundle)
```bash
w4 bundle --html build/html/index.html --title Dango --description "Rolling puzzle game" --icon-file "assets/sprites/dangoBeeg.png" build/cart.wasm
w4 bundle --linux dango carts/cart.wasm
```
## Deploy to GitHub-Pages
```bash
./deploy.sh
```
## Useful tools
### [png2src](https://wasm4.org/docs/reference/cli#png2src)
```bash
w4 png2src --rust top.png down.png left.png right.png
```