Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

willGuimont/rolly-dango

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

266 Commits
266 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rolly Dango

Rolly Dango, an isometric rolling puzzle made with WASM-4 by @samX500 and @willGuimont.

Try the game here or on itch.io!

rolly dango

Here's some key points of our project:

  • We made our own ECS (entity-component-systems) from scratch
  • To save cartridge space, we built our own Huffman coding algorithm
  • To help ourselves make levels, we built our own level editor using p5.js
  • Made all of our sprites using Aseprite

Our level editor: level editor

Dependencies

You'll need a nightly version of Nim because we need the -d:nimNoQuit from this pull request. To do so, install the latest nightly with:

choosenim devel --latest

Optionally, you can install binaryen to optimize further the binary size.

Build cartridge

# Debug mode
nimble dbg
# Release mode
nimble rel

Run the tests

nimble test

Deploy to GitHub-Pages

./deploy.sh

Running the cartridge

# Run compiled cartridge in your web browser
w4 run build/cart.wasm
# Run with hot reloading
w4 watch
# Run natively
w4 run-native build/cart.wasm

Useful tools

w4 png2src --nim top.png down.png left.png right.png
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

Releases

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.