Mini tutorial - Simple way to load sequential or branching path levels using the Asset Registry and naming convention

Link to original article on Notion: Notion – The all-in-one workspace for your notes, tasks, wikis, and databases.

This is a very simple way that you can handle sequential or branching path level loading without needing to make any special data structures. You just read the names of levels in a folder and parse the names. Here’s how:

You can get assets in a directory using the Asset Registry, seen below:



Using a simple naming convention, you can read the name of the current level to determine what stage that you are on, and then what the next possible stages can be. This is an easy way to handle branching paths without having to do any data entry and read from a data table.

You can load one level at a time, or as instances, whatever you need. This is just a quick, simple way to handle being able to find the level assets and tack on a simple form of “metadata” right onto the name, so you don’t have the extra overhead of an additional data structure.

1 Like