⚽How To Make A Pong Game

---PLEASE CLICK READ MORE---


Goal: Bounce a ball with a paddle.

Steps:

  1. Delete cat.

  2. Add “Paddle” sprite from library.

  3. Paint a new sprite and name it “Ball”.

  4. Add this code to Paddle:


when green flag clicked forever go to x: mouse x y: -140 end
  1. Add this to Ball:


when green flag clicked go to x: 0 y: 0 point in direction 45 forever move 10 steps if on edge, bounce if touching Paddle then point in direction (pick random 45 to 135) end
  1. Add sound and scoring!


Comments

Popular posts from this blog

🚶‍♂️ How to Make a Walking Animation in Scratch

🎮 How to Make a "Chase Game" in Scratch

🍎How to make a "Apple and Basket" game