Uncaught Exception Error
-
Just started working on my project again, but when I go to test my game, it just crashes. It either crashes when I hit play, or it just doesn't start at all. it gives me this error when I start the game using Neko
Any help would be appreciated!
-
Looks like you are doing something wrong in your
Coin.hx
file at line 11. Looking at the call stack, you might be trying to set a variable on a sprite that you don't have access to?
-
Yeah, that was the reason. I put super(x, y) after the loadGraphic() function. I made super(x, y) before loadGraphic() and that solved the problem.