In the current version, I have often noticed the ball reversing direction unexpectedly on bounce. This tends to occur when the ball is bouncing along a wall of indestructible blocks, such as in level 8, and hits the boundary between two adjacent blocks. Reproducible: Sometimes
Git commit c0d7daa0789fb8c7bf798c2a19eab764f9205d10 by Julian Helfferich. Committed on 23/07/2016 at 18:31. Pushed by helfferich into branch 'master'. Fix collision detection. When the ball intersects with two bricks after a time step, a function was called to calculate the overlap with each of these bricks. Due to a bug, the calculation always returned NaN and the ball always bounced off of the second brick (independent from the overlap). This bug has now been fixed. The bug caused the ball to frequently change direction on a bounce. This issue is now fixed. FIXED-IN: 16.08 REVIEW: 128472 M +3 -3 src/qml/logic.js http://commits.kde.org/kbreakout/c0d7daa0789fb8c7bf798c2a19eab764f9205d10
Git commit c685bcedba0d3c5fa5d3e8470b1c5a1cd4e52744 by Julian Helfferich. Committed on 23/07/2016 at 18:45. Pushed by helfferich into branch 'Applications/16.08'. Fix collision detection. When the ball intersects with two bricks after a time step, a function was called to calculate the overlap with each of these bricks. Due to a bug, the calculation always returned NaN and the ball always bounced off of the second brick (independent from the overlap). This bug has now been fixed. The bug caused the ball to frequently change direction on a bounce. This issue is now fixed. FIXED-IN: 16.08 REVIEW: 128472 M +3 -3 src/qml/logic.js http://commits.kde.org/kbreakout/c685bcedba0d3c5fa5d3e8470b1c5a1cd4e52744