A GameMaker Studio 2 example project for an infinite procedural world with three biomes, layered noise terrain, collision, camera movement, and editable code.
Description
Check out version 2.0 !
This is example of infinite procedurally generating world for Game Maker Studio 2+ based on noise like "Perlin noise". You can customize chunk height, chunk width, block size.
What include in this asset:
* Terrain with three biomes with layered noise like "Perlin noise"
* Smart grid collision for player.
* Smooth camera moving and parralax background.
* Full commented and organized code.
Controls:
Show full description...
* 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.
Enjoy!
If you have any questions, please contact me through:
Discord server