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 How to Make a Video Game Player Input and Cameras Move the Player with Animation

Accidentally Deleted my code :(

I accidentally deleted everything. I was wondering if anybody had a WORKING code for me, because I have been doing this since 7:00 PM and it is 8:45 PM. I really would appreciate it you could PLEASE help me out..... Thanks again, Liam

1 Answer

Harry James
Harry James
14,780 Points

Hey Liam,

Sorry to hear you lost your code :'( Just one last thing - check your Recycling Bin! Unless you chose to permanently delete the files, they should still be there!

If you did permanently delete your files, unfortunately I am unable to provide you with code files for that particular stage in the project, but I can provide you with the final code files, if you need them to refer to.

You can download my final project files here - Note: The link will only be valid until 03/11/2016 - unfortunately, I can't store it forever as the Unity files are quite large. If you need the file re-uploaded, please let me know in the Comments so that I can arrange this.


In the future though, make backups! Whether this be with Git or by using an external hard drive medium, they're very important! At any point, you could accidentally delete your files like you have or have an unexpected hard drive failure, and you don't want to lose your hard work!

Best of luck :)

Thank you so much :)