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

Pages: 1
1
Ask a Question / My actor gets stuck on the ground
« on: May 13, 2015, 12:31:30 pm »
My game is coming along very well, and I used the Jump and Run kit to make it. All I've done is change what the actor looks like, and instead the tiles it gave me I used my own. But now every now and then I get stuck on the ground. Can anyone tell me why this is happening? Here is the demo: http://www.stencyl.com/game/play/30635

Just jump and run around, and eventually you will see what I'm talking about.

2
Ask a Question / Making an actor not scroll in a scroller?
« on: May 11, 2015, 05:42:35 pm »
I'm trying to implement a health bar so to speak, and I don't want it to move with the scene; I want it to be stationary. How do I keep it in the same spot?

3
Bug Archives / My game won't work, Error #1009!
« on: April 26, 2015, 02:22:37 pm »
My game has been working very well, but all of a sudden when I try to run it I get an error message:

TypeError: Error #1009: Cannot access a property or method of a null object reference.

Here's the whole message:

TypeError: Error #1009: Cannot access a property or method of a null object reference.
   at com.stencyl::Engine/getRecycledActorOfTypeOnLayer()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/Engine.hx:2145]
   at com.stencyl::Engine/getRecycledActorOfType()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/Engine.hx:2138]
   at com.stencyl.behavior::Script$/createRecycledActor()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/behavior/Script.hx:1704]
   at scripts::ActorEvents_432/init()[Source/scripts/ActorEvents_432.hx:85]
   at com.stencyl.behavior::Behavior/initScript()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/behavior/Behavior.hx:94]
   at com.stencyl.behavior::BehaviorManager/initScripts()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/behavior/BehaviorManager.hx:97]
   at com.stencyl.models::Actor/initScripts()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/models/Actor.hx:897]
   at com.stencyl::Engine/initActorScripts()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/Engine.hx:1203]
   at com.stencyl::Engine/loadScene()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/Engine.hx:986]
   at com.stencyl::Engine/begin()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/Engine.hx:806]
   at com.stencyl::Engine()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/Engine.hx:520]
   at Universal/init()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/Universal.hx:61]
   at Universal/onAdded()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/Universal.hx:40]
   at flash.display::DisplayObjectContainer/addChild()
   at Universal$/main()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/Universal.hx:712]
   at Function/http://adobe.com/AS3/2006/builtin::apply()
   at Function/<anonymous>()
   at ApplicationMain$/start()[Export/flash/haxe/ApplicationMain.hx:531]
   at ApplicationMain$/init()[Export/flash/haxe/ApplicationMain.hx:473]
   at lime.app::Preloader/start()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/lime/lime/lime/app/Preloader.hx:217]
   at openfl.display::Preloader/display_onComplete()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/openfl/openfl/openfl/display/Preloader.hx:129]
   at flash.events::EventDispatcher/dispatchEventFunction()
   at flash.events::EventDispatcher/dispatchEvent()
   at scripts::StencylPreloader/onLoaded()[Source/scripts/StencylPreloader.hx:316]
   at openfl.display::Preloader/start()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/openfl/openfl/openfl/display/Preloader.hx:93]
   at lime.app::Preloader/current_onEnter()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/lime/lime/lime/app/Preloader.hx:280]


Can anybody help me? Any help is greatly appreciated.

4
Journals / 3RR0R (Pronounced Error)
« on: April 25, 2015, 12:08:59 pm »
Well, I got Stencyl about a month ago and this is the first game I've ever created with it. I have the main engine working, just need to add levels and enemies.

Story: You are a 6-million dollar robot created by the army, the leading engineer a man named Doctor Mallister. Mallister has dreamed about creating you for years, and only now has he finally gotten the armies' consent to create such an ambitious machine. Now you are 3RR0R, and you must complete the following challenges to deemed fit to protect America.

Here's the latest demo:

5
Ask a Question / Effectively destroying projectiles
« on: April 20, 2015, 09:44:22 am »
In my game the lasers, upon hitting a wall explode and then kill themselves. The only problem is when they kill themselves if another laser is in flight, that laser is destroyed as well. Anybody know how to fix this?

6
Ask a Question / My Actors won't collide
« on: April 15, 2015, 08:48:25 am »
Ok, so I'm trying to make it to when your laser hits a wall, the laser explodes. It works whenever I have the physics of the platform set to "Normal", but as soon as I change that to "Can't move", it doesn't work. I have the groups right so they collide with each other. Any thoughts are greatly appreciated.

7
Ask a Question / Gravity is not working well, at all.
« on: April 04, 2015, 04:38:26 pm »
So I just got Stencyl, and I've been messing around and trying to figure things out. But the gravity is not life-like at all. I put the gravity to 85 down, on vertical. And I made sure the actor was affected by gravity. The actor has a mass of 1 kg. But when I test the scene the actor falls REALLY slowly. I've even put the gravity all the way to 500, and although it did make the actor fall faster it still was not fast enough nor was it life-like. Can someone please tell me what I'm doing wrong? I really appreciate it  :)

Pages: 1