1
Ask a Question / Error with jump behaviour
« on: March 14, 2014, 02:38:14 am »
Hi I'm running Stencyl 3.0 on Mac OS X Mavericks.
My simple platformer based on the Crash Course Kit and which uses behaviours from the Platformer Movement pack was working great until I suddenly started getting this error:
[ERR] java.lang.NullPointerException
[ERR] java.lang.NullPointerException
[LOG] Unexpected problem on thread AWT-EventQueue-0: null
At first it rendered my game unusable, when I tested the scene my Player would not be visible and no controls would do anything, it was totally frozen. After deleting that Actor and creating a new identical one I can now move the Player around as before but I've noticed I keep getting this error whenever I add the Jumping behaviour. The walking behaviour also does not function properly with the Player frozen in the Walking animation.
The problem is not specific to this game either. I created an entirely new game using the Jump and Run kit and I get the same Error code and the main Actor will not Jump.
Any help would be hugely appreciated, this project is for a student competition and my deadline is Tuesday!
Kind regards
Daniel
My simple platformer based on the Crash Course Kit and which uses behaviours from the Platformer Movement pack was working great until I suddenly started getting this error:
[ERR] java.lang.NullPointerException
[ERR] java.lang.NullPointerException
[LOG] Unexpected problem on thread AWT-EventQueue-0: null
At first it rendered my game unusable, when I tested the scene my Player would not be visible and no controls would do anything, it was totally frozen. After deleting that Actor and creating a new identical one I can now move the Player around as before but I've noticed I keep getting this error whenever I add the Jumping behaviour. The walking behaviour also does not function properly with the Player frozen in the Walking animation.
The problem is not specific to this game either. I created an entirely new game using the Jump and Run kit and I get the same Error code and the main Actor will not Jump.
Any help would be hugely appreciated, this project is for a student competition and my deadline is Tuesday!
Kind regards
Daniel