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

Sprite Rendering Imprecision(?) (especially on bound Helpers) #1751

Open
GodzillaFightn opened this issue Apr 25, 2024 · 2 comments
Open

Sprite Rendering Imprecision(?) (especially on bound Helpers) #1751

GodzillaFightn opened this issue Apr 25, 2024 · 2 comments

Comments

@GodzillaFightn
Copy link

Describe the bug

Small, usually imperceptible rounding(?) error during sprite rendering in non-integer positions.
Generally unimportant, but is more easily noticed and can potentially look hideous on small-scale and low-detail sprites.

To Reproduce

  1. Download purpose-made character renderBug ( https://www.mediafire.com/file/i5jhaknnlfv408n/renderBug.rar/file )
  2. Play as it in Training mode
  3. Jump, and go frame by frame at the peak. Pink pixels are normally hidden, but become visible during rendering errors. Slight dependency on resolution but should always be visible to some degree

Expected behavior

No rendering imprecision, as this only started happening at all during 0.99RC builds after 0.98.2.

Screenshots / Video

Screenshot from fullgame ft. bug to show why I would bother making an issue about a minor rendering error, the left being how it normally appears and the right being the shader used in-game:
ikemen render bug

Engine Version (or source code date)

0.99RC builds, 0.99 itself, and current Nightly build as of issue creation

Operating system

Windows

Extra context or search terms

This is especially noticeable on Helpers that bind to a parent/root, despite the fact they should be in the exact same position.
Currently preventing me from upgrading past 0.98.2, as it would require compromising the visual style to an unacceptable degree and/or rewriting pos/vel with vars to ensure it only ever uses integers.

@potsmugen
Copy link
Contributor

I think this just comes with the territory when we have support for characters in any resolution. Maybe separating video and game resolution would address this.

@GodzillaFightn
Copy link
Author

Fair enough. I went and checked on a 1:1 scale resolution, and it seems to happen there too unfortunately... I thought I remembered it working there at least, but alas.
( hard to do outside of a fullgame so for reference, another screenshot )
Screenshot_12

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

No branches or pull requests

2 participants