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.

DarkBASIC Discussion / Pong physics

Author
Message
BadMonkey91
21
Years of Service
User Offline
Joined: 13th Jan 2004
Location:
Posted: 19th Mar 2004 17:21 Edited at: 19th Mar 2004 17:44
I know this has had to been asked before, but I looked and couldnt find help with exacally what i need.

I cant get the ball to bounce correctly, can anyone look and see if they can come up with a quick way to do it?

if not I can always start over.


it's driving me crazy!



KC27
21
Years of Service
User Offline
Joined: 18th Mar 2004
Location:
Posted: 20th Mar 2004 00:43
Your on the right track....I think you will find where you are wrong......

Subdivision of LSGaming
FROGGIE!
21
Years of Service
User Offline
Joined: 4th Oct 2003
Location: in front of my computer
Posted: 22nd Mar 2004 15:22
this is the code i used in an airhockey game. objects 5,6,9,10 are the four walls(i can't remember which). u can ignore the play sound/gosubs.



* object 3 was the disc
* dAY# was the angle of the disc

my games are only as good as the people who play them...
so if my game is crap then its your f******g fault!

Login to post a reply

Server time is: 2025-05-31 17:43:51
Your offset time is: 2025-05-31 17:43:51