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

Pages: 1
1
Ask a Question / Re: Bitmap Data help
« on: June 11, 2014, 08:47:40 am »
Nevermind, all sorted. :)

2
Extensions / Re: Perlin Noise
« on: June 10, 2014, 07:08:56 am »
Oooh I see now where I went wrong!
I was using the "when created" event as a behaviour of the scene not as an actual scene event. Duh!
Thank you so much for your help and patience.
I owe you a drink for that one :)

3
Extensions / Re: Perlin Noise
« on: June 10, 2014, 06:43:34 am »
Sorry to be a pain but are you able to elaborate a little more for me? Maybe provide an example I could test.

I have changed it to an image but I still get that error when I try to draw it to the screen.

Please forgive my ignorance. I am starting to get really frustrated at this because I know it should be really simple but I'm just not getting it :(

4
Extensions / Re: Perlin Noise
« on: June 10, 2014, 04:06:55 am »
Hi again Rob1221,

Well, it looks like it wasn't as simple as I hoped.

I tried implementing the Image API method as you previously suggested but no matter what I try I keep getting an error message when testing the scene. I even tried running the scene with just the Perlin Noise block but same deal. I have attached a screenshot of my block setup.

I have a brand new project with a single scene and one scene behaviour. I attach the behaviour to the scene and test but I get the following error message.

An ActionScript error occurred:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
   at PerlinNoise$/runPerlinNoise()[/Users/spardaboy/stencylworks/engine-extensions/perlin-noise/PerlinNoise.hx:29]
   at scripts::Design_1_1_PerlinBehaviour/init()[Source/scripts/Design_1_1_PerlinBehaviour.hx:87]
   at com.stencyl.behavior::Behavior/initScript()[/Applications/Stencyl-full/plaf/haxe/lib/stencyl/1,00/com/stencyl/behavior/Behavior.hx:93]
   at com.stencyl.behavior::BehaviorManager/initScripts()[/Applications/Stencyl-full/plaf/haxe/lib/stencyl/1,00/com/stencyl/behavior/BehaviorManager.hx:97]
   at com.stencyl::Engine$/initBehaviors()[/Applications/Stencyl-full/plaf/haxe/lib/stencyl/1,00/com/stencyl/Engine.hx:1092]
   at com.stencyl::Engine/loadScene()[/Applications/Stencyl-full/plaf/haxe/lib/stencyl/1,00/com/stencyl/Engine.hx:899]
   at com.stencyl::Engine/begin()[/Applications/Stencyl-full/plaf/haxe/lib/stencyl/1,00/com/stencyl/Engine.hx:756]
   at com.stencyl::Engine()[/Applications/Stencyl-full/plaf/haxe/lib/stencyl/1,00/com/stencyl/Engine.hx:500]
   at Universal/init()[/Applications/Stencyl-full/plaf/haxe/lib/stencyl/1,00/Universal.hx:57]
   at Universal/onAdded()[/Applications/Stencyl-full/plaf/haxe/lib/stencyl/1,00/Universal.hx:35]
   at flash.display::DisplayObjectContainer/addChild()
   at Universal$/main()[/Applications/Stencyl-full/plaf/haxe/lib/stencyl/1,00/Universal.hx:684]
   at Function/http://adobe.com/AS3/2006/builtin::apply()
   at Function/<anonymous>()
   at Reflect$/callMethod()[/Applications/Stencyl-full/plaf/haxe/std/flash/_std/Reflect.hx:56]
   at ApplicationMain$/begin()[Export/flash/haxe/ApplicationMain.hx:56]
   at ApplicationMain$/preloader_onComplete()[Export/flash/haxe/ApplicationMain.hx:83]
   at flash.events::EventDispatcher/dispatchEventFunction()
   at flash.events::EventDispatcher/dispatchEvent()
   at scripts::StencylPreloader/onLoaded()[Source/scripts/StencylPreloader.hx:316]
   at ApplicationMain$/onEnter()[Export/flash/haxe/ApplicationMain.hx:75]

I have tried completely reinstalling Stencyl with the latest build along with the Perlin Noise extension. I have even updated flash to no avail.

Any thoughts? I feel it is something wrong with my block layout.

Cheers.

5
Extensions / Re: Perlin Noise
« on: June 09, 2014, 06:16:52 am »
Ok sweet, thanks for the quick response.

I read the information about images but I didn't have any luck yet. I will have a play around with it a bit more. I'm sure I will get it eventually.

It makes sense and seems simple enough but like I said I am very new to this.

Thanks again :)

6
Extensions / Re: Perlin Noise
« on: June 09, 2014, 05:26:05 am »
Hi Rob1221,

I have to admit I am an amateur when it comes to programming and even less experienced when it comes to Stencyl.

I have your extension installed and I can see the blocks under Extensions tab but I have no idea how to generate the bitmap data and then read it out either as an array or even an image. I have researched for hours but still no closer to figuring this out.

Are you able to shed some light on this for me and maybe point me in the right direction?

Any help would be greatly appreciated.

7
Ask a Question / Bitmap Data help
« on: June 09, 2014, 03:31:40 am »
Hi guys,

I have to apologise in advance as I am very new to Stencyl but hopefully someone will be able to point me in the right direction.

I am trying to accomplish something very similar to what is found in this thread here:
http://community.stencyl.com/index.php?topic=10434.0

I know this is probably way out of my league in terms of how advanced the concept is but for my project I believe this to be the most difficult component.

I downloaded the perlin noise extension and have it installed but I am baffled as to how I can generate and read out the bitmap data being generated. http://community.stencyl.com/index.php?topic=25079.0

I know this is a very newbie question but any help is appreciated.

Pages: 1