A Breakout clone tutorial. Learn how to create games using Good Luck.
- Create a new repository using this repo as a template.
- Clone the newly created repository.
npm install
the build tools.npm start
the development server.
For best experience, use VS Code with the following extensions:
Rather than start the development server from your terminal, we recommend to
start it from VS Code through Terminal > Run build task…
or
Ctrl+Shift+B. VS Code will integrate the
output of the TypeScript compilation into the editor window.
Then run the project through Debug > Start Debugging
or press F5.
Follow the commits on the tutorial branch.
See https://piesku.github.io/breakout/ for the completed game which you will have created by the end of this tutorial too!
Production builds are bundled into a single .js
file and optimized for
size. They are suitable for deployment. You can find them in public/opt
. To
build them, run:
make