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 trial

Game Development Game Development with Phaser Building a Platform Game with Phaser More on Prefabs

Once completing this lesson, the collectibles are no longer working (eg they do not disappear). Any ideas?

I already checked my code against the 'END' code for lesson 13. I'm stumped. Thank you for your help in advance! :)

1 Answer

Travis Alstrand
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Travis Alstrand
Data Analysis Techdegree Graduate 45,984 Points

Hey Oliver Newton ! :wave:

It's very hard to know what happened or what's going on without seeing any code. To cut the risk of waiting for yet another reply, I would first recommend re-downloading the project files from the Downloads tab below the video, opening them up and then inspecting the code within project-files-by-video > STAGE-2--Building-a-Platform-Game-with-Phaser > 13-more-on-prefabs > END and comparing it to what you have in all of the related files. Hopefully a small difference will stand out and you can make the adjustment.

If you don't see any differences, a link to a GitHub repo with your project code would be ideal, if you can't do that, then if you could paste the relevant code in your reply here, each within sets of triple backticks (see the Markdown Cheatsheet).

Best of luck finding the issue!