/E08b-Debugging

An opportunity for you to practice your debugging skills

Primary LanguageGDScriptMIT LicenseMIT

E08b-Debugging

As usual, Fork and Clone this repository.

Complete

This exercise is an opportunity for you to debug syntax, interpreter, and other runtime errors in a fairly-complex project. Some of the syntax and concepts represented in this code may seem foreign or advanced, but if you work systematically, you should be able to address the problems in this code.

This exercise was adapted from the excellent platformer tutorial developed by GDQuest. Once you have corrected the problems, I hope this will provide a starting place for your project (if you have been struggling to get started).

I have introduced eight errors (of different types) into the scripts in this project. Your assignment is to find and correct those errors. Some of them are syntax or interpreter errors, which will prevent the program from running at all. Others are runtime or behavioral errors which may require a little more work to find.

The project is associated with a tutorial (both a free and paid version). The free version is in two parts and is available here:

The original source code is available on GitHub, but please only use it as a point of comparison after you have exhausted all other options.

When you have found all eight errors (one of them is on multiple lines), commit your changes, and turn in the URL of your repository on Canvas.

Errors: new_value instead of new_score - player data line 25 portal lines 22 and 23 indented where they shouldn't be .text instead of .Text - UI line 37 move_right instead of Move_right - player line 27 don't need - player data line 20 enemy sprite visibility on score instead Score - endscreen line 8 don't need - enemy line 17