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 wall/ramp/yonbox alignment issues (#426) #428

Merged
merged 4 commits into from
Feb 8, 2025

Conversation

skedastik
Copy link
Contributor

The level loader was unnecessarily aligning rectangle orientation and dimensions to pixel boundaries (as defined by Avara classic's PICT parser). This resulted in subtle rounding-induced distortions to wall, ramp, and yon box geometry. This PR removes the pixel alignment logic.

Walls and ramps now render without alignment issues.

Screenshot 2025-02-06 at 8 51 01 PM Screenshot 2025-02-06 at 8 52 09 PM Screenshot 2025-02-06 at 9 22 13 PM

@tra
Copy link
Contributor

tra commented Feb 7, 2025

Fixes #426

@rherriman
Copy link
Member

🤌

@rherriman rherriman merged commit b588817 into avaraline:main Feb 8, 2025
3 checks passed
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.

3 participants