Skip to content
This repository has been archived by the owner on Mar 22, 2021. It is now read-only.

Asset Pipeline DLL Hoses Characters on Asset Reimport #3

Open
TheTalisman opened this issue Jan 19, 2016 · 0 comments
Open

Asset Pipeline DLL Hoses Characters on Asset Reimport #3

TheTalisman opened this issue Jan 19, 2016 · 0 comments

Comments

@TheTalisman
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant