Skip to main content

Report this content

We want the Dreams coMmunity to be a safe, diverse and tolerant place for everyone, no matter their age, gender, race, sexual orientation or otherwise. If you believe this content to contradict these principles, you can file a report for our coMmunity teams to investigate.

Note that misuse of the reporting tool will not be tolerated.

Item being reported:

A forum post by TheOneironaut

I've seen this come up a few times in different variations, but now that I'm working on something with multiple levels, it's starting to become fuzzy again.

Basically, I'm in the process of creating a game with multiple levels that I'll be creating over time.

I'd like to publish the first few linked levels within a larger Dream, but I'd rather the levels themselves weren't accessible out of order in any way since they won't really make sense (let alone ruin some surprises), and may eventually break some functionality. I saw in the comments that it seems to be that if you don't release them as Public, they don't show up. I get the impression that each level has to be made Public, which also means that a player can just jump right into any level at any time. So what's the way around this?

My gut says that I could probably have a running Global Variable that keeps track of which levels are completed as you continue through the Dream/game. If a player decides to jump into Level 3 without completing Level 1 and 2, they would get booted out right away. (Logic detects LastLevelCompleted=2, then continue Dream, else show message and Exit.) Or maybe link them back to the level after the one they last completed?

Does that work? I wasn't planning on using Global Variables, but this might be a good workaround.

Also, since Global Variables can be persistent, do they get reset if you Update one of the levels? For instance, if I have a global variable set from the first level, and someone progresses enough that the persistent Global Variable is now 4, will it reset to 0 if I change something?

Just trying to figure this stuff out...

Oh dear! Your browser is either unsupported or there has been a problem loading the page.