Sorry, we don't support your browser.  Install a modern browser

Let characters have unset variables without crashing#24

So many times when developing a character you miss setting a single value or animation and the game just crashes upon testing. It would be way better if the game just worked even with unselected resources and variables.

This is usually how you solve this issue for if statements for example:

Instead of writing:
If(charAnim == 1)

You write:
If(charAnim != undefined && charAnim == 1)

This allows for example charAnim to be unset without crashing the game. This would severely help creators to make characters despite forgetting to set crucial variables. Maybe it could release a warning instead.
Crashing makes you have to look up error logs and spend significantly more time to research the issue rather than if the game just kept working despite these unset variables.

Thank you for your time!

8 months ago