ScratchData LogoScratchData
Back to gregatku's profile

Pong 1 Set Up

GRgregatku•Created April 5, 2020
Pong 1 Set Up
1
1
58 views
View on Scratch

Instructions

PONG 1 Set Up This project has NO Code, and does nothing, YET. It's the starting point for a Kids Unlimited Coding Exercise. When complete and the project is working, remove this paragraph from the comments and the Instructions for playing will be in the 2 paragraphs below. Click Green Flag to start game and reset Hits. Hit Space to reset Best Score. Alter the Ball Speed with the slider. The Paddle follows the Mouse Pointer left and right. The aim is to keep the Ball in play as long as you can, by hitting it with the Paddle before it hits the maroon line at the bottom of the screen.

Description

Created by @gregatku for use in Coding Classes for Kids Unlimited, for whom I work as a Coding teacher. It will use "if on edge, bounce" to make the ball Bounce off the Paddle at a realistic angle, by on detection of contact, pushing the Ball to the edge to force a correct direction change and then moving sufficient distance in that new direction to be clear of the Paddle (so multiple Hits are not registered during the Ball's enforced passage "through" the Paddle).

Project Details

Project ID382825141
CreatedApril 5, 2020
Last ModifiedJuly 23, 2021
SharedApril 28, 2020
Visibilityvisible
CommentsAllowed