Aug
19
2012

Unlimited 2D Perlin Caves

Never-ending Perlin Noise 2D caves. Quick test version, you can move around.. (see also version/image#2 below)

Todo/ideas:
– Movement too fast
– Fog of War?
– Destructable walls? (Problem: How to save them? If you go back to same direction, map is generated on the fly from perlin..how it would know this block was destroyed?)
– Different materials? Sand? Stone?
– Random item spawns?
– Monsters?
– Try Improved Perlin Noise?

Added version 2.0:
– Lights
– Mining laser
– Dirt & Rock layers (rock cannot be destroyed with default laser)
– Block destruction
– MouseWheel camera zoom
– Particles on block destruction

Notes:
– Whaaat?! There is buildin command in Unity, how did I not see it before(?): Mathf.PerlinNoise()

Webplayer:
http://unitycoder.com/upload/demos/UnlimitedPerlinCaves2D/ (v1.0)
http://unitycoder.com/upload/demos/UnlimitedPerlinCaves2D2/ (v2.0)

Download source:
perlincaves.unityPackage (js)

Image#2


10 Comments + Add Comment

Leave a comment

Connect

Twitter View LinkedIn profile Youtube Github Join Discord Twitch Instagram BlueSky

UnityLauncherPro

Get UnityLauncherPRO and work faster with Unity Projects!
*free unity hub alternative

@unitycoder_com

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.