https://bugs.kde.org/show_bug.cgi?id=328504

Jonathan Eagle <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #4 from Jonathan Eagle <[email protected]> ---
I am using Version 26.04.3 of KBreakout (in Ubuntu 24.04) and I have exactly
the same problem.  The vertical displacement (Y-axis) of the mouse is allowed
to exceed the top boundary of the  game screen, and that in turn causes the
paddle to stop responding to the mouse's movement in either direction.  This
even happens when the mouse leaves the area of the brown background image and
goes into the gray menu zone with the Game, View, Settings, Help buttons.

I don't know if that is suppose to be a feature of the game or not, but for new
players it is a massive buzz kill.  The motion of the mouse-directed paddle is
otherwise satisfactory, but losing control when the mouse migrates past the top
of the game screen should not be a feature for anyone learning the game.  And
to lose control of the paddle when the mouse moves into the gray Menu bar
shouldn't be allowed.

Solution: Assuming that the problem is that once the mouse leaves the area of
the background image the program no longer gets mouse positioning information,
and thus the paddle stops responding. The solution seems to be to not let the
mouse cursor leave the boundaries of the background image once play has
commenced.  To do that, when the cursor is about to exceed the minimum value of
say the y-axis, the mouse's y-axis would be updated to its maximum value in
that axis, thus forcing the mouse to stay within the confines of the game. 
While that would keep the cursor moving, it would also make it impossible for
the player to get to the game menu or anywhere else on the screen outside of
the background graphic.  Therefore, there needs to be "buttons" within the
background area of the game, but outside the ball's "bounce zone" (for lack of
a better label) that can be activated with a click of the button, which would
pause/terminate the game and allow normal control of the mouse to be
re-acquired.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to