This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2009-11-24 22:00:36

theapproom
Scratcher
Registered: 2009-08-24
Posts: 38

NEED HELP on objects touching each other?

I have a problem with my  Beer Pong App aka Sprite Pong for those younger people on here, but lets get to my problem. I have a sprite appear when you get 50 points in my game. An once you hit 50 this sprite appears and once the ping pong ball hits this sprite I want to have the game end or at least have it restart. I've tried "When Up Arrow Key is pressed" "if touching Sprite11" and " broadcast gameover", all of these I put together. The problem there is that I want the up arrow key to be pressed once and then hit the sprite without pressing the up key more than once for this to happen properly, so what should I do? Can anyone help me????

Offline

 

#2 2009-11-25 09:12:12

soupoftomato
Scratcher
Registered: 2009-07-18
Posts: 1000+

Re: NEED HELP on objects touching each other?

<when green flag clicked>
<touching[ sprite11>
<broadcast[ GameOver>


I'm glad to think that the community will always be kind and helpful, the language will always be a fun and easy way to be introduced into programming, the motto will always be: Imagine, Program, Share - Nomolos

Offline

 

#3 2009-11-25 10:49:32

theapproom
Scratcher
Registered: 2009-08-24
Posts: 38

Re: NEED HELP on objects touching each other?

This didn't help me  sad

Offline

 

Board footer