ScratchData LogoScratchData
Back to kriblo_test's profile

Scratch Brick-Bat

KRkriblo_test•Created October 25, 2023
Scratch Brick-Bat
3
2
82 views
View on Scratch

Instructions

My most simple and most native Scratch Brick-Bat game. Code inside, all by me (@kriblo). Use your mouse to move the paddle/bat at the bottom, to bounce the ball, to hit the bricks at the top. Don't let the ball hit red at the bottom. Inspired by @RobFarley74's question in the D&M studio: https://scratch.mit.edu/studios/25643089/comments/#comments-238395487 Obviously, this game has limitations and is not very fun. It's intended to be a coding example, to show how the built in Scratch blocks can be used to avoid complicated math for this type of game. The most complicated math in this project, is used to calculate in what direction the ball should bounce when it has hit a brick (in the Ball sprite). This math is explained in detail in my project "Example: Simple Bouncing Math": https://scratch.mit.edu/projects/775853322/

Project Details

Project ID913770869
CreatedOctober 25, 2023
Last ModifiedOctober 25, 2023
SharedOctober 25, 2023
Visibilityvisible
CommentsAllowed