Skip to content

Fix paddle size exceeding screen bounds#402

Open
cmd05 wants to merge 1 commit intoJoeyDeVries:masterfrom
cmd05:master
Open

Fix paddle size exceeding screen bounds#402
cmd05 wants to merge 1 commit intoJoeyDeVries:masterfrom
cmd05:master

Conversation

@cmd05
Copy link
Copy Markdown

@cmd05 cmd05 commented Aug 6, 2024

Limit the paddle width to a fixed size (like half the screen) so that it does not exceed the screen bounds, which also does not allow the paddle to be moved. The problem is noticeable when ShouldSpawn is called with a lower number, or the game runs for a long period.

breakout-paddle-long.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant