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

#1 2007-12-09 09:00:47

bonjonjovi1
Scratcher
Registered: 2007-07-02
Posts: 3

HELP from good programmers needed.

I am making an rpg game and it has a computer in it. I have tried to put a pong game on it but I can't get it to bounce of the edge of the computer moniter (the one in the game) it will only bounce on the edge of the screen. What can I do?!?!?!?!?!?!?!?!?!?!?!?!?
P.S The ball only travels in 10 directions: -90,90,45,-45,68,-68,113,-113,135,-135
PLEASE HELP I have spent hours on this pong game and don't want to scrap it.
I have tried doing:
<when green flag clicked>
<forever if><touching color[ <<  <or>  >><touching color[
<if><direction><(  <=>  )>45
<point in direction( -135)
For all possible angles but it doesn't work.

Offline

 

#2 2007-12-09 09:04:57

bonjonjovi1
Scratcher
Registered: 2007-07-02
Posts: 3

Re: HELP from good programmers needed.

the -135 should be 135

Offline

 

#3 2007-12-12 12:30:07

Heybrian
Scratcher
Registered: 2007-12-05
Posts: 100+

Re: HELP from good programmers needed.

bonjonjovi1 wrote:

the -135 should be 135

ya know, you can edit your post.


Black Mesa. go here to get a game 10 times better than SN or FW.  http://scratch.mit.edu/galleries/view/10650
Smiley! copy and paste these into your post or signature!  smile   sad    yikes                 big_smile     wink    tongue    hmm    neutral   cool   lol   mad   roll

Offline

 

#4 2007-12-12 12:31:10

Heybrian
Scratcher
Registered: 2007-12-05
Posts: 100+

Re: HELP from good programmers needed.

Heybrian wrote:

bonjonjovi1 wrote:

the -135 should be 135

ya know, you can edit your post.

and theres two 135s one -135 and one 135. so.....?


Black Mesa. go here to get a game 10 times better than SN or FW.  http://scratch.mit.edu/galleries/view/10650
Smiley! copy and paste these into your post or signature!  smile   sad    yikes                 big_smile     wink    tongue    hmm    neutral   cool   lol   mad   roll

Offline

 

Board footer