Chapter 4 Recap
Chapter 4 focused on Scenes. You learned about...
- The basics of Scenes
- How the camera works and how to control it
- Importing and using Tilesets
- What Regions are and how to use them
- Drawing text and HUDs
- Changing Scenes
- Playing and controlling music, sounds, and sound channels
- Adding and using Backgrounds
- How to customize individual Actors
With all that under your belt, it’s time to take on the Challenge for Chapter 4.
Challenge: Create a “Mini-Dungeon” Action Adventure Game
Dungeons are the heart of an adventure game such as Zelda. Dungeons blend both action and puzzle solving.
Your Task
Design your own mini-dungeon game that includes the following elements:
- Has an intro room with nothing except an entrance to the 1st main room
- At least 3 main rooms
- A final room that simply says "You Win!"
- Every main room has a locked door that prevents you from proceeding until you've satisfied the game's conditions.
- 1 room should involve stepping on a switch to open up the door
- 1 room should involve killing all enemies to open up the door
- 1 room should involve activating two switches. Both must be active to open the door.
- All of the main rooms should contain enemies.
- Background music should constantly play without restarting between rooms.
Here's a Head Start
To make this easy on you, we're providing a scaffold game to work from. That way you can focus on building your dungeon. This scaffold game contains the following:
Feature | Screenshot |
---|---|
A hero who can walk around and shoot energy blasts (use the Z key) | |
Sounds, including sound effects and background music | |
A basic enemy Actor who can walk around randomly | |
A dungeon tileset |
Have fun with this challenge and make it your own. Good luck!
Start with this Project
To help you get started, we’ve created scaffold project, so you don't have to worry about importing any resources at the outset.
Instructions: Import this using File > Import. Requires Stencyl 3.4.0 or later.
Stuck? Want some hints?
-
Hint #1 - Use a Behavior to count the number of enemies in the Scene where the player must kill all of them to progress.
- Hint #2 - Remember you can use Behaviors to destroy the door actor to open the path forward.
The Solution
View the Solution + Explanation
Print Article Edit Article How to Edit an Article5 Comments
This was a great chapter. I feel like I understand scenes a lot better now. However, in the Chapter 4 recap at the top of the page, you mention "•Playing and controlling music, sounds, and sound channels". But I believe that due to reorganization, that topic is now covered in Chapter 5. Just wanted to point that out. BTW, thank you for all of your hard work!
1
I have such a bug here.
I have created a game from the given kit.
Then I put some ( something about 6) enemy actors around on the map.
When I try to shoot the enemies some of them die and some don't. It happens just randomly.
Also can be that this second enemy gets no damage, but the next it does.
I haven't much of coding experience with stencyl, so the only thing I've figured out is that the collision detection in Simple Health Behaviour just sometimes don't work.
Can anyone tell me what could be possibly wrong with it?
Thanks.
0