Giter Site home page Giter Site logo

rolly-dango's Introduction

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

png2src

w4 png2src --nim top.png down.png left.png right.png

bundle

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

rolly-dango's People

Contributors

samx500 avatar willguimont avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

samx500

rolly-dango's Issues

Moveable tile

Moveable tile can be pushed by the player.
You can push one tile via regular input.
If you roll into a tile, you can push as many tile as your velocity.

Velocity display

Since the velocity of the dango is the core of the game. It should be displayed to make it obvious to the player how it works.

Implement slope physics

The dango should be able to move down slopes and gain momentum.
The dango should be able to move up slopes if and only if it has enough momentum.

Punching blocks

Send impulse message to physical
Gives a suddent bust of velocity

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.