Errors
We will start with common errors in GameMaker. Things such as undeclared variables or non-existent objects will cause GameMaker to produce an error (stating basic information of what went wrong and where in the code it happened). There is no single cause for this, so we will look at a few common errors that may occur and see how to read them in order to get closer to finding the problem.
Undeclared variable
The following is a screenshot of an error produced by an undeclared variable:
All GameMaker errors look similar to this one. However, depending on the problem, there may be more or less information provided regarding the error.
Here is an image of just the text so that we can better read what is going on:
You will probably notice the lines of hashtags; these are more or less just borders or line breaks. Feel free to ignore them.
The first four lines are important; they show exactly where and in which object the error took place. As you can see, the error states that in action number...