Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - designedbydj

Pages: 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


Ask a Question / Die in Pit and Reload not working
« on: February 25, 2014, 06:42:05 am »
Hello there, I'm pretty new to this so the behaviours are all a bit confusing to me.. basically I've used the behaviours from the Crash Course Kit and a couple I downloaded from Stencylforge.. They all work fine except the Die in Pit and Reload behaviour which generates an Actionscript error when my Player dies:

TypeError: Error #1009: Cannot access a property or method of a null object reference.
   at com.stencyl::Engine/cameraFollow()[/Users/dj/Downloads/Stencyl-full/plaf/haxe/lib/stencyl/1,00/com/stencyl/Engine.hx:2879]
   at MethodInfo-3974()[Source/scripts/SceneEvents_0.hx:59]
   at com.stencyl::Engine$/invokeListeners2()[/Users/dj/Downloads/Stencyl-full/plaf/haxe/lib/stencyl/1,00/com/stencyl/Engine.hx:3853]
   at com.stencyl::Engine/update()[/Users/dj/Downloads/Stencyl-full/plaf/haxe/lib/stencyl/1,00/com/stencyl/Engine.hx:2297]
   at com.stencyl::Engine/postUpdate()[/Users/dj/Downloads/Stencyl-full/plaf/haxe/lib/stencyl/1,00/com/stencyl/Engine.hx:2585]
   at com.stencyl::Engine/onUpdate()[/Users/dj/Downloads/Stencyl-full/plaf/haxe/lib/stencyl/1,00/com/stencyl/Engine.hx:2561]

It gives me an option to Dismiss All or Continue, each option giving the same result that the game reloads, but this time the Player is locked into a forward motion so you cant control him. I've attached a Screenshot of the behaviour that I'm using.

Any help greatly appreciated... thanks!

Pages: 1