Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Scoring goals
- MidnightMelon
- New to Scratch
6 posts
Scoring goals
So, I'm a little new to Scratch. Let's say I have two sprites for now. A player, and a soccer ball. The player is always in the direction of where the mouse pointer is. When you press the space bar, the soccer ball is supposed to launch in the direction of the mouse pointer, as if the player kicked it that direction. How exactly would I go about doing this? Thank you, all help is appreciated.
- MidnightMelon
- New to Scratch
6 posts
Scoring goals
Actually, I already figured it out. Back to basics!
when i receive kick
points towards mouse pointer
{ repeat 10:
(wait .1 secs
move 25 steps)
}
Last edited by MidnightMelon (Aug. 10, 2014 03:10:15)
- Discussion Forums
- » Help with Scripts
- » Scoring goals