i am making a ping pong game for my ict class. I have done all the scripts so that when the ball hits either side the points change, but when i try to play the game, the points change in twos! then when i move the ball over the line with the mouse, it is fine and does everything it should. also, with one of the sprite"players" the ball just goes right through it and jolts slightly. please help me!
Offline
I'm guessing you're using a color-based sensor that changes the score when it touches that color, right?
If so, try this script:
<forever>
<if><touching color[ (color)
<change{ score }by( 1
[any other blocks you want]
<wait until><not> <touching color[ (color) >>
<end>
<end>[/blocks]
I'd also recommend making two different scripts movement and score-sensing, if you haven't done that already.
The second problem, I don't know how to answer without actually seeing the project...
Offline