ScratchData LogoScratchData
Back to GameRKade's profile

Pen-Only Pong (2 Player)

GAGameRKade•Created July 7, 2018
Pen-Only Pong (2 Player)
1
1
36 views
View on Scratch

Instructions

CONTROLS ========== Player 1: W to move up S to move down D to launch the ball Player 2: Up arrow to move up Down arrow to move down Left arrow to launch the ball Variables: V to show the variables that can be changed R to reset variables back to default values Green flag to clear the scoreboard. VARIABLE FUNCTIONS =================== playSounds: Determines whether collision sound effects will play paddleDistanceFromCenter: Changes the paddle spacing between each other paddleWidth: Changes the width of the paddle. paddleHeight: Changes the height of the paddle. paddleSpeed: Changes how fast the paddle goes. ballSize: Changes the size of the ball. ballStartSpeed: Determines the speed the ball starts at when beginning a new round ballSpeedupRate: Determines how fast the ball speeds up. Set it to 0 to disable. (Note: Due to collision issues, speed will be maxed out at the paddle width.)

Description

This is a version of Pong that does not use any sprites whatsoever. The ball and paddles are determined by variables, then drawn in where they should be. Sure, it'd be a lot easier to use sprites, but I mainly did this as a challenge to get me to think about things in a different way. I had a lot of fun programming it.

Project Details

Project ID235739974
CreatedJuly 7, 2018
Last ModifiedJuly 16, 2018
SharedJuly 7, 2018
Visibilityvisible
CommentsAllowed