Have you ever looked at the wonderful rebound script and been reminded of a certain videogame? I have.
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.
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.
Thanks for the kind words. I’ve added a link to the original post in case anyone wants to see it running and made a few small code changes but let me know if there’s anything broken or that could be improved.
wondering…are you possibly going to add other versions of the “game”?
heh…so…the actual Breakthrough game/version of Breakout on the Atari cartridge actually breaks through every brick in the path of the ball that it comes into contact with.
might make neat glissando sounds if that were possible.
I’m not sure I understand about breaking every brick in the path. Do you mean that bricks should break after a single hit (like they do in ‘game’ mode) or that instead of bouncing off a brick the ball should go straight through? Maybe a param to set how likely a ball is to continue through bricks rather than bouncing off?
yeah…i think a parameter for breaking through bricks would be great!
that way you could have a bit of control of how far the ball breaks through.
i filmed a quick play of Breakthru:
also just thought of another crazy idea…
what if the paddle (like in the game) could be added to the music playfield and have its movement controlled by an LFO?
maybe left to right could be controlled and maybe even height?