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
Related Posts
10 Comments + Add Comment
Leave a comment to Alonso Garrote
Recent posts
- Testing Unity AI Beta
- Ways to Support UnityCoder Development
- Using UI Slider to Create 5-Star Rating Element
- Game Music Library For Unity (editor plugin)
- Fontastic : Easily Test Fonts in Unity Editor!
- GeoTiff Importer & Terrain Generator for Unity
- Create Baked DropShadow for UI images
- .JP2 Ortho Image Converter to PNG/JPG/TIFF
- Convert LAS/LAZ/PLY pointclouds to GLTF (GLB) Point Meshes (standalone converter)
- Detect SRP (URP or HDRP) with Assembly Definition Version Defines
- [LudumDare57] Theme: Depths
- MotionVector Effect: Object “disappears” when paused
Recent Comments
- on [Asset Store] PolygonCollider2D Optimizer
- on Trajectory Test Scene 2.0
- on Vector3 maths for dummies!
- on UnityHub 3.6.0: Remove Version Control & Cloud Dashboard columns
- on Using RenderDoc with Unity (graphics debugger)
- on UI Scroll View automatic Content height
- on [Asset Store] Point Cloud Viewer & Tools
- on [Asset Store] Point Cloud Viewer & Tools
Coin:
CUgDSbRqFcAumDSAcdKDvuXsw26VdkJe8C8WGUQHBAGS
An article by














Added V2.0 webplayer
Never-ending Perlin Noise 2D caves, i love em!
Cant wait for this to get released 😀
When will the source be available?
Looks really good, can’t wait for the source.
When will the source be available?
When will you share the source code?
Hi there, when can we see the source code?, its been like 2 years, please?
thanks for reminding 😮 , source added!
Creating Meshes : Cave generation
http://unity3d.com/learn/tutorials/modules/advanced/scripting/procedural-cave-generation-pt3?playlist=17117