### 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 - Pixel8ed dev

Pages: 1
1
##### Ask a Question / Re: How to check if an actor exists at a certain coordinate
« on: July 23, 2014, 10:32:32 am »
Thank you , you are great, and again sorry if I am causing any trouble! , I am only 15 btw
I'll check it all out tomorrow, can't today

2
##### Ask a Question / Re: How to check if an actor exists at a certain coordinate
« on: July 23, 2014, 04:26:46 am »
@LIBERADO sorry if I am annoying but is there a tutorial somewhere on those 2d list , couldn't find anything, I would be grateful if you could guide me a bit! Thanks

3
##### Ask a Question / Re: How to check if an actor exists at a certain coordinate
« on: July 22, 2014, 07:56:36 am »
yeah.. I tried however the main rules of GOL are

Any live cell with fewer than two live neighbours dies, as if caused by under-population.
Any live cell with two or three live neighbours lives on to the next generation.
Any live cell with more than three live neighbours dies, as if by overcrowding.
Any dead cell with exactly three live neighbours becomes a live cell, as if by reproduction.

I can do the first three however the fourth one I am having trouble with. Here is my problem, I only want to create 1 cell if a cell is surrounded by exactly 2 cells, (I adapted this as I am creating and destroying actors, so there fore cannot detect a dead cell)
do you have any ideas? I really need this to work!
thanks you are great help to me

4
##### Ask a Question / Re: How to check if an actor exists at a certain coordinate
« on: July 22, 2014, 04:04:28 am »
Hey.. Liberado's way of checking for the actor works, however I can't come up with a way to create a living cells, if i create them randomly they will overlap, I have no idea, so if ye have anything it would help , thanks !

5
##### Ask a Question / Re: How to check if an actor exists at a certain coordinate
« on: July 22, 2014, 02:44:07 am »
Thanks guys for the ultra quick answer, I will check it out and see how it works and let ye know!

6
##### Ask a Question / How to check if an actor exists at a certain coordinate
« on: July 21, 2014, 10:52:13 am »
Hey.. I have a quick question
How do I check if an actor exists a a specific coordinate?
What I am trying to make is a cellular automata (Game of life)
first i thought I should use tiles, but figured it would be easier to do with actors,
So any ideas?
What I want to to is basically a behavior that will go e.g if actor exists  at [X of self - 32]  [Y of self] then live
I would do that for each axis

7
##### Extensions / Re: Perlin Noise
« on: June 10, 2014, 02:30:09 pm »
would there be some tutorial on the stencylpedia about perlin noise, and procedural generation?
Would be great, this would help a lot of people

8
##### Chit-Chat / Re: Perlin Noise - How To:
« on: June 10, 2014, 02:21:58 pm »
Great, it is an extension that was looked for by some people.I wrote this as I just thought some people might find this information useful. I'll check out the updated extension tomorrow and update my post to suit the new update

9
##### Chit-Chat / Perlin Noise - How To:
« on: June 10, 2014, 08:16:46 am »
Hey, recently I became interested in Perlin Noise generation, after some research, I found that there is an extension that makes this very easy, however people can have trouble with using the extension. The extension can be found here http://community.stencyl.com/index.php/topic,25079.0.html it is an attachment in the first post.
I found no tutorial on how to use the extension, so here it is:

First make sure you have the extension working, and that it is enabled,
Go into scene events and create an new event "Created"
and in this event you  first must create two attributes 1. an image instance and 2. an image
Then you must set the Image attribute to a blank image
Then run the Perlin noise on the Image attribute
Then you must set the Image instance attribute to an instance of the Image attribute
and finally attach the Image instance to the scene , or where ever you like

Here is a screenshot of the code:

Incase you are wondering about all those parameters in the run perlin block then here they are explained:

baseX:Number — Frequency to use in the x direction.
baseY:Number — Frequency to use in the y direction.
numOctaves:uint — Number of octaves or individual noise functions to combine to create this noise. Larger numbers of octaves create images with greater detail, but require more processing time.
randomSeed:int — If you keep all other parameters the same, you can generate different pseudo-random results by varying the random seed value.
stitch:Boolean — If the value is true, the method attempts to smooth the transition edges of the image to create seamless textures for tiling as a bitmap fill.
fractalNoise:Boolean — If the value is true, the method generates fractal noise; otherwise, it generates turbulence. An image with turbulence has visible discontinuities in the gradient that can make it better approximate sharper visual effects like flames and ocean waves.
channelOptions:uint— A number that tells which channels of RGBA to use.
Red = 1, Green = 2, Blue = 4, Alpha = 8.
If you want green transparent noise you will use 2+8 = 10;
grayScale:Boolean  — If the value is true, a grayscale image is created by setting each of the red, green, and blue color channels to identical values. The alpha channel value is not affected if this value is set to true.

Perlin Noise is very useful for terrain generation.
Although I don't know how to generate terrain from the Perlin Noise, so if anyone knows I would really appreciate it if you told me how, this would help many others too.

I hope you have fun with Perlin Noise
Will finish editing- dont have time right now

10
##### Game Art / Public Domain Game Art
« on: May 15, 2014, 01:53:42 pm »
Hey so, I was browsing through the web looking for a website with Public domain graphics or music but most had other sorts as well such as creative commons.However some people would specifically prefer public domain, I found some useful graphics and music and decided to make a small blog containing those (some art work from Kenney and the open game art bundle)
the graphics are awesome and perfect for beginners and pros or for people like me who have trouble with graphic design, I will try and post anything I find.
It also would be really cool if others could share what they find by clicking the submit button on the blog.
You can also submit your own art work.
before submitting make sure the work is public domain and if you like you can attribute the creator

so here is the link http://publicdomainstuff.tumblr.com/
hope you like it,