Skip to content

noio/games.noio.planter

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Planter

The plant simulation from Cloud Gardens as a Unity package for level design.

Only Tested with Unity 2022 and up. It should work in older versions, because it's just C#8.0+ features that are missing.

Getting Started

  1. Open the Package Manager in Unity.
  2. Select "Add package from git URL..."
  3. Paste https://github.com/noio/games.noio.planter.git
  4. Open the "Samples" tab and install the "Sample Plant Setup".
  5. Open Sample Plant Setup/Scene/Sample Scene

example.gif

How It Works

Plants are generated based on Branches. Each branch is a small piece of the plant, which will spawn "child" branches in specific positions.

Branches are set up in Branch Templates, prefabs that determine what the branch looks like and where the Sockets are for child branches.

Open up Sample Plant Setup/Sample Branch for an example:

branch_template.png

The Branch Template contains a bunch of configuration determining how and where this branch will grow, this is the meat of the plant setup:

branch_template_inspector.png

For each Branch Socket, you can set which types of branches are allowed to grow there, with a percentage probability:

branch_socket_options.png

About

The plant simulation from Cloud Gardens as a Unity package for level design.

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.meta

Stars

Watchers

Forks

Releases

No releases published

Languages