1 Scene INFINITE Levels by Spawning Levels from ScriptableObject Data at Runtime




Published: 03 Sep 2024

Learn how I used ScriptableObjects to spawn tiles and prefabs into my single game scene to support INFINITE numbers of levels! Using a simple editor tool and the Tilemap, I crafted the levels in the editor, saved them to a ScriptableObject to ensure visual consistency across the levels and keeping a small game footprint.


🔶 ALL THINGS LlamAcademy now available at: https://llamacademy.dev/support including latest tutorials, courses, ways to support, and more! Check it out 🙂

👨‍💻 Get the FULL FREE PROJECT on GitHub: https://github.com/llamacademy/minigolf

🏷️Save 25% on the ultimate C# IDE: JetBrains Rider with code LLAMACADEMY: https://www.jetbrains.com/store/?section=personal&billing=yearly


📚 Resources:

🟠 Editor Tool Tutorial: https://youtu.be/6MkYUYuuhLM

🟠 How I used the Tilemap to build these levels: https://youtu.be/dAAIoJ0chXw

🟠 How to combine meshes at runtime: (coming soon 😉)

🟠 Play the Game on Itch: https://llamacademy.itch.io/minigolf


Some links may be affiliate links, which at no additional cost to you, gives me a small portion of the purchase.


Connect on Social Media

Some links may be affiliate links, which at no additional cost to you, gives LlamAcademy a small portion of the purchase.