You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 22, 2021. It is now read-only.
The Asset Pipeline code in chapter 8 has you setting all sprites that are imported from Assets/Art/Platformer to SpriteAlignment.Center. This causes the character entity sprites to get screwed up when they are reimported (for example, when Unity has been upgraded).
While SpriteAlignment.Center is correct for most of the pieces built from the contained images. The player, blob, and treasure chest sprites need to be SpriteAlignment.BottomCenter.
The PreprocessLevelPieces() method described needs to be updated to be more robust or removed entirely to avoid having the entity pieces get messed up.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The Asset Pipeline code in chapter 8 has you setting all sprites that are imported from Assets/Art/Platformer to SpriteAlignment.Center. This causes the character entity sprites to get screwed up when they are reimported (for example, when Unity has been upgraded).
While SpriteAlignment.Center is correct for most of the pieces built from the contained images. The player, blob, and treasure chest sprites need to be SpriteAlignment.BottomCenter.
The PreprocessLevelPieces() method described needs to be updated to be more robust or removed entirely to avoid having the entity pieces get messed up.
The text was updated successfully, but these errors were encountered: