GameMaker Studio 2 (2.3)
Icon

Infinite world chunk system

Limekys

You must be logged in to obtain assets

Description

You can find this asset on itch.io for lower price: https://limekys.itch.io/infinity-2d-procedurally-generation-world

This is example of infinite procedurally generating world with 3 layers of grids (foregrounds blocks, middle blocks and background blocks). You can customize chunk height, chunk width, block size. I use this infinite world chunk system for my game "Sandoria", you can check it on this site

DEMO 1.3.0

Download DEMO

What include in this asset:

  • Terrain with three biomes with layered Perlin Noise.

  • Grid collision for player.

  • Smooth camera moving and parralax background (written by Shaun Spalding).

  • Smooth zoom view.

  • Full commented and organized code.

Controls:

  • WASD - move player.
  • Arrow left - teleport player to 100'000 blocks left.
  • Arrow right - teleport player to 100'000 blocks right.
  • F - turn on/off flying.
  • Page Up and Page Down - Zoom view camera.
  • Right mouse click - place block. With Ctrl place to back and front.
  • Left mouse click - destroy block. Witch Ctrl destroy block on all layers.
  • R - restart the game.
  • ESC - exit from game.
  • G - turn on/off grid drawing of chunks.
  • C - delete current world's seed chunks.

Check "oInit" object if you want to make different worlds!

Enjoy! :D

If you have some problems, please contact with me through this:

Discord: Limekys #7583

VK: https://vk.com/limekys

Twitter: @Limekys

End User Licence Agreement (EULA).

Age Rating: 4+

Versions

GMS2 - Version 1.2.0. Published February 25, 2020

  • Rework world creating system, now with layered perlin noise
  • Rework caves, now with perlin noise
  • Optimized of creating draw chunks
  • Added DEMO in description

I rewrote many scripts, i recommend to delete previous scripts, then add new.

GMS2.3 - Version 1.3.0. Published March 2, 2021

  • The project has been updated to the latest version of GMS 2.3+ to support new scripts
  • More compact code and content of resources in the project.
  • Improved terrain generation.
  • Improved caves generation.
  • Faster and stable chunk generation.
  • Faster and optimized player collisions.

Add new DEMO.

Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait

Back to Top