I stumbled upon a Pong game template ... and I felt like doing something with it. So here it is, remixed into a Break Out Game template, with the following changes: - Improved the bounce effect on the pad, - Added blocks with logic to hit them and make them disappear, - Slightly improved graphics (although it doesn't really matter for a template), - Added a better display of Score and High Score. Because I added blocks to break with the ball, it is more like a Break Out template than a Pong template now. The code is commented and it should be relatively easy to plug your own effects for ball impact (Impact effect) and block destruction (Destruction effect). To show how this can be used, I implemented blocks with different hit points (between 1 and 3) which determines how many times the ball must hit them to destroy them. They change colour when their hit points decrease. On impact they also "pulse", and blocks with 3 hit points double the speed of the ball (it is automatically slowed down to its "normal" speed). The destruction effect is very basic: the block simply disappears. There are also indestructible blocks. They blink when hit by the ball, but they never get destroyed.
Based on @tz19-lp Pong Game [Template].