Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » How to add level when points reach 5 - Pong Game
- JSW123
- New to Scratch
10 posts
How to add level when points reach 5 - Pong Game
Im making a pong game and I want to know to add a new level when one of the users reaches 5 points?? Help would be great thanks!
- powerpoint56
- Scratcher
1000+ posts
How to add level when points reach 5 - Pong Game
foreverIn your game, there should definitely be a variable called points (or something similar) keeping track of the score so this works. Also, you'll need a broadcast for the next level, depending on how your levels change.
if <(points) > (5)> then
broadcast [next level v]
Hope this helps!
Last edited by powerpoint56 (April 26, 2014 15:10:06)
- Christine2014
- New to Scratch
1 post
How to add level when points reach 5 - Pong Game
i need to know how to make another level on the pong game after it reaches 20 points
- deck26
- Scratcher
1000+ posts
How to add level when points reach 5 - Pong Game
Rather than the greedy forever loop use something like this
wait until <(points) > [5 ]>
do something
wait until <(points) > [20 ]>
do something else
- minerman6
- Scratcher
100+ posts
How to add level when points reach 5 - Pong Game
Hello
A game of BASIC PONG i made is here. On the see inside youu shold be able to see how somme of the Script works. Any quuestions leave a comment. All comments are replied to.
If you liked that then check out the remix. Basic Pong Returns remixed by Serperior1700
Scratch On!
~Minerman6~
A game of BASIC PONG i made is here. On the see inside youu shold be able to see how somme of the Script works. Any quuestions leave a comment. All comments are replied to.
If you liked that then check out the remix. Basic Pong Returns remixed by Serperior1700
Scratch On!
~Minerman6~
- D1reboar
- New to Scratch
1 post
How to add level when points reach 5 - Pong Game
w'a;er0awu8ty0wi5uhy
- Discussion Forums
- » Help with Scripts
- » How to add level when points reach 5 - Pong Game