Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialEthan Raddatz
65 PointsI save the file for the star but when i view it it is just a black screen
i did what it the video tells me to do but it just shows up as a black screen after i added the star
3 Answers
Earvin Asin
3,501 PointsVerify if you named the image correctly. Should be "poison.png"
Acatrinei Leonard Cezar
2,239 PointsI think you just forgot to create the name of star . should be something like this:
game.load.spritesheet('star', 'star.png', 32, 32); I hope will help you !
Julio Flores Diaz
756 Pointsthis exact same thing happened to me so I had to save every time I "createItem"
Steven Parker
231,248 PointsSteven Parker
231,248 PointsThere could be a syntax error. If you share your code perhaps we can help. A great way to do that is to make a snapshot of your workspace and post the link to it here.