The game file to import and load for this session is 5961_07_05.stencyl
.
Level1
(the word Level followed by the digit one, without any spaces).Level1
).Level1
) and select Duplicate from the pop-up menu.Level2
(the word Level followed by the digit two, without any spaces).We've created a new jungle scene for our players to complete!
Firstly, we renamed our original jungle scene, so it is now called Level1
. We then made a copy of Level1
using the Duplicate feature, and renamed the new scene to Level2
. Thefinal step was to modify the newly created scene, Level2
, so that it presents a new challenge for our players. For testing purposes, we have ensured that the second level is not too difficult to complete, and this will enable us to continue with the development of the game without becoming too distracted by the small details relating to the challenges in the new scene.
It's important to understand that when we duplicate a scene, an exact copy of the scene is made with not only its tiles and actors, but also with all its behaviors! This is why the Drop actors randomly
and Score Management
behaviors work exactly as expected in the newly duplicated Level2
scene.
When testing the new scene, we took advantage of the Test Scene button, which enables us to test the scene that is currently being designed in the Scene Editor. This is an incredibly useful button; without it, we would have to play the whole game, starting with Level1
and successfully complete it, before we could test Level2
. Testing our game in this manner would be a very tedious and time-consuming process with only two levels; imagine if our game had 10 levels to test!
If we tested the game from the start, we would find that upon completion of Level1
, the player would still be presented with the temporary Level Completed scene. Clearly, the desired action upon completion of scene Level1
is to allow the player to progress to Level2
!
The good news is that we've already put much of the framework in place for this task. Firstly, in Chapter 6, Managing information, we created a game attribute for storing the current level, and secondly, we have recently given our two jungle scenes sensible names so that our game will be able to display them in the correct order.
3.142.212.196