Skip to content

Development: Create a Test Scene

Sorra edited this page Nov 12, 2024 · 1 revision

It is possible to setup a specific scene configuration to help test features and experiences. Once configured you can launch the Scenario Player scene and be launched straight into the configuration you created. Here's how to do it.

Define the scene

We will create a scene for testing whether upgrades for Fireballs are impacting both Synthos' fireballs and those from turrets, or not. We will want to create a level that has no enemies and no spawning (to give us time to observe the fireballs), there will be a turret already deployed in the level and the player will have three Fireball upgrades.

  • Open the ROgueWave_ScenarioPlayer scene
  • Right click in the Assets/_Rogue Wave/Resources/Scenarios directory and select Create/Rogue Wave/Scenario Descriptor
  • Name it appropriately (e.g. Fireball Upgrades)
  • Create a Display Name and Description (useful for finding the right scenario in the future0
  • By default a sparse level will be created, you can optionally change the Level Definition to create a more specific level if needed.
  • Add this Scenario Descriptor to the Scenario Manager on the RW_Scenario_Game_Mode

Play your scene and you should have a small, mostly empty scene with a standard test character. Now we need to configure the character to ensure they have Synthos and fireball upgrades.

  • In your ScenarioDescriptor there is a Recipes section, these recipes will be added to the player on spawning. Add Synthos, Turret and 3 Fireball damage upgrades.

Now, when you run the scene you will have a turret ready for deployment and you can test the upgrades are working.

Clone this wiki locally