Questions tagged [collision]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
262 views

ball colliding with scoreboard

Just as the title says. When I remove the function to make the scoreboard the ball moves past the middle of the screen. I've tried using draw() and sendToBack() on the label thinking the ball would ...
0
votes
2answers
95 views

Pset3 Breakout: Question on variable scope in while loop

I'm working through pset3 and noticed that when I declare my ball's velocities outside the while loop, my collisions against the wall's edges work, i.e. the ball bounces away, but when the velocities ...
1
vote
2answers
653 views

Ball moving problems

I’m having some problem with the movement and collisions of the ball. I’ve searched for answers here but I still cannot figure out how to do what they suggested. The ball gets stuck in the paddle ...
1
vote
0answers
70 views

Ball mysteriously passes through one specific block, but successfully collides with all others, when block height is less than 11 [closed]

This problem is fixed but enlarging the block height from 10 to 11, however I'm wondering why it happened in the first place One of the GRects (or in my case, I used GRoundRect), or "block", doesn't ...