-3
\$\begingroup\$

Does Gamemaker have a way to treat uninitialized values as 0?

\$\endgroup\$
1
  • 1
    \$\begingroup\$ Although the option is available, like Byte56 said, I strongly discourage its use, since it will create problems with typos. Always initialize necessary variables in the "Create" event. \$\endgroup\$ Commented May 11, 2016 at 19:50

1 Answer 1

1
\$\begingroup\$

GameMaker has an option to turn on "Treat uninitialized variables as 0" in the error options. See the documentation here.

\$\endgroup\$

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.