This repository is a collection of several examples of implementation of a Flappy bird-like Tappy Plane game.
The purpose of the project is to compare features, performance and build sizes of popular 2D Web Game Engines and the main focus is on the limitations imposed by Facebook Instant Games and Lightweight Games.
To run these examples you should have npm (Node.js Package Manager) installed.
- Clone the repository to your local machine
$ git clone https://github.com/eadventurous/tappy-plane-engine-cmp.git
- Additional steps for some engines
For GDevelop you have to download the engine and build the example first. Open the project from the corresponding engine UI and build the project for web to the Build
folder of the project directory.
For MelonJS run npm install
in the MelonJS project folder. Then install grunt globally and run it in the MelonJS project forlder from the terminal.
For LayaBox download LayaAir IDE. Open the LayaBox
folder with it and build the project for web.
For Phaser navigate to the phaser directory. Run npm install
in the console and build with npm run-script build
.
- Navigate to the cloned repository folder
$ cd tappy-plane-engine-cmp
- Install an http server (if you don't have one installed). You can use live-server for example. To install it:
$ npm install -g live-server
- Start an http server in the project folder. For live server:
$ live-server
- Open the url corresponding to the example of the engine you would like to try. Note, for some of the engines you might have to download the engine and build the example first.
Example urls:
- CreateJS
http://127.0.0.1:8080/CreateJS/
- GDevelop
http://127.0.0.1:8080/GDevelop/Build/
- MelonJS
http://127.0.0.1:8080/MelonJS/build/
- PixiJS
http://127.0.0.1:8080/PixiJS/
- LayaBox
http://127.0.0.1:8080/LayaBox/release/web/
- Phaser
http://127.0.0.1:8080/Phaser/
To Kenney.nl for Tappy Plane Assets