How would i make the ball bounce off from the object (bitmap) in MFC? (look at the picture below)
How would i set the boundaries and stuff?
Does anyone have the code?
I really really need help....i need to complete my project soon.![]()
![]()
just in case you want to know, the bitmap size is 40 x 40.
don't know if it matters though.
and remember, i want the ball to bounce off from all four sides of the bitmap, and it would just repeat this process over and over.




Reply With Quote