Oy Vay
Holy Crap! I'm trying to fix the flickering effect and I opened up a can of worms. I need to learn how to Bit Blit but I'm not sure if I should do it now or wait till the next project. I think I'll do it now because it's the last thing I will need before I can say Bounce is complete.
I fixed the collision, it seems pretty solid now. Although the collision detection isn't commercial grade, I think for a first attempt it's pretty solid. The biggest problem I had with it is that I'm doing collision on an Ellipse, but I can only use detections on an entire square line. Ideally I would have created a midpoint variable that took the center of the Ball rectangle, and just done collision on that one point.
Back to learning!
I fixed the collision, it seems pretty solid now. Although the collision detection isn't commercial grade, I think for a first attempt it's pretty solid. The biggest problem I had with it is that I'm doing collision on an Ellipse, but I can only use detections on an entire square line. Ideally I would have created a midpoint variable that took the center of the Ball rectangle, and just done collision on that one point.
Back to learning!

0 Comments:
Post a Comment
<< Home