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 Uneven Pixels on Sprites #110

Open
PopeSpaceous opened this issue Oct 31, 2018 · 6 comments
Open

Fix Uneven Pixels on Sprites #110

PopeSpaceous opened this issue Oct 31, 2018 · 6 comments
Assignees
Labels
bug Something isn't working

Comments

@PopeSpaceous
Copy link
Owner

PopeSpaceous commented Oct 31, 2018

When Playing the game, the Main character's features expand and contract oddly.
image
image

This is not because of the sprite work. Not sure what is causing it, could be in the animation tree.

@lejara
Copy link
Collaborator

lejara commented Nov 1, 2018

Its least likely to be the animation tree since its job is to only change to another sprite.

What you see are uneven pixels,
I suspect that it has to do with how the main camera renders the sprite and how the sprite settings are set.

Creating to a pixel perfect camera and adjusting the character sprite to match the spec could fix the problem. Or at least the amount of pixels spanning the sprite need to be 1:1 even pixels with the camera

@PopeSpaceous
Copy link
Owner Author

@lejara I think it might be the resizing of the images. Because they have to enlarge them, some quality might be lost.

@lejara
Copy link
Collaborator

lejara commented Nov 1, 2018

yea, just resizing might fix it. But we need to know that sweet spot for scale, since this type of problem can affect all sprites. Thats why i think changing the camera a bit can save us a lot of work for existing and new sprites in the future.

I think our main goal for this problem is to determined and set a even scale by pixel for all sprites

@lejara
Copy link
Collaborator

lejara commented Nov 1, 2018

This could help us to achieve that goal
https://blogs.unity3d.com/2015/06/19/pixel-perfect-2d/

@lejara
Copy link
Collaborator

lejara commented Nov 1, 2018

Updating to the current LTS Unity version could save us time in fixing this problem, since they added 2D pixel perfect rendering into their API
in Unity 2018.2 and above
https://unity3d.com/unity/whats-new/unity-2018.2.0

#112

@lejara lejara added the bug Something isn't working label Nov 5, 2018
@lejara lejara changed the title Fix the character animations Fix Uneven Pixels on Sprites Nov 11, 2018
@lejara
Copy link
Collaborator

lejara commented Nov 30, 2018

Definitely going to need to overhaul all the sprites scaling. The PPU for each is sprite is all over the place, they need to be the same number, but changing them would change the size of the sprite drastically. This is going to take some time

@lejara lejara self-assigned this Nov 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants