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 - rambunctious10

Pages: 1
I draw text on the screen, but it's too long and needs to be separated. I don't know how to do this without using multiple 'draw text' blocks. Any help appreciated.  :)

I have a picture below that has the code of my actor. I get a null object reference saying that it is this actor's code. The problem is: I can't find where the null object reference is. Any help appreciated.

TypeError: Error #1009: Cannot access a property or method of a null object reference.
   at MethodInfo-5381()[Source/scripts/ActorEvents_12.hx:180]
   at com.stencyl.models::Actor/innerUpdate()[D:/Programs/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/models/Actor.hx:1523]
   at com.stencyl::Engine/update()[D:/Programs/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/Engine.hx:2472]
   at com.stencyl::Engine/postUpdate()[D:/Programs/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/Engine.hx:2610]
   at com.stencyl::Engine/onUpdate()[D:/Programs/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/Engine.hx:2603]

Code: [Select]
Engine.invokeListeners2(whenUpdatedListeners, elapsedTime);
Code: [Select]
a.innerUpdate(elapsedTime, false);
Code: [Select]
Code: [Select]

Resolved Questions / Custom Event Will Not Activate [FIXED]
« on: April 15, 2015, 07:57:50 pm »
I have code where if I turn something off (setting the IsOn value to false), it turns off every other actor off by using a 'trigger event' block, but the custom event does not activate. Picture of my code below. Thanks in advance.

Resolved Questions / Check Continuously and Run Code When True [FIXED]
« on: March 26, 2015, 04:02:32 pm »
I want to check a boolean value always, and when that value is true, it runs once.
The problem is that the boolean value is forever turning true.
Below in the code, the lower section, in the Always loop, the code sets 'InRange?' to true multiple times-which messes up the movement because the 'ball' actor gets pushed every time 'InRange?' is set to true.
This has happened to me multiple times where I need to check a value continuously and run the code once when the value is true, but I have never learned how to do this.
Any help is great. Thanks in advance.

Resolved Questions / [FIXED]Faint Grid Lines in Tiles
« on: January 05, 2015, 03:35:01 pm »
In my game (this has also happened in some of my other games), faint gridlines appear on my tiles. How can you get rid of these?

(I'm using Stencyl 3.2)In my game, I have a button that has the On Screen Button behavior, and when I click it, it's supposed to switch to a different scene. Instead it gives me the TypeError: Error #1009. Even if I click on a button that isn't supposed to switch to a scene still gives me the error. Is there a way to fix this? I want to continue with my game. :'(

This is what the Flash player gave me:
Code: [Select]
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at com.stencyl::Input$/simulateKeyPress()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib/stencyl/1,00/com/stencyl/Input.hx:451]
at com.stencyl.behavior::Script/simulateKeyPress()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib/stencyl/1,00/com/stencyl/behavior/Script.hx:1575]
at MethodInfo-4061()[Source/scripts/Design_7_7_OnScreenButton.hx:140]
at com.stencyl::Engine$/invokeListeners2()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib/stencyl/1,00/com/stencyl/Engine.hx:4022]
at com.stencyl.models::Actor/innerUpdate()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib/stencyl/1,00/com/stencyl/models/Actor.hx:1469]
at com.stencyl::Engine/update()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib/stencyl/1,00/com/stencyl/Engine.hx:2471]
at com.stencyl::Engine/postUpdate()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib/stencyl/1,00/com/stencyl/Engine.hx:2632]
at com.stencyl::Engine/onUpdate()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib/stencyl/1,00/com/stencyl/Engine.hx:2625]

My logs of the game are attached to this post.

Pages: 1