egordorichev / LastTry

:deciduous_tree: LastTry is open-source game written in Java, using LibGDX library and inspired by Terraria :deciduous_tree:
MIT License
119 stars 17 forks source link

Broken hair #39

Closed Storm-Peter closed 7 years ago

Storm-Peter commented 7 years ago

The player's hair flickers, appearing and disappearing regularly as you walk along the ground. But this doesn't happen while moving through the air, it only happens during the walking animation.

On the main branch the hair was sometimes moving towards the player's feet too so I removed this line from org.egordorichev.lasttry.entity.player.PlayerRenderer:

pixmap.drawPixmap(hair, 0, 748);

and it stopped happening, I have no idea what that line was for but removing it didn't seem to break anything.

egordorichev commented 7 years ago

I know this bug. It is a bad texture. If you look at it, you will find that hair textures are not so big, as other ones. This will be fixed just with replacing textures. Thank you for your attention!

egordorichev commented 7 years ago

playerhair1

Here is the hair.

playerhead

And here is the head. You can see, that we have some hair missing.

egordorichev commented 7 years ago

Fixed.