Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 2.31 KB

readme.md

File metadata and controls

40 lines (26 loc) · 2.31 KB

Canabalt

A HaxeFlixel port of CANABALT, by Adam 'Atomic' Saltsman, ported by Cameron 'ninjamuffin99' Taylor

image

This is a port of classic flash game CANABALT, which was ported into HaxeFlixel (the descendant of Flixel, which was used in the original game). Now supports various cross platform goodness (HTML5, Windows, Mac, Linux), the Newgrounds API (via Newgrounds.io) for leaderboards, and touch + gamepad support!

You can play the game on:

Compiling

  1. Make sure when you clone, you clone the submodules to get the assets repo:
    • git clone --recurse-submodules https://github.com/ninjamuffin99/canabalt-hf.git
    • If you accidentally cloned without the assets submodule (aka didn't follow the step above), you can run git submodule update --init --recursive to get the assets in a foolproof way.
  2. Install Haxe from Haxe.org, using 4.3.3 as of writing!
  3. Install hmm (run haxelib --global install hmm and then haxelib --global run hmm setup)
  4. Install haxelibs by running hmm install
  5. Compile via lime test PLATFORM, mac, linux, windows, html5 and probably even hl

How close to the original source is this 🤔

The haxe code is as close to the original source code as it could get, with minor tweaks for modern "flixel", crossplatform controls support, and small bug fixes. If you look through the code, what you will look at is very close to what Adam Saltsman wrote for the original Actionscript 3 release of Canabalt, hopefully resulting in 1:1 gameplay.

Made with

License

Licensing info can be found in the LICENSE.md file.

Please note that the game's assets are covered by a separate licence. Please see the ninjamuffin99/canabalt-assets repository for clarifications.