top of page
Search

ping pong game in scratch

making a ping pong game in scratch is quite simple.

let's get started


first create the sprites and backdrop



after that , start making the code for the paddle


as simple as that , after that , work on the line's code


this code makes it so that if the ball touches the line , the project stops.


finnaly , we work on the ball's code



the left one controls the movement while the touching? block rotates the ball when touching the paddle.


and that's it , now you know how to make your very own ping pong game. I hope you enjoy.

 
 
 

Σχόλια


  • Facebook
  • Twitter
  • LinkedIn

©2021 by dave-cba. Proudly created with Wix.com

bottom of page