Username or E-mail
Password (Forgot?)
New? Sign Up
Join or Sign In
Forums Stencylpedia Stencyl TV Translations Go Pro - Plans & Pricing Download Stencyl


Switch to Book Layout

1: Getting Started

  • Getting Started
  • Crash Course
  • Crash Course 2
  • StencylForge

2: Building Logic

  • What is a Behavior?
  • Creating a Behavior
  • Attributes
  • Game Attributes
  • Attribute Types
  • Events
  • Our Behaviors

3: Actors

  • What are Actors?
  • Animations
  • Motion & Forces
  • Physics
  • Controls
  • Collisions & Groups
  • Killing vs. Recycling
  • Tweening
  • Effects
  • Chapter 3 Challenge

4: Scenes

  • Scene Basics
  • The Camera
  • Tilesets
  • Regions
  • Drawing Text & HUDs
  • Changing Scenes
  • Music, Sounds & Channels
  • Backgrounds
  • Customizing Actors
  • Chapter 4 Challenge

5: Game Mechanics

  • Saving
  • Pausing
  • 3rd Party Services
  • Web Requests

6: Advanced Topics

  • Get/Set Attributes
  • Custom Events
  • Blending Modes
  • Lists
  • Custom Blocks
  • Continuous Collisions

7: Testing & Tuning

  • Testing Games
  • Optimizing Performance 1
  • Optimizing Performance 2

8: The Last 10%

  • Flash Publishing
  • Standalone Apps
  • iOS App Store
  • Chrome Store
  • Making Money

M1: Mobile - Intro

  • Getting Started
  • Testing on your Device
  • Flash -> iOS Guide

M2: Mobile - Basics

  • Atlases
  • Drawing Text
  • Retina Display
  • Accelerometer
  • Joystick
  • Universal Games

M3: Mobile - Services

  • iAds
  • Game Center
  • In-App Purchases

M4: Mobile - Publishing

  • Debugging
  • Publishing to the App Store
  • Optimizing Performance
  • Promoting your Game

A: Troubleshooting

  • Showstoppers
  • General FAQ
  • iOS FAQ
  • The 90% Memory Warning
  • Recovering Broken Games
  • Can't Export to SWF
  • Reloading Documents
  • Generating Logs
  • Flash Security Settings
  • How to Report Bugs

B: How-To Guides

  • Importing Assets
  • Scene Designer
  • Code Mode
  • Font Editor
  • Pencyl (Image Editor)
  • Tile Editor (Shapes)
  • Game Cleaner

C: Reference

  • Glossary
  • Block Reference
  • Useful Shortcuts
  • Stencyl API

D: Resources

  • Stencyl TV
  • Abigayl's Guides
  • Giving Critiques
  • Creating Extensions
  • Translating Stencyl
  • Credits

3.0 Drafts (In Progress)

  • What's New in Stencyl 3.0?
  • Setup (Android)
  • Setup (Desktop)
  • Setup (iOS) - Concepts
  • Setup (iOS) - Mac
  • Setup (iOS) - Windows
  • Testing iOS on Windows
  • iOS Troubleshooter

  • Mobile App Scaling
  • Full Screen Mode
  • Simple Physics
  • Backgrounding an App

  • iOS App Store
  • Mac App Store
  • Windows Store
  • Google Play
  • HTML5

  • Android Ads
  • Android Purchases (WIP)
  • 4" Form Factor (iPhone 5)
  • Mobile Input
  • Mobile Features

  • Extending the Engine
  • iOS / Android Extensions
  • Developing the Official Extensions
  • Developing the Engine

  • iAds (Revised)
  • Game Center (Revised)
  • iOS Purchases (Revised)
  • Atlases (Revised)
  • Drawing Text (Revised)
  • Joystick (Revised)
  • Accelerometer (Revised)
  • Sounds (Revised, WIP)
  • Debugging (Revised, WIP)
  • iOS Performance (Revised)
Level: Beginner

Chapter 4 Challenge

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

That’s even more ground covered than in Chapter 3!

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:

  • A hero who can walk around and shoot energy blasts (use the Z key)

    stencyl-hero-actor
     
  • Sounds, including sound effects and background music

    stencyl-sound-icon
     
  • A basic enemy Actor who can walk around randomly

    stencyl-slime-actor
     
  • A dungeon tileset

    stencyl-dungeon-tile

Have fun with this challenge and make it your own. Good luck!

 

Download the Project

- Unzip and stick the project into your Games directory as "Chapter 4 Challenge"

- Don't know where your Games directory is? Click the "View Games Directory" button at the bottom of the Welcome Center (the first screen you see after opening Stencyl)

 

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.

 

[Looking for the full solution?]



Last Updated: 2012-05-13 by Ceric

8402 have read this article
Disclaimer: The Stencyl Team does not actively monitor comments on articles. If you're seeking help for your game, please ask a question on the forums. Thanks!
1 Comment
LontaBeans
hi!
-4 7 months, 3 weeks ago



Commenting Guidelines

Sign In to Comment

Make Games

  • What is Stencyl?
  • Roadmap
  • Pricing

Play

  • Arcade
  • Showcase

Community

  • Forums
  • Chat
  • Translations

Help

  • Stencylpedia
  • Stencyl TV

About Us

  • Blog
  • Contact Us
  • Press
  • Privacy
Follow Stencyl on Twitter



© 2013 Stencyl, LLC.