Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Author
Message
DB newbie
18
Years of Service
User Offline
Joined: 13th Nov 2005
Location: um..... i dont remember.
Posted: 2nd Mar 2006 21:46
can someone help me with debuging my pong game there is something wrong with it that only happens sometimes. sometimes the ball gos trough or gets stuck in the redpaddle and when it goes past the red paddle it doesnt count it as a point like when it goes through the green paddle.



Check out my site!(unfinished)
http://www.freewebs.com/dbnewbie/
General Sephiro
19
Years of Service
User Offline
Joined: 27th Sep 2004
Location:
Posted: 3rd Mar 2006 02:13
I would have helped if you had bothered in TAB OUT YOUR CODE! bad indentation skills... you could have at least spaced it out...

Wheres the coments aswell, all i'm seeing is a bunch of if statements some are self explanitory some are not. Which padle is connected with which if statement? messy messy code >.< too tired need tea.

Random help:
I tried the code out yea yea it works but the ball sometimes flies off.. if it hits the exact corners so try using an = sign with the > so for example:


Converted =


DB newbie
18
Years of Service
User Offline
Joined: 13th Nov 2005
Location: um..... i dont remember.
Posted: 3rd Mar 2006 04:57
ok thank you i will try it.

Check out my site!(unfinished)
http://www.freewebs.com/dbnewbie/
DB newbie
18
Years of Service
User Offline
Joined: 13th Nov 2005
Location: um..... i dont remember.
Posted: 5th Mar 2006 19:30
thank you it worked.

Check out my site!(unfinished)
http://www.freewebs.com/dbnewbie/

Login to post a reply

Server time is: 2024-09-24 17:35:34
Your offset time is: 2024-09-24 17:35:34