piqnt/polymatic-example-breakout

★ 0Forks 0TypeScriptGitHub ↗Compare

README

Breakout Game - Polymatic Example

Implemented using Polymatic framework and Pixi.js rendering engine, with a minimal built-in physics (moving circles bouncing off line-segment outlines, see src/Physics.ts).

Play Live Demo

Use left and right arrow keys to move the paddle, and space to start a new game. Catch + drops for an extra ball, and avoid - drops which shrink the paddle.

How to run the code

To run or build the source code in this repository you need to have node.js/npm installed.

Install this project dependencies:

npm install

To run the project locally:

npm run dev

This will print out the url where you can open the project.

To build the project for production:

npm run build

Contributors

shakiba

Issues