Additional Information

Construct 2
Construct 3

WHAT IS THE LEVELSMANAGER PLUGIN FOR?

This plugin has been designed at the request of our community. Its purpose is to help developers maintain the in-game levels (stages). This includes:

  • level availability (if the level/stage is unlocked or not),
  • level properties (points/score earned, difficulty level, achievements unlocked etc),
  • group by “worlds”,
  • set properties by the “world” or individually for each level (cascading hierarchy).

It’s a suitable solution for plenty of games featuring game progression based on completion of consecutive stages such as:

  • platformers,
  • puzzles,
  • shooters,

and more.

WHY DO I NEED IT?

The answer is as simple as the plugin itself – it saves time. You do not need to design the logic of the level management system nor set plenty of variables storing the properties of the levels or even use arrays. Instead – you can just focus on other aspects of your project like “how many points should be required to unlock the next level” or “should every world consists of the same amount of levels or not”.

HOW DO I USE IT?

First of all, at the start of your game you need to create your levels by using two types of actions:

  1. Create Worlds (so the groups of levels),
  2. Create Levels (each with a unique ID) and assign them to existing worlds.

Then, depending on the game progress and your design, you can use other actions, conditions and expression to:

  • Set levels/worlds as unlocked (or locked),
  • Select level/world (set which level or world is currently selected),
  • Set amount of points for each level,
  • Set maximum points for each level individually or for entire world,
  • Set custom parameters for each level or entire world,
  • Set if the level (or entire world) is completed or not.

In addition, the current setup of the LevelsManager can be loaded from a JSON string with just one action. It can also be saved to JSON using a dedicated expression.

LEVELS MANAGER ACTIONS, CONDITIONS

Actions
Conditions
Expressions