Description

This is simple to use script that allows you to make procedural height map texture. It's fast, on my mid-range laptop takes 300ms to generate. This is stored in surface.

Texture is not seamless

A texture like this can be used in 2D terrain generator top-down or side view ( in this case you want use only one row of this texture ) and 3D terrain generator. It could be used with tiles.

surface = huder_SmoothNoise(size, octaves, scale, persistent);

Arguments:

  • size -- Resolution of surface, size of generated texture
  • octaves -- Number of layers. Each layer is softer than previous (min 1)
  • scale -- Overall noise scale (min 1)
  • persistent -- This value determines roughness of generated texture. I recommends 0.5 for harsh and 1.75 for soft texture

Returns:

  • Return index of created surface. Remember to free this surface if you no longer using generated texture.

End User Licence Agreement (EULA).

Changes in 1.0.1

Re-uploaded for GMS 1.4.1749

Version 1.0.1. Published February 27, 2016

Created with GameMaker: Studio v1.4.1749

Age Rating: 4+

Average Rating

Your review

You can only review assets you've bought.


Gravatar

Anonymous 24 October 2018


Gravatar

Maciej K 15 March 2018


Gravatar

Vincent C 02 February 2018

Very easy to use!

I almost can't believe how easy this is to use! You initialize it then draw. That's it! It generates a random noise every time. If this is not what you want you can always set the random seed manually. 10/10 for its simple code and functionality!


Gravatar

davide m 04 September 2016

Perfect!

When i took this asset i didn't know how to use it for creating levels and i thought it was similar to the other noise assets you can find on the MP... but i was so wrong! Now that i've been practising with grids i can say this is the best noise generator you can find here. I'm using it for creating a "side-view" world, platform style, and it's just perfect, but it can be easily used for creating heightmaps or top down levels too. Thank you so much for sharing this, Huder!


Gravatar

Rene C 31 December 2014

basic

i think some of the math could be explained. like when the surfaces are being positioned and drawn on top of each other.

This review was left for a previous version of this asset.

Package contents

Loading, please wait

What is the issue?

Back to Top