Retro Dash is a 2D side scroller created for the #64Brew Game Jam. Clear all obstacles in your way by executing precise jumps combined with your ability to change size on demand. The difficulty can be adjusted by changing the player's speed in the settings menu.
Click here to try the game in your browser.
You will need to have nodejs and docker installed.
- Ensure you have built the
mksprite
tool from the libdragon repo. It is loacted in thetools/mksprite
directory. - From the root of the repo run
npm install
to install the libdragon docker container. - Run
npx libdragon start
to start the docker container. - Run
node tools/prepare_n64_assets.js /path/to/libdragon/tools/mksprite/mksprite
to prepare the game assets. - Run
npx libdragon make clean
to clear previous build artifacts. - Run
npx libdragon make
to build the ROM file.
cen64 can easily be built from source on linux and MacOS with cmake.
On macOS you will need to install and run the emulator using the xquartz terminal. You can run brew cask install xquartz
to easily install it.
- Clone cen64 from github.
- Create a build directory:
cd cen64 && mkdir build && cd build
- Build the emulator:
cmake .. && make
In order to run the emulator you will need to get access to a pifdata.bin
BIOS file.
Test the game by invoking the emulator from a terminal window:
./cen64 -multithread /path/to/pifdata.bin /path/to/RetroDash.z64
You will need to have cmake, nodejs, and sdl installed.
MacOS: brew install sdl2 sdl2_image sdl2_ttf sdl2_mixer
Ubuntu Linux: sudo apt-get -y install libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev
Windows: cd build && conan install .. --build=sdl2_mixer
node tools/prepare_sdl_assets.js
mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
Build the HTML / JS / WebAssembly using the emsdk docker container:
node tools/prepare_emscripten_assets.js
docker run --rm -v $(pwd):/src -u $(id -u):$(id -g) emscripten/emsdk /bin/bash -c "cd build-emscripten; emcmake cmake ..; make"
Start web server: npx http-server
Play the game in the browser: http://localhost:8080/build-emscripten/RetroDash.html