Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix camera stuttering on following on size sprite #1462

Merged
merged 1 commit into from
Jan 2, 2024
Merged

Conversation

jwunderl
Copy link
Member

fixes microsoft/pxt-arcade#6115 . Fx8 rounding issue

https://github.com/microsoft/pxt-common-packages/blob/fixCameraOddSize/libs/game/sprite.ts#L112 looks like the root cause (/ potentially better point to fix), putting this up for ref but may change after grabbing lunch to fix over there instead. Need to test more but feels like they could be related to a few of the other issues relating to odd sized sprites in general. e.g. inconsistency in overlaps with 1px wide sprites

@jwunderl jwunderl merged commit 086b232 into master Jan 2, 2024
4 checks passed
@jwunderl jwunderl deleted the fixCameraOddSize branch January 2, 2024 22:24
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.

Sprites other than even X odd/even sizes move unsmoothly horizontally
2 participants