Home
  • Manual
  • Node Index
  • API
  • Changelog
Search Results for

    Show / Hide Table of Contents
    • Tutorials
      • Creating your first map generator
        • 1. Creating your first map graph
        • 2. Running a graph at runtime
        • 3. Adding more nodes
        • 4. Object placement
      • Basic map types
        • • Cave-like maps
        • • Room-based maps
        • • Sample-based maps
        • • Combining map types
      • More Tutorials
        • • Generating prefabs
        • • Tile/prefab/tilemap set weights
        • • Syncing named color sets
        • • Groups
        • • Notes & comments
        • • Sub graphs
        • • Tilemap Sets
        • • Optimization tips
        • • Static seed (daily challenges)
        • • Running a graph asynchronously or multi-threaded
        • • Object pooling
        • • Tips for rule tiles
        • • Saving and loading maps
      • Tutorials for coders
        • • Running graphs from scripts
        • • Output parameters
        • • Custom nodes
        • • Custom node views
        • • Adding a constant node type
        • • Custom styling for the graph editor
        • • Dependencies for custom nodes
    • Sample Project
    • Troubleshooting
    • Support

    Sample Project

    Map Graph contains a sample project with a bunch of examples. Installing it is easy. It's recommended to install the sample project in a blank project that uses the Built-In Render Pipeline.

    Please make sure you use the default 3D template when installing the sample project.

    Map Graph is developed using its minimum required Unity version, and thus the Rule Tile assets are created using version 1.x of the 2D Tilemap Extras package, whereas the 2D template of newer versions of Unity uses version 2.x. Assets created using version 1.x are not compatible with version 2.x. So this will cause errors.

    After you install Map Graph from the Asset Store, the following window should pop up. (If it doesn't, you can find it under Tools/Map Graph):

    The About Window

    Simply click Install samples to install the sample project.

    Once installation is complete, you'll find a scene called Samples (and the other sample assets) in the Assets/Samples folder.

    Installing the sample project manually

    If the sample project installer is giving you problems, you can try installing the sample project manually.

    Install the dependencies

    First make sure the sample project's dependencies are installed:

    • Open up the "Packages/manifest.json" file in your favorite text editor.
    • Check if the following packages are listed:
      • com.unity.2d.tilemap@1.0.0
      • com.unity.2d.tilemap.extras@1.5.0-preview
      • com.unity.2d.pixel-perfect@2.0.4
    • If any of these packages are missing, add them.

    Unity should now automatically install the missing packages.

    Install the sample project

    Now that the dependencies are installed, you can import the sample project package:

    • Select "Assets/Import Package/Custom Package...".
    • Select the "Samples.unitypackage" file located in the "Assets/Plugins/InsaneScatterbrain/MapGraph.Samples" folder.

    The sample project should now be installed!

    If you're still running into any issues, please reach out through any of the channels described in the support section.

    Credits

    The following assets are used in the sample project:

    • Cartography Pack made by Kenney
    • Dungeon Tileset made by Buch
    • Particle Pack made by Kenney
    • Overworld Tileset made by ArMM1998
    • Planet and Stars Set made by Rawdanitsu
    • Basic Hex Tile Set Plus made by pistachio (Original made by drjamgo)
    • Racing Pack made by Kenney
    • Roguelike/RPG pack made by Kenney
    • Platformer Kit made by Kenney
    • Sci-Fi RTS made by Kenney
    • Pixel Platformer made by Kenney

    Special thanks to the creators of these assets! ❤

    In This Article
    Back to top Generated by DocFX