Source code and assets for Plantasia - a small Unity game.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Content
UnityPackageManager
UnityProjects
.gitignore
LICENSE
Projeny.yaml
README.md

README.md

Plantasia screenshot

Plantasia

Plantasia is a small game about cultivating your very own plant-covered island paradise! Take a small, barren island floating in space and fill it with wondrous flora! Explore the universe to discover new species and help them grow. The game is available (for free) on Windows, Mac and Linux via itch.io and Android devices via the Google Play Store.

This repository contains all the custom source code and assets that make up the Plantasia Unity project. Most of these are in the Source folder but some other content, such as Blender files and vector graphics, that aren't used in-game directly can be found in the Content folder.

Unless otherwise noted (in the Credits section) all code and assets are dedicated to the public domain via the CC0 license, which means you're free to use them for any purpose! No warranty is implied, though, so use at your own risk. No need to credit me if you use anything either, although it's always appreciated!

Building and Running

Plantasia uses Projeny to manage its various dependencies, including Unity asset store assets which cannot be uploded to GitHub for licensing reasons. But you don't actually need to use Projeny to get Plantasia running locally (which is lucky, because it only works on Windows at the moment).

Common First Steps

With Projeny (Windows only)

  • Install Projeny using the instructions here
  • Put the dependcies from above somewhere that Projeny can find them, for example UnityProjects/Plantasia/Packages. I keep all my cross-project Projeny packages in a special folder that's referenced from C:/Users/username/Projeny.yaml:

Global Projeny.yaml file

  • Side note: You can find more details about the various Projeny config files and how to set them up on the project's GitHub page.
  • Ensure that the names of the folders that each dependency lives in match the names defined in UnityProjects/Plantasia/ProjenyProject.yaml (as shown below)

Global Projeny.yaml file

  • In the root Plantasia directory (where Projeny.yaml) lives, use PowerShell or the command prompt to run prj --init which initialises Projeny and creates a folder for each platform in UnityProjects/Plantasia/
  • You should now be able open any of the platform-specific projects (e.g. UnityProjects/Plantasia/Plantasia-Windows/) with Unity and open the Main scene to play the game!

Without Projeny (all platforms)

  • Create a new Unity project called Plantasia (or whatever you like)
  • Overwrite the project settings files using the ones found in UnityProjects/Plantasia/ProjectSettings
  • Copy everything from the UnityProjects/Plantasia/Packages/Source folder into your Assets folder
  • Copy all of the dependencies listed above into the Assets folder
  • Open the Main scene and run the game!

Credits

Creative Commons Assets

Open Source Software

Unity Asset Store Assets (Free)

Support

If you found Plantasia fun or the source useful, you can help enable me to keep my work free by buying me a cofee, donating via Paypal or becoming a patron on Patreon. Alternatively, sharing via social media is great, too. Thank you! <3