[PLUGIN] noisejs

0 favourites
From the Asset Store
Antisuspend Plugin for Construct 3 prevents the runtime from getting suspended.
  • noisejs 1.1

    This is a simple adaptation of the noisejs lib created by Joseph Gentle based on code by Stefan Gustavson.

    With this plugin you can easily use 2d and 3d perlin or simplex noise in Construct 2. Set the seed with an action and retrieve values from -1 to 1 through expressions.

    Update 1.1 (11.03.2014)

    • Added action to randomize seed
    • Added property to set default seed
    • Added expression to get seed
    • Fixed problems with the minifier and other minor stuff

    Download the plugin.

    Download a simple example.

    Should be useful for procedural generation and whatever you can think of.

  • Thank you!

  • <img src="smileys/smiley32.gif" border="0" align="middle" />

  • Nice, been wanting this. Thanks, PR!

  • Ooh.. Looks really interesting.

    BTW the help link pixelrebirth.net/plugins don't work.

    Forbidden

    You don't have permission to access /plugins/ on this server.

  • Ooh.. Looks really interesting.

    BTW the help link pixelrebirth.net/plugins don't work.

    Forbidden

    You don't have permission to access /plugins/ on this server.

    Thanks for mentioning! The link should work now.

  • cute :))

  • Just updated the plugin to version 1.1 (see changelog above), which will likely be the final version. Please download it again to avoid possible issues with the minfier. Thanks!

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • great! i wanted it. thank you!

  • Thank you!!!!

  • Thank you for this

  • Awesome Plugin!

    I wanted to know if you could go alittle more in depth when it comes to how i can use this for terrain generation inside construct 2?

    Im making a 2d sandbox game similar to Terraria using arrays right now but im trying to create natural feeling hills and mountains, I would love to know how to make this work in that way.

    Ive asked around but the info on what expressions to use and how to use them inside construct 2 is very limited on the forums.

    Thanks for making this plugin and i look forward to learning how to use this in game.

  • Awesome Plugin!

    I wanted to know if you could go alittle more in depth when it comes to how i can use this for terrain generation inside construct 2?

    Im making a 2d sandbox game similar to Terraria using arrays right now but im trying to create natural feeling hills and mountains, I would love to know how to make this work in that way.

    Ive asked around but the info on what expressions to use and how to use them inside construct 2 is very limited on the forums.

    Thanks for making this plugin and i look forward to learning how to use this in game.

    I didn't really use noise in relation to platformers so far, so I might not be able to give a good answer here. Manipulating the original plugin example a bit I came up with the following: download capx.

    It's very rough of course, but I hope one can imagine how it begins to go in the requested direction. There is of course a lot more that goes into the generation of maps in a game like Terraria. You will have to make up a lot of rules on how the game will create its world. A nice thread about this I found online: Terraria and its random maps.

    Oh, and in case you are having general trouble with getting the most of and understanding the various expressions Construct 2 provides, remember you can always consult the manual.

  • PixelRebirth Thank you! I am opening your capX right now. as for the terrain generation, I have alot of the basics down but what i lack is some basic skills when it comes to Manipulationg the array once it has been created or even before it has been created.

    I have a very toned down version of terraria/minecraft but i lack the skills needed to make more natural feeling terrain.

    Perlin Noise seems to be prettyepic when it comes to this but what i needed to know what the exspessions used to access the logic in this addon. The manual explains all of scirras exspression and i didnt see Perlin Noise there when i looked thats why i came to you for information regarding it.

    The main thing for me is just altering the elevation so the ground appears to be not as flatland. Thanks again for your help, I really need every bit i can get!

  • RookieDev No problem, I hope it helps a bit in understanding the way this plugin works. The main thing you will be using are the expressions returning the noise values at the given coordinates: simplex2(x,y), simplex3(x,y,z), perlin2(x,y) and perlin3(x,y,z).

    There's really not anything more to it, other than setting the seed of course. It might also help to google some general articles/tutorials about perlin noise, terrain generation and related things.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)