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.

Newcomers DBPro Corner / help with collision

Author
Message
skater1
20
Years of Service
User Offline
Joined: 18th Oct 2003
Location:
Posted: 28th Mar 2004 08:49
How would you make a cube or ball bounce between 2 rectangles kinda like pong except on top of each other not left and right kinda like this _______ the 0 being like the ball and the ___
0
________

tim
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 28th Mar 2004 13:49
Have a read though this code. It should give you the basic ideas



*** Coming soon - Network Plug-in - Check my site for info ***
For free Plug-ins, source and the Interface library for Visual C++ 6, .NET and now for Dev-C++ http://www.matrix1.demon.co.uk

Login to post a reply

Server time is: 2024-09-22 02:42:17
Your offset time is: 2024-09-22 02:42:17