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

#1 2012-04-01 05:02:15

soniku3_test
Scratcher
Registered: 2012-03-28
Posts: 74

Idea's for:Tennis WORLD?

Have idea's for it?


http://i.imgur.com/wTVpr.pngsoniku3_test=http://blocks.scratchr.org/API.php?user=soniku3&action=onlineStatus&type=squarehttp://i.imgur.com/V5SGx.png

Offline

 

#2 2012-04-02 17:24:08

SplatKirby
Scratcher
Registered: 2012-03-22
Posts: 100+

Re: Idea's for:Tennis WORLD?

I think you could create a court, and the player would have to move to get over to the ball. Then there would be a random number upon the ball's going to the other side. There would be 2/3 of a chance of the CPU getting it and a 1/3 of a chance of the CPU missing it. The script would look like this, for example:

[scratchblock]
when [left arrow] key pressed
move [-10] steps
if <touching Sprite1>
broadcast [got it]
else
broadcast [missed it]


http://gifninja.com/animatedgifs/205654/well-this-is-awkward.gif

Offline

 

#3 2012-04-02 17:27:14

SplatKirby
Scratcher
Registered: 2012-03-22
Posts: 100+

Re: Idea's for:Tennis WORLD?

SplatKirby wrote:

I think you could create a court, and the player would have to move to get over to the ball. Then there would be a random number upon the ball's going to the other side. There would be 2/3 of a chance of the CPU getting it and a 1/3 of a chance of the CPU missing it. The script would look like this, for example:

when [left arrow] key pressed
 move [-10] steps
if <touching Sprite1>
 broadcast [got it]
else
 broadcast [missed it]


http://gifninja.com/animatedgifs/205654/well-this-is-awkward.gif

Offline

 

Board footer