Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Very confused. my game want work. need help please
- lwell72
- Scratcher
100+ posts
Very confused. my game want work. need help please
I have this game and when u press the green flag it comes up with play. once u press it it comes up with two options. plane or ground. press ground and watch. the bullet want go to my enemy and I don't understand because it is the exact same as the enemy is the plane.
heres my project https://scratch.mit.edu/projects/175469491/#editor
Thanks!
heres my project https://scratch.mit.edu/projects/175469491/#editor
Thanks!
- 9139132
- Scratcher
13 posts
Very confused. my game want work. need help please
Try making the player receiving all broadcasts.
when I receive [Ground]
- deck26
- Scratcher
1000+ posts
Very confused. my game want work. need help please
What on earth do you think a script like this is doing?
when I receive [ground v]It recieves a broadcast and stops itself - the forever loop is irrelevant. It's equivalent to the script below (yes I know there's nothing there, that's the point!).
forever
stop [this script v]
end
- deck26
- Scratcher
1000+ posts
Very confused. my game want work. need help please
You're not currently broadcasting Ground, only GroundReady.
- computerguy1000
- Scratcher
24 posts
Very confused. my game want work. need help please
when green flag clicked
forever
go to [Imagine v]
say [Program]
play sound [Share v]
end
spam!
g]http://cdn.scratch.mit.edu/scratchr2/static/images/easter_egg_waffle.png
Hope you have room for pizza
- computerguy1000
- Scratcher
24 posts
Very confused. my game want work. need help please
Opps, wrong place
when green flag clicked
forever
go to [Imagine v]
say [Program]
play sound [Share v]
end
spam!
g]http://cdn.scratch.mit.edu/scratchr2/static/images/easter_egg_waffle.png
Hope you have room for pizza
- Discussion Forums
- » Help with Scripts
- » Very confused. my game want work. need help please