GameMaker Studio 2 (2.0 - 2.2.x)
Icon

Jen_scripts - Terrain

Cloaked Games

You must be logged in to obtain assets

Description

[Jen_scripts] Asset for Procedural Terrain Generation Created by Cloaked Games

Jen_scripts is a function library asset designed for rapid prototyping and development of procedurally generated levels. It contains over 60 iterative functions that can be combined with flexible parameters to create varied, organic, terrain. Jen_scripts supports geometric shapes, and simple randomized distributions, as well as utilize higher-level algorithms to produce a limitless variety of patterns within a 2D grid. The data can then be interpreted as object indices or tilemap data to convert into terrain in your room.

Want to create a lake? Try jen_ellipse and jen_near. Want to create a river? Try jen_wander_direction or jen_wander_line. Want to create a cave? Try jen_automata. Want to create a maze? Try jen_maze_prim or jen_maze_backtrack. Want to create a building? Try jen_grid_room. Want to create an island? Try jen_heightmap_sampling. Something more complicated? Combine the functions together to form terrain that fits your ideal design, using optional arguments for extra flexibility.

Features:

  • Create lines, shapes, and blobs.
  • Create a wandering path between two points or in a direction.
  • Maze generation with Prim’s Algorithm or Backtrack Algorithm.
  • Cave generation with Cellular Automata.
  • Heightmap generation with Average Sampling or Gradient Scattering.
  • Copy sections of your rooms to incorporate hand-crafted content.
  • Tilemap support and programmatic autotiling.

[Version 2.0 Compatability Notes]: v2.0 Update Notes

Please check this document when updating from v1.1 to v2.0.

Documentation: Jen_scripts Documentation

There is full documentation for every [Jen_scripts] function, including example code. You can read the documentation here.

Download the Demo: Jen_scripts Demo

Want to see what [Jen_scripts] is capable of? Download this project and you can see a variety of terrain for yourself that can be created using this asset.

Active Support: Forum Thread

I am continually supporting this asset. Post your questions and suggestions on the GMC forum here. Also, new features and requested features will be added in future updates.

Minimum Requirements:

  • Gamemaker Studio 2 (GML 2.3)
  • Basic understanding of GML.

End User Licence Agreement (EULA).

Age Rating: 4+

Versions

GMS2.3 - Version 2.0.0. Published October 13, 2020

FULL UPDATE NOTES: https://docs.google.com/document/d/1lt9YnWQWK7Bm6Qjp6sVqxggIeerRYpQ_PxDn9HXUnC4/edit?usp=sharing

  • Wandering line feature now has two more powerful functions to use.
  • Heightmaps have been improved, and a second heightmap option has been added.
  • Programmatic autotiling is now supported with jen_instantiate_autotiles.
  • Scale a grid to be larger or smaller using jen_grid_scale.
  • All data structures have getters and setters for more fine control.
  • All data structures have their own create and destroy functions--please use them!
  • Most functions have been rewritten and optimized to be more efficient.
  • Custom function parameters have been completely reworked, they are now much more powerful.

GMS2 - Version 1.1.0. Published October 13, 2020

v1.1 is the most up to date version for GML2.0. It is no longer supported beyond the features which are included in this version.

The v1.1 documentation is available here: https://docs.google.com/document/d/11baloSr_YdPRsQkRh3gILk3kF6EftD3_gxW-r_5CyBQ/edit?usp=sharing

Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait

Back to Top