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.


Messages - JohnyRocket

Pages: 1 2
16
Bug Archives / Re: My game won't work, Error #1009!
« on: April 27, 2015, 09:55:06 am »
How can I track down this bug? I'm having a very hard time locating the problem.

17
Ask a Question / Re: Spawning actors?
« on: April 26, 2015, 04:02:09 pm »
Use the "create actor (choose actor type) at (choose actor)" block to create a new actor. For bouncing you could just set the friction really low.

18
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.

19
Journals / Re: 3RR0R (Pronounced Error)
« on: April 26, 2015, 08:19:17 am »
I didn't know if i could only post a demo. If I can then that's great! I'll put a link in once I get it up.

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

21
Chit-Chat / Re: Introduce Yourself!
« on: April 22, 2015, 06:38:45 am »
Hello, I'm Jonathan but all my friends call me Johny. I'm a 14 year old kid interested in game development, and I'm from the US. Still pretty new to Stencyl, but I've done a lot with Scratch and they are similar. Anyways, I will be bugging you guys with a lot of problems with my game ;). Video games I like to play include Clash of Clans (level 118  8) ), Super Smash Bros., and any Nitrome game. Anyways, that's me!

22
Ask a Question / Re: Effectively destroying projectiles
« on: April 20, 2015, 03:46:04 pm »
Ok man, works great now. Appreciate it  :D

23
Ask a Question / Re: Effectively destroying projectiles
« on: April 20, 2015, 01:51:28 pm »
Nope, that didn't help anything  :-\

24
Ask a Question / Re: Effectively destroying projectiles
« on: April 20, 2015, 11:56:18 am »
Here is the code, it's pretty simple:

25
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?

26
Ask a Question / Re: My Actors won't collide
« on: April 15, 2015, 02:43:47 pm »
Ah, and so it is. I fixed it and it works great. Thanks man!  :)

27
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.

28
Ask a Question / Re: Gravity is not working well, at all.
« on: April 05, 2015, 01:48:59 pm »
Actually, it's working perfectly fine now. I know it wasn't a FPS thing though, because when my character went to the left and right, it was moving at the right speed. Anyhow, all is well. Sorry bout that  :-\

29
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 2