breakthrough
a rebound remix

Have you ever looked at the wonderful rebound script and been reminded of a certain videogame? I have.
Requirements
Documentation
Each block is assigned a note within the limits set in the parameters. When a ball hits a block, that note sounds. After being hit 4 times, blocks are removed. When a ball hits the bottom of the screen the root note sounds.
Added a small video here (the pad is coming from the iPad):
https://www.instagram.com/p/CIyx5DNHZvK/
Standard rebound controls remain:
K1 - shift
K2 - add/remove ball
K3 - change active ball
E2 - change angle
E3 - change speed
K1 + K2 = Game Mode! Use E3 to move
Bugs
Collision detection could do with some improvements. Only the face of bricks is detected, not the sides.
Download
https://github.com/tomwaters/breakthrough
Changes
20201214 - Improved note randomness, prevented burst of notes when the blocks reset, added param to control whether the root note sounds when balls hit the top and bottom walls
20201223 - Added game mode
20201231 - Added param to control density/number of blocks. Create pockets for balls to bounce around in.