Code Monkey home page Code Monkey logo

breakoutclones's Introduction

This repository is a collection of Breakout clones written in four of today's popular cross-platform game engines. It began as preparation for a blog post published on Binpress called Selecting a Cross-platform Game Engine.

In order to accurately compare and contrast the game engines, I wrote a Breakout clone from scratch using each game engine. I then re-wrote the clones using RapidGame templates in order to estimate how much development time RapidGame can save.

You will find the original Breakout clones in the Control directory. The clones built with RapidGame are in the Rapid directory.

Results

I found that some cross-platform game engines are inherently more rapid than others. Corona, for example, is built for speed. Cocos2D JS can be quick too if you prebuild the libraries statically.

I found that project setup, getting the viewport right, setting up physics and other grunt work tasks can take up to ~80% of development time for simple games like a Breakout clone. Using RapidGame can eliminate most of that time sink.

Setup

In order to run the Breakout clones:

  1. Clone this repo
  2. Install RapidGame: sudo npm install rapidgame -g
  3. Initialize the Rapid/Cocos2d project: cd BreakoutClones/Rapid/Cocos2d && rapidgame init .
  4. Run the prebuild: rapidgame prebuild
  5. Initialize the Control/Cocos2d project: cd BreakoutClones/Control/Cocos2d && rm cocos2d-js && ln -s ~/path/to/cocos2d-js-v3.0-alpha2 cocos2d-js

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.