The game file to import and load for this session is 5961_03_12.stencyl
.
We're going to be working in the Scene Designer.
We have created two custom terrain collision shapes within our scene: one rectangle and one circle. The shapes were positioned to overlay scenery that did not have its own collision bounds, but we could have placed our custom terrain shapes absolutely anywhere within the scene, if required.
When testing the game, we can see that the monkey can no longer run past the green pillar at the left side of the scene; it just bumps into the pillar as though it were another actor or a collection of tiles with the appropriate collision bounds.
The game file to import and load for this session is 5961_03_13.stencyl
.
There is a second pillar at the rightmost edge of the scene, and this should also have custom terrain objects drawn over it so that the monkey cannot run past the pillar, to the edge of the screen.
Remember to test the game regularly during the design process to ensure that the monkey can traverse the scene as planned.
When testing the latest changes, if we had controlled the monkey so that it jumped onto the various platforms and then onto the pillar, we would have found that we could make the monkey land on top of the pillar! Is that something that we want the monkey to do? If not, we'll need to make the pillars taller by moving and adding tiles in the Scene Designer. If we modify the tiles that are used to construct the pillar, then we'll also need to redraw the custom terrain shapes to cover the modified pillars.
Again, it's up to us as game designers to determine a scene layout that works, is fun and challenging (but not too challenging) for players to explore, and which does not exhibit any strange behavior, such as being able to make actors jump onto edge-of-scene markers (for example, our pillars).
13.59.114.92