Posted: Tue Nov 01, 2005 8:47 am Post subject: help me with my pong?
can someone tell me what i will need to know for pong the commands and of i ask later help me use them?
Sponsor Sponsor
Tony
Posted: Tue Nov 01, 2005 9:25 am Post subject: (No subject)
you need to figure out:
how to draw paddles and ball -- Draw.
how to move your paddles around - Input.KeyDown
how to figure how if your paddle blocks a ball - Collision detection
Our tutorials cover it all
Freakish
Posted: Wed Nov 02, 2005 8:37 pm Post subject: (No subject)
you also need the score board.
var score1 : int
var score2 : int
loop
*some if statement here* then
score1 := score1 + 1
end loop
xXInsanityXx
Posted: Wed Nov 02, 2005 9:34 pm Post subject: (No subject)
And a winning statement would be adequate
if score1= 20
then
put "Player 1 wins"
exit
elsif score2 = 20
then
put "Player 2 wins"
exit
end if
beard0
Posted: Wed Nov 02, 2005 10:03 pm Post subject: (No subject)
xXInsanityXx: Please do explain how on earth two people would arrive at a score of twenty at the same time in a game of pong, and tie.
xXInsanityXx
Posted: Wed Nov 02, 2005 10:09 pm Post subject: (No subject)
My Bad... i thought he meant ping pong...
beard0
Posted: Wed Nov 02, 2005 10:12 pm Post subject: (No subject)