Crash Course: Let's Make a Game! (Part 2)

by Jon (Updated on 2015-10-17)

Part 1 (Intro) - Part 2 (Resources) - Part 3 (Actors) - Part 4 (Create a Scene) - Part 5 (Test your Game)

Game Resources (Part 2 of 5)

From the Dashboard, we can create new resources, import external ones or open existing ones. In the Crash Course, we’ve included all the resources you’ll need to get started. Let’s go over them. Dashboard

The Player Actor

We’ll start by locating the Actor Type that will serve as our playable character.

Definition: In Stencyl, anything that can move or be interacted with is considered an Actor. This includes playable characters, enemies, user interface elements, etc. An Actor Type is a template for Actors, while Actor usually means a particular instance of a type. Often, the two terms may be used interchangeably in the community.

  1. First, click on the Actor Types entry, located under RESOURCES in the Dashboard’s sidebar.


    Note: You'll see a small number "2" next to the button. That number indicates the total number of actors in your game. Similarly, the numbers next to the other resources indicate the number of other types of resources we have.

  2. Now, a list of all the Actor Types in your game will appear. As expected, you’ll see two here, one called Noni, the other called Clown. Noni is going to be our player-controlled Actor Type.

    Actor Types

  3. If you double click on the Noni icon, Stencyl will open it inside the Actor Type Editor.


    Definition: The Actor Type Editor is one of several resource editors inside Stencyl. It allows you to customize an Actor's appearance, behavior, and physical properties.

We’ll come back to this editor soon, but for now, let’s check out the rest of the resources we’ll be using.

The Enemy Actor

  1. Flip back to the Dashboard by clicking on its tab.


  2. Now open up Clown, the Actor Type we’ll use as our enemy.


    Tip: Prefer to open things up using the keyboard? Type Ctrl-O (or Command-O on Mac). This will bring up a dialog in which you can type the name of any resource. Use the arrow keys to fine-tune your selection and press Enter/Return to confirm your selection.


Now let's look at our Tileset.

Definition: A Tileset is a collection of rectangular tiles that can be used to build game levels (known as Scenes in Stencyl).

  1. Click back to the Dashboard Tab, then click on the Tilesets category.


  2. Open up the Grass Land Tileset.

  3. As you’d expect, an editor pops up in a new tab. This time, it’s the Tileset Editor.

    Tileset Editor


Let’s look at our Sounds next. Click the Sounds button in the Dashboard. You’ll see that two Sounds are already there: Stomp and Jump.


Feel free to open up one of them to check out the Sound Editor.


Now, let’s look at our Behaviors, specifically, Actor Behaviors, located in the Dashboard under LOGIC.

Shown below are the five Behaviors we’ll be using in the Crash Course:


Note: Behaviors control all game logic and player interaction; they're what make every game "tick."

Let’s just take a quick peek inside one of these Behaviors. Double-click on Walking to open it. It will open inside Design Mode.

Design Mode

There’s a lot going on here, and we’ll talk about it further later on. Design Mode is a powerful tool that makes designing complex logic quite straightforward. We have a whole tutorial dedicated to helping you learn the workings of this editor. For now though, just know that it exists.

Note: Prefer typing code instead? We offer two ways to add code to your games: a dedicated Code Editor (or hooks to use your favorite text editor) and special Code Blocks that let you insert code into Design Mode.


When you’re working on your game, it’s a very good idea to save frequently. Just click the Save Game button in the main toolbar to do so, or hit Ctrl-S (or Command-S on Mac)

Save Game

Continue to Part 3 →

Print Article Edit Article How to Edit an Article
Disclaimer: Use comments to provide feedback and point out issues with the article (typo, wrong info, etc.). If you're seeking help for your game, please ask a question on the forums. Thanks!


I just started the stencil for beginners. I imported the Crash Course Kit. I followed the instructions to create a game. Now the Crash Course Kit has disappeared without starting it and I don't have the two Actors. Any help?
0 1 year, 2 days ago
I think it's a good idea to write it as a stencyl file, I'm teaching it to my students and last semester it took them a longer time to import the crash course as a folder. Thanks for that. The only problem is that they will probably try to double click and open it in stencyl, while it only works for me if I use the import.
0 1 year, 3 weeks ago
When I'm creating a new game I recieve this log

Sorry for my bad English, I'm Italian

2015-12-17 17:00:55,032 INFO [main] stencyl.sw.Session: Logfile: C:\Users\francesco\AppData\Roaming\ Stencyl\stencylworks\logs\2015-12-1 7_17-00-54.log
2015-12-17 17:00:55,037 INFO [main] stencyl.sw.Session: OS Name: Windows NT (unknown)
2015-12-17 17:00:55,037 INFO [main] stencyl.sw.Session: OS Version: 6.2 (64-bit)
2015-12-17 17:00:55,038 INFO [main] stencyl.sw.Session: Java Version: 1.6.0_31
2015-12-17 17:00:55,038 INFO [main] stencyl.sw.Session: Stencyl Version: 3.3.0 (b8281)
2015-12-17 17:00:55,038 INFO [main] stencyl.sw.Session: Stencyl Workspace: C:\Users\francesco\AppData\Roaming\ Stencyl\
2015-12-17 17:00:55,039 INFO [main] stencyl.sw.Session: Current Working Directory: C:\Program Files (x86)\Stencyl
2015-12-17 17:00:55,059 DEBUG [main] stencyl.sw.util.FileHelper: Deleting: C:\Users\FRANCE~1\AppData\Local\Tem p\stencyl2420165256510445394
2015-12-17 17:00:55,061 INFO [AWT-EventQueue-0] stencyl.sw.SW: Initializing Stencyl.
2015-12-17 17:00:55,179 DEBUG [AWT-EventQueue-0] stencyl.sw.editors.game.advanced.En gineExtension: Loading engine extensions...
2015-12-17 17:00:55,180 DEBUG [AWT-EventQueue-0] stencyl.sw.util.FileHelper: Contents of C:\Users\francesco\AppData\Roaming\ Stencyl\stencylworks\engine-extensi ons: []
2015-12-17 17:00:55,180 INFO [AWT-EventQueue-0] stencyl.sw.editors.game.advanced.En gineExtension: Engine Extensions: []
2015-12-17 17:00:55,184 DEBUG [AWT-EventQueue-0] stencyl.sw.util.FileHelper: Contents of C:\Users\francesco\AppData\Roaming\ Stencyl\stencylworks\extensions: []
2015-12-17 17:00:55,556 DEBUG [AWT-EventQueue-0] stencyl.sw.app.doc.Workspace: Activated: Welcome Center
2015-12-17 17:00:55,559 DEBUG [AWT-EventQueue-0] stencyl.sw.app.App: Silent Authentication.
2015-12-17 17:00:56,177 DEBUG [pool-1-thread-1] stencyl.sw.app.tasks.AuthenticateTa sk: Response: user:::plans0
2015-12-17 17:00:56,178 DEBUG [pool-1-thread-1] stencyl.sw.util.FileHelper: Deleting: C:\Users\francesco\AppData\Roaming\ Stencyl\stencylworks\prefs\auth.txt
2015-12-17 17:00:56,181 INFO [pool-1-thread-1] stencyl.sw.app.tasks.AuthenticateTa sk: Logged in as: FrancyP
2015-12-17 17:00:56,182 INFO [pool-1-thread-1] stencyl.sw.app.tasks.AuthenticateTa sk: Usergroup: Registered
2015-12-17 17:00:56,693 DEBUG [pool-1-thread-1] stencyl.sw.app.tasks.AuthenticateTa sk: 200
2015-12-17 17:01:18,697 DEBUG [AWT-EventQueue-0] stencyl.sw.app.App: Action: Import Game...
2015-12-17 17:01:21,751 DEBUG [pool-1-thread-1] stencyl.sw.util.FileHelper: Deleting: C:\Users\francesco\AppData\Local\Te mp\stencyl2420165256510445394Crash Course Kit.zip
2015-12-17 17:01:21,751 ERROR [pool-1-thread-1] stencyl.sw.util.FileHelper: Failed to delete file or directory: C:\Users\francesco\AppData\Local\Te mp\stencyl2420165256510445394Crash Course Kit.zip
2015-12-17 17:01:23,219 DEBUG [AWT-EventQueue-0] stencyl.sw.app.tasks.ImportGameTask : Took 1673ms
2015-12-17 17:01:32,010 DEBUG [AWT-EventQueue-0] stencyl

-2 1 year, 3 months ago
The crash course kit is different then the one showing here. I get a pronger character and mambo? somethings don't work with this pack. Is it broken?
-1 1 year, 3 months ago

We have completely rewritten this Crash Course to make it clearer and followable from start to finish. In order to avoid confusion, we have cleared out the comments for the old crash course.

1 1 year, 5 months ago

Sign In to Comment