Apress / Devel-2D-Games-Unity

Source Code for 'Developing 2D Games with Unity: Independent Game Programming with C#' by Jared Halpern
https://www.apress.com/us/book/9781484237717
Other
215 stars 53 forks source link

Spritesheets OutdoorsObjects.png is empty #11

Closed josenerydev closed 5 years ago

josenerydev commented 5 years ago

In folder Chapter 4/Spritesheets OutdoorsObjects.png is empty.

JaredHalpern commented 5 years ago

Thank you for raising this. I see what you're saying - when viewing the file on the GitHub site, it appears empty. It's strange because when I clone the repo locally, I do see the OutdoorsObjects.png file correctly in the repo. Can you let me know if you do or don't see it locally in your directory, after you clone?

(locally, after cloning)

screen shot 2019-01-29 at 1 45 03 pm
josenerydev commented 5 years ago

I download the zip files and used git clone and the result is the same. I dont know whats happens. Do you drop the sprite here for me? Thanks! aseprite documents gitclone

JaredHalpern commented 5 years ago

outdoorsobjects

JaredHalpern commented 5 years ago

I dropped it above and for some reason, GitHub doesn't like it. Hm. I've also downloaded the .zip and it looks ok. This is very strange. This sprite has an alpha channel which may be the source of the issue.

JaredHalpern commented 5 years ago

Oh - you're using AESprite to view. I'm able to duplicate that on my machine as well. It's an issue with that software reading the file (could still be the file itself though). Can you see it in Windows/File Explorer, and in Unity itself?

JaredHalpern commented 5 years ago

Figured it out - fixed in: https://github.com/Apress/Devel-2D-Games-Unity/pull/12 Please pull the master branch again and should be fixed.

JaredHalpern commented 5 years ago

Updated README to give you credit as well. :) Thanks again.

josenerydev commented 5 years ago

Thanks your attention