[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 264: mysqli_fetch_assoc(): Couldn't fetch mysqli_result
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 326: mysqli_free_result(): Couldn't fetch mysqli_result
Pete's QBASIC Site Discuss QBasic, Freebasic, QB64 and more 2006-01-26T19:18:54-05:00 http://www.petesqbsite.com/phpBB3/app.php/feed/topic/1320 2006-01-26T19:18:54-05:00 2006-01-26T19:18:54-05:00 http://www.petesqbsite.com/phpBB3/viewtopic.php?p=10634#p10634 <![CDATA[Trying to make a pong game. Please help!]]> Statistics: Posted by Zamaster — Thu Jan 26, 2006 7:18 pm


]]>
2006-01-20T15:03:59-05:00 2006-01-20T15:03:59-05:00 http://www.petesqbsite.com/phpBB3/viewtopic.php?p=10578#p10578 <![CDATA[Trying to make a pong game. Please help!]]> Statistics: Posted by {Nathan} — Fri Jan 20, 2006 3:03 pm


]]>
2006-01-19T15:34:50-05:00 2006-01-19T15:34:50-05:00 http://www.petesqbsite.com/phpBB3/viewtopic.php?p=10551#p10551 <![CDATA[Trying to make a pong game. Please help!]]>
something like this:

Code:

if ( ball.y - ball.radius ) < ( paddle.y + paddle.height ) then    if ( ball.y + ball.radius ) > ( paddle.y ) then        if ( ball.x - ball.radius ) < ( paddle.x + paddle.width ) then            ball.xSpeed = -ball.xSpeed        end if    end ifend if

Statistics: Posted by Deleter — Thu Jan 19, 2006 3:34 pm


]]>
2006-01-19T02:24:48-05:00 2006-01-19T02:24:48-05:00 http://www.petesqbsite.com/phpBB3/viewtopic.php?p=10547#p10547 <![CDATA[Trying to make a pong game. Please help!]]> in front of the ball is black or not, and if not, then bounce the ball. (You need to check in front of the ball and not actually AT the ball because checking the point where the ball is at will always make it bounce, since it'll "see" the ball as an object to bounce off of.)

The basic syntax:

Code:

c = POINT(x,y)
Which returns the color value of the point at (x,y).

Statistics: Posted by Xerol — Thu Jan 19, 2006 2:24 am


]]>
2006-01-18T16:51:18-05:00 2006-01-18T16:51:18-05:00 http://www.petesqbsite.com/phpBB3/viewtopic.php?p=10545#p10545 <![CDATA[Trying to make a pong game. Please help!]]> Statistics: Posted by Guest — Wed Jan 18, 2006 4:51 pm


]]>