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.
ItsAMeSammieO
@ItsAMeSammieO
Posts made by ItsAMeSammieO
-
RE: Uncaught Exception Error
-
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! -
Unresolved Identifier Error Won't Go Away
Hi all! I just picked up HaxeFlixel today and started the tutorial. I just got stuck with an unresolved error in MenuState.hx. No matter what I do I can't get rid of it. Here's my code:
Any help would be appreciated!
EDIT: I figured it out (I always find out what I'm doing wrong right after I ask about it, it's weird.) I put the clickPlay function in the create function. I just put it outside the create function and into the class function and it works now.