The goal is to catch as many coins as possible during 7 levels.
Coins appear when you break bricks.
They fly around, bounce and roll, and you need to catch them with your puck to increase your score.
Your score is displayed in the top right corner of the screen.
You must delete all bricks to progress to the next level.
If you drop the ball, it's game over, unless you had the "extra life" upgrade.
# Upgrades
After clearing a level, you'll be able to pick upgrades among a small selection presented to you.
The upgrade you pick will apply until the end of the run. You will get more upgrade choices, and even the ability to pick
multiple upgrades at the end of the level if you play well : catch all coins, clear the level quickly and never miss.
You also get a free random upgrade at the beginning of each run. You can see which upgrades you have
(and a few more details) by clicking your score at the top right of the screen.
Upgrades apply to the whole run and can synergize. For example, if you combine "sapper" and "piercing", the first brick
you hit after a puck bounce will immediately be transformed to an explosive brick, and detonated by the same ball,
effectively giving you an explosive ball.
Some upgrades help with aiming, like "puck control balls". Some upgrades can be picked multiple times to increase the effect, you'll see for example "+1 ball level 2" which adds a third ball.
When you first play, only a few upgrades are available, you unlock the rest by simply playing and scoring points. There's a similar
mechanic for levels unlock. At the end of a run, the things you just unlocked will be shown, and you can check the full content in menu / unlocks.
Many upgrades impact your combo.
# Combo
Your "combo" is the number of coins spawned when a brick breaks. It is displayed on your puck, for example x4 means each
brick will spawn 4 coins. It will reset if you miss.
Many upgrades impact your combo :
### Single puck hit streak
The combo grows by one when breaking a brick, but resets when a ball hits the puck.
Once you combo is high, the puck will glow red, to remind you that it will hurt your combo to touch it with any ball.
The combo does not reset when the ball is lost, provided you have more than one ball.
### +3 base combo
The combo starts at 4, and resets to 4 if another upgrade resets it.
Picking this again will raise the starting combo by 3 each time.
- It's a bit confusing at first to grasp that one upgrade is applied randomly at the start of the game
- on mobile, add an element that feels like it can be "grabbed" and make it shine while writing "Push here to play"
- add pointer lock when game is running (lock to play area )https://mdn.github.io/dom-examples/pointer-lock/
- hide cursor options
- add a clickable button to allow sound to play in chrome android
- offline mode with service worker
- add pwe manifest
- keyboard support
- start/stop with space
- left and right arrow for moving the puck
- up down for choosing menu entry
- space to click entry
- escape to close menu
- see how to do fullscreen on ios, or at least explain to do aA/hide toolbars
- experiment with showing the combo somewhere else, maybe top center, maybe instead of score.
- more help somewhere accessible
- limit GC by reusing coins and particles
- convert captures to mp4 unsing ffmpeg wasm because reddit refuses webm files
- few puck bounces = more choices / upgrades
- disable zooming (for ios double tap)
- particles when bouncing on sides / top
- show total score on end screen (score added to total)
- show stats on end screen compared to other runs
- handle back bouton in menu
- mouvement relatif du puck
- balls should collide with each other
- when game resumes near bottom, be unvulnerable for .5s ? , once per level
- apply global curve / brightness to canvas when things blow, or just always to make neon effect better
- manifest for PWA (android and apple)
- lights shadows
- Offline mode web for iphone
- controller support on web/mobile
- webgl rendering
- enable export of gameplay capture in webview
- endgame histograms could work as filters, when you hover a bar, all other histograms would show the stats of those runs only, without changing reference of categories
I wanted an APK to start in fullscreen and be able to list it on fdroid and the play store. I started with an empty view and went to work trimming it down, with the help of that tutorial