Skip to content

Paddle: compare ballX coordinate with horizontal resolution#655

Merged
JF002 merged 1 commit intoInfiniTimeOrg:developfrom
NeroBurner:paddle_hor_fix
Oct 16, 2021
Merged

Paddle: compare ballX coordinate with horizontal resolution#655
JF002 merged 1 commit intoInfiniTimeOrg:developfrom
NeroBurner:paddle_hor_fix

Conversation

@NeroBurner
Copy link
Copy Markdown
Contributor

Fix the comment as the comparison checks if the ball is at the right
side of the screen.

Compare the x coordinate of the ball with the horizontal resolution of
the screen, instead of the vertical resolution. On the PinePhone this
does make no difference as we have square 240x240 screen. Change it
anyways to be completely correct.

@NeroBurner NeroBurner force-pushed the paddle_hor_fix branch 3 times, most recently from 4567956 to 5c6849a Compare September 20, 2021 19:05
Fix the comment as the comparison checks if the ball is at the right
side of the screen.

Compare the x coordinate of the ball with the horizontal resolution of
the screen, instead of the vertical resolution. On the PinePhone this
does make no difference as we have square 240x240 screen. Change it
anyways to be completely correct.
@NeroBurner
Copy link
Copy Markdown
Contributor Author

rebased on current develop branch

@JF002
Copy link
Copy Markdown
Collaborator

JF002 commented Oct 16, 2021

Thanks!

@JF002 JF002 added this to the 1.7.0 milestone Oct 16, 2021
@JF002 JF002 merged commit fafb998 into InfiniTimeOrg:develop Oct 16, 2021
@NeroBurner NeroBurner deleted the paddle_hor_fix branch October 16, 2021 17:14
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.

4 participants