How To Create A Pong Game In Scratch

This is a step to step guide, explaining how to make a pong game in Scratch. In this post, in the end, we will achieve a pong game. Before we begin, you will need an account in Scratch to create a pong game in scratch.. If you don’t have one then, head to how to create an account in scratch otherwise you won’t be able to create a pong game in scratch.

Choose a backdrop for your pong game.

How To Create A Pong Game In Scratch 1

Click the  icon to open the Backdrop library:

How To Create A Pong Game In Scratch 2

Then choose the backdrop you want (such as neon tunnel or brick wall):

How To Create A Pong Game In Scratch 3
How To Create A Pong Game In Scratch 4
How To Create A Pong Game In Scratch 5

Click the  icon to choose a new sprite:

How To Create A Pong Game In Scratch 6

Then select a ball for your game:

How To Create A Pong Game In Scratch 7

You can delete the cat with the scissors tool. Click on the scissors, then click on the cat:

How To Create A Pong Game In Scratch 8

Click the Motion category, and drag out a move block into the Scripts area.

drag move block to Scripts area

Then, click on that block to make the ball move.

drag move block to Scripts area

Want it to keep going? Snap-on the block if on edge, bounce.

Then, click the Control category. Wrap a forever block around the other blocks, like this:

How To Create A Pong Game In Scratch 9

Click anywhere on the stack of blocks to try it.

How To Create A Pong Game In Scratch 10

To stop, click the stop button: 

Want it to go at an angle? Snap a point in direction block on top, and type in an angle.

How To Create A Pong Game In Scratch 11

Next, click the Events category.

How To Create A Pong Game In Scratch 12

Drag out a when  clicked block and snap it on top:

How To Create A Pong Game In Scratch 13

Your script will start whenever you click the green flag:

How To Create A Pong Game In Scratch 14

Tip: Want to change the speed of the ball? Type in a different number of steps:

How To Create A Pong Game In Scratch 15

Add a paddle so you can start to play! Click to choose a new sprite:

How To Create A Pong Game In Scratch 16

Then, select a paddle from the Sprite library:

How To Create A Pong Game In Scratch 17

Tip: Adjust the size of the paddle by clicking with the grow or shrink tool:

How To Create A Pong Game In Scratch 18

Make it interactive! You can control the paddle with the mouse cursor.

Select the paddle.

How To Create A Pong Game In Scratch 19

Then build this script:

How To Create A Pong Game In Scratch 20
How To Create A Pong Game In Scratch 21

Click the green flag to start your scripts: 

Click to choose the ball:

How To Create A Pong Game In Scratch 22

Add this script to make it bounce whenever it hits the paddle:

How To Create A Pong Game In Scratch 23

Here’s how to build the script:

How To Create A Pong Game In Scratch 24
How To Create A Pong Game In Scratch 21

Click the green flag to try it out: 

Make a sound when the ball hits the paddle.

How To Create A Pong Game In Scratch 26

Click the Sounds tab, then click 

How To Create A Pong Game In Scratch 27

Choose the ‘water drop’ sound (in Effects):

How To Create A Pong Game In Scratch 28

Then, click the Scripts tab. Click the Sound category, and drag out a play sound block.

Snap that sound block into the script, like this:

How To Create A Pong Game In Scratch 29

Make the game stop if the ball hits the bottom.

Click to select the Stage:

How To Create A Pong Game In Scratch 30

Select the Backdrops tab.

Now you can edit your backdrop. Select the line tool. Draw a thick line at the bottom:

How To Create A Pong Game In Scratch 31

Tip: Hold down the Shift key while drawing the line to make it straight.

Tip: To undo, click the Undo arrow:

How To Create A Pong Game In Scratch 32

Click to select the Ball sprite:

How To Create A Pong Game In Scratch 22

Click the Scripts tab, then add this script to make the ball stop if it hits the line color:

How To Create A Pong Game In Scratch 34

Tip: Click inside the square box in the touching colour block. Then move your cursor to point and click on the bottom line colour.

ADD EFFECTS

Change the colour of the ball when it hits the paddle.

How To Create A Pong Game In Scratch 35

STARTING POSITION

You may want to set the ball’s starting position.

Move the ball to where you want it to start, then drag the go to x: y: block into the top of this script:

How To Create A Pong Game In Scratch 36

ADD POINTS

Create a variable for keeping score.

How To Create A Pong Game In Scratch 37

Then add the score blocks to your script:

How To Create A Pong Game In Scratch 38

You can also change what happens when the ball touches the bottom. For example:

How To Create A Pong Game In Scratch 39
Trushil Shah

Author: Trushil Shah

My name is Trushil Shah and I am 10 years old. I live in Australia, a multicultural country. I have a little sister. Here are many things I like to do, to see, and to experience. I like to play sports, study, do technology experiencing, go out into the world, read, write, see the lunar eclipses by a glimpse, share time with my family, code in scratch and most of all have fun. I like flowers in spring, rain in summer, leaves in autumn, and snow in winter. I want to be a doctor or engineer when I grow up. I like many different types of food. My favourite subject of all is Maths. I am always trying to do my best. Whatever I do I want to do best.

130 thoughts on “How To Create A Pong Game In Scratch

  1. Pingback: Immediate Edge
  2. Pingback: 918kiss
  3. Pingback: dash kokemuksia
  4. Pingback: bitcoin loophole
  5. Pingback: ریورپوکر
  6. Pingback: w88 lite
  7. Pingback: w88club
  8. Pingback: mơ thấy ba ba
  9. Pingback: 먹튀
  10. Pingback: theweedtube
  11. Pingback: 온라인홀덤
  12. Pingback: link
  13. Pingback: mo ran can
  14. I just want to tell you that I am just new to weblog and truly loved your website. Likely I’m likely to bookmark your site . You amazingly have amazing articles. With thanks for sharing your web-site.

  15. With havin so much content do you ever run into any issues of plagorism or copyright violation? My website has a lot of completely unique content I’ve either written myself or outsourced but it seems a lot of it is popping it up all over the internet without my permission. Do you know any solutions to help stop content from being ripped off? I’d certainly appreciate it.

  16. I really like your writing style, great info, appreciate it for posting :D. “He wrapped himself in quotations- as a beggar would enfold himself in the purple of Emperors.” by Rudyard Kipling.

  17. Hi, i read your blog from time to time and i own a similar one and i was just wondering if you get a lot of spam feedback? If so how do you reduce it, any plugin or anything you can suggest? I get so much lately it’s driving me crazy so any help is very much appreciated.

  18. This web page can be a walk-via for the entire info you needed about this and didn’t know who to ask. Glimpse right here, and you’ll positively discover it.

  19. Can I just say what a relief to find someone who truly is aware of what theyre talking about on the internet. You positively know how to carry an issue to mild and make it important. Extra folks have to learn this and perceive this aspect of the story. I cant imagine youre no more fashionable because you positively have the gift.

  20. I simply want to mention I’m new to blogs and truly savored your web page. Very likely I’m want to bookmark your blog . You surely come with remarkable posts. With thanks for sharing your blog site.

  21. I’ve been exploring for a little bit for any high quality articles or blog posts on this sort of area . Exploring in Yahoo I finally stumbled upon this site. Studying this info So i’m satisfied to express that I have a very good uncanny feeling I found out just what I needed. I most without a doubt will make sure to do not omit this website and provides it a glance on a continuing basis.

  22. Oh my goodness! Impressive article dude! Thanks, However I am going through problems with your RSS. I donít know the reason why I can’t join it. Is there anyone else having identical RSS issues? Anyone who knows the solution will you kindly respond? Thanks!!

  23. Thanks , I have recently been looking for info about this topic for ages and yours is the greatest I’ve discovered till now. But, what about the bottom line? Are you sure about the source?

  24. Wow that was odd. I just wrote an really long comment but after I clicked submit my comment didn’t appear. Grrrr… well I’m not writing all that over again. Regardless, just wanted to say fantastic blog!

  25. אם אתם מחפשים בילוי מפנק כדאי לכם לבלות עם נערות ליווי. הנערות הסקסיות יכולות להזכיר לכם שאתם גברים שאוהבים ליהנות. הן יודעות כיצד לפנק אתכם ומבינות בדיוק מה שאתם רוצים גם אם לא תגידו להן. הן יכולות להפתיע אתכם בעיסויים מפנקים ומענגים, הרבה מעבר למה שאתם מצפים. נערות ליווי הן פשוט מומחיות באומנות העינוג וכל מי שבילה איתן פעם אחת ירצה לחזור שוב ושוב. אם בא לכם להפיג את השעמום בשעות הערב או בסופי השבוע, אם בא לכם לבלות בצורה יוצאת דופן ולא לעשות את אותם הדברים המשעממים כמו תמיד, הזמינו נערה או שתיים ותוסיפו קצת פלפל לחיים שלכם.

  26. I just want to say I’m new to blogs and really enjoyed you’re website. Almost certainly I’m likely to bookmark your website . You amazingly come with incredible posts. With thanks for revealing your website.

  27. Generally I do not read post on blogs, but I would like to say that this write-up very forced me to try and do so! Your writing style has been surprised me. Thanks, quite nice post.

  28. Thanks for your write-up on the traveling industry. I might also like contribute that if you’re a senior contemplating traveling, it really is absolutely imperative that you buy traveling insurance for seniors. When traveling, seniors are at high risk of experiencing a professional medical emergency. Receiving the right insurance plan package in your age group can safeguard your health and provide you with peace of mind.

  29. Having read this I believed it was very informative. I appreciate you spending some time and effort to put this informative article together. I once again find myself personally spending a significant amount of time both reading and leaving comments. But so what, it was still worth it!

  30. Hey! I’m at work browsing your blog from my new iphone! Just wanted to say I love reading your blog and look forward to all your posts! Carry on the superb work!

  31. I just like the helpful info you supply to your articles. I will bookmark your blog and test once more here frequently. I am fairly certain I’ll be told plenty of new stuff proper here! Best of luck for the following!

  32. Hi, I do believe this is a great website. I stumbledupon it 😉 I will revisit yet again since i have book-marked it. Money and freedom is the best way to change, may you be rich and continue to guide other people.

  33. When I originally commented I clicked the -Notify me when new feedback are added- checkbox and now each time a remark is added I get 4 emails with the same comment. Is there any means you may remove me from that service? Thanks!

  34. Hello this is kind of of off topic but I was wanting to know if blogs use WYSIWYG editors or if you have to manually code with HTML. I’m starting a blog soon but have no coding expertise so I wanted to get guidance from someone with experience. Any help would be enormously appreciated!

  35. Oh my goodness! Awesome article dude! Thank you so much, However I am experiencing issues with your RSS. I don챠t know the reason why I can’t subscribe to it. Is there anyone else having the same RSS problems? Anybody who knows the answer can you kindly respond? Thanx!!

  36. Hi, I do think this is a great web site. I stumbledupon it 😉 I’m going to revisit once again since i have book marked it. Money and freedom is the greatest way to change, may you be rich and continue to guide other people.

  37. A formidable share, I just given this onto a colleague who was doing a bit of evaluation on this. And he the truth is bought me breakfast because I discovered it for him.. smile. So let me reword that: Thnx for the treat! But yeah Thnkx for spending the time to discuss this, I feel strongly about it and love reading extra on this topic. If potential, as you change into expertise, would you mind updating your blog with more details? It is extremely helpful for me. Huge thumb up for this weblog publish!

  38. I was curious if you ever considered changing the layout of your site? Its very well written; I love what youve got to say. But maybe you could a little more in the way of content so people could connect with it better. Youve got an awful lot of text for only having one or two images. Maybe you could space it out better?

  39. It’s really a great and useful piece of information. I’m glad that you shared this useful info with us. Please keep us informed like this. Thanks for sharing.

  40. I know this if off topic but I’m looking into starting my own weblog and was wondering what all is needed to get set up? I’m assuming having a blog like yours would cost a pretty penny? I’m not very internet savvy so I’m not 100 sure. Any suggestions or advice would be greatly appreciated. Kudos

  41. I am only writing to let you be aware of what a cool discovery my girl obtained viewing your site. She came to understand too many issues, including what it is like to possess an incredible coaching mindset to let certain people very easily learn about a number of multifaceted issues. You truly exceeded our desires. I appreciate you for producing the great, healthy, revealing and also fun tips about the topic to Gloria.

  42. Thank you for the sensible critique. Me and my neighbor were just preparing to do some research on this. We got a grab a book from our local library but I think I learned more from this post. I’m very glad to see such excellent info being shared freely out there.

  43. I’ve been exploring for a little bit for any high-quality articles or weblog posts in this sort of house . Exploring in Yahoo I at last stumbled upon this website. Reading this info So i am glad to convey that I’ve an incredibly excellent uncanny feeling I came upon just what I needed. I so much unquestionably will make sure to don’t overlook this web site and give it a glance on a relentless basis.

  44. Thank you for sharing excellent informations. Your website is so cool. I am impressed by the details that you’ve on this site. It reveals how nicely you perceive this subject. Bookmarked this website page, will come back for extra articles. You, my friend, ROCK! I found simply the info I already searched everywhere and simply could not come across. What a perfect site.

  45. Have you ever thought about including a little bit more than just your articles? I mean, what you say is valuable and everything. But imagine if you added some great photos or video clips to give your posts more, “pop”! Your content is excellent but with images and video clips, this website could definitely be one of the best in its field. Fantastic blog!

  46. May I simply just say what a comfort to uncover somebody who genuinely understands what they’re talking about over the internet. You definitely understand how to bring a problem to light and make it important. More and more people really need to check this out and understand this side of your story. I was surprised that you are not more popular since you definitely have the gift.

  47. I’d need to verify with you here. Which isn’t something I normally do! I get pleasure from reading a post that may make people think. Additionally, thanks for allowing me to remark!

  48. Heya i’m for the first time here. I found this board and I find It really useful & it helped me out much. I hope to give something back and help others like you aided me.|

  49. Good post. I learn something totally new and challenging on blogs I stumbleupon every day. It’s always interesting to read articles from other writers and use a little something from their web sites.

  50. After I initially commented I appear to have clicked the -Notify me when new comments are added- checkbox and from now on whenever a comment is added I recieve four emails with the exact same comment. There has to be a way you can remove me from that service? Thank you!

Leave a Reply

Your email address will not be published. Required fields are marked *