city41 / breakouts

A collection of JS engine implementations of Breakout
http://jsbreakouts.mattgreer.dev
542 stars 117 forks source link

CutJS/P2.js/Howler.js implementation #52

Closed shakiba closed 10 years ago

shakiba commented 10 years ago

I have implemented breakouts using CutJS (UI), P2.js (physics) and Howler.js (sound): Play: http://piqnt.github.io/cutjs/examples/game-breakout/ Source: https://github.com/piqnt/cutjs/tree/master/examples/game-breakout

It's around 500 lines of code.

ellisonleao commented 10 years ago

:+1:

city41 commented 10 years ago

Awesome! Thanks shakiba! Would you be ok with us bringing the source code into this repo and adding it as an implementation on the website?

shakiba commented 10 years ago

Thanks, I have submitted a pull request.

shakiba commented 10 years ago

BTW, I have not used tiling for background but tilling and stretching is supported by CutJS, I have included them in CutJS examples.

ellisonleao commented 10 years ago

nice one :+1:

shakiba commented 10 years ago

@ellisonleao Thanks! :)