Discuss Scratch
- Discussion Forums
- » Show and Tell
- » How to re-create Pong!
- iNsaNeN3rd
- Scratcher
10 posts
How to re-create Pong!
Pong is a very simple game to play and to create. Let's start!
Right Paddle:
1. Drag in your Flag block.
2. Snap a Forever loop to it with a If loop.
3. Add your regular WASD controls, but without left and right.
Your Left Paddle is complete.
Right paddle is the same as your Left paddle, but Arrow Keys instead of WASD.
For an inspiration, click here! Your text to link here…
Right Paddle:
1. Drag in your Flag block.
when green flag clicked
2. Snap a Forever loop to it with a If loop.
when green flag clicked
forever
if <> then
end
end
3. Add your regular WASD controls, but without left and right.
when green flag clicked
forever
if <key [ w] pressed?> then
change y by (5)
end
if <key [ s] pressed?> then
change y by (-5)
end
end
Your Left Paddle is complete.
Right paddle is the same as your Left paddle, but Arrow Keys instead of WASD.
For an inspiration, click here! Your text to link here…
Last edited by iNsaNeN3rd (June 15, 2018 05:09:43)
- NilsTheBest
- Scratcher
1000+ posts
How to re-create Pong!
It seems that you haven't published it yet…
NilsTheChair | 5 years on Scratch | 4000+ posts | former wiki editor | 332nd FPC | CoR founder
- NilsTheBest
- Scratcher
1000+ posts
How to re-create Pong!
But nice tutorial for new scratchers! Maybe you should then explain to them the ball motion and how it moves. You could perhaps improve it even more by making an AI opponent. It's quite easy, but it might take some time.
NilsTheChair | 5 years on Scratch | 4000+ posts | former wiki editor | 332nd FPC | CoR founder
- desway
- Scratcher
100+ posts
How to re-create Pong!
Hi there! This specific category is for showing off your stuff, not to give tutorials, it works best giving help to people who ask for it, not just random help.
I'm an animator, programmer, and helper on the forums. I make a lot of stuff myself, so you can request an animation on my profile and I will get back to you ASAP.
- iNsaNeN3rd
- Scratcher
10 posts
How to re-create Pong!
Now it's published. It seems that you haven't published it yet…
- Discussion Forums
- » Show and Tell
- » How to re-create Pong!