Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Learning Stencyl 3.x Game Development: Beginner's Guide
Learning Stencyl 3.x Game Development: Beginner's Guide

Learning Stencyl 3.x Game Development: Beginner's Guide: You don't need to know anything about game development or computer programming when you use the Stencyl toolkit. This book guides you through the whole process of creating a game, publishing and profiting from it.

eBook
$19.99 $28.99
Paperback
$48.99
Subscription
Free Trial
Renews at $19.99p/m

What do you get with Print?

Product feature icon Instant access to your digital eBook copy whilst your Print order is Shipped
Product feature icon Paperback book shipped to your preferred address
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Shipping Address

Billing Address

Shipping Methods
Table of content icon View table of contents Preview book icon Preview Book

Learning Stencyl 3.x Game Development: Beginner's Guide

Chapter 2. Let's Make a Game!

In Chapter 1, Introduction, I promised that we'd have the basics of a working game in place by the end of this chapter, and I plan to keep my promise!

Throughout this book, we are going to create a platform game, based in the jungle, in which the player will control a cheeky monkey that will have the ability to run and jump around the scene. As our monkey character runs, the screen will scroll horizontally to display more of the jungle and, along the way, there will be various obstacles, some items to collect, and some enemies to avoid.

Although some of the preceding features will be added to our game later in the development process, when we have learned more features of Stencyl, in this chapter, we will put in place many of the basic mechanics of the game.

The skills we will be learning in this chapter are:

  • Creating a new game

  • Creating a blank scene

  • Downloading resources from StencylForge

  • Understanding the Stencyl Dashboard

  • Adding an actor into a scene

  • Downloading...

Using the downloaded game files


When starting a practical activity in the book, we can either continue in Stencyl, using our progress from the previous tutorial or, if we are coming back to the book after a break, we can load the last version of the game that we saved at the end of the previous session.

If we want to start afresh at the beginning of a practical activity, we can import the appropriate downloaded game file into Stencyl, so we know that we are starting at the right point in the game development process!

Note

The game files accompanying each chapter can be found in the Support section of this book's web page at www.packtpub.com.

Before each practical activity, there will be a note advising which Stencyl game file should be imported prior to starting the exercise, but it's not necessary to use the import files if we are following the tutorials consecutively.

It's very easy to import a Stencyl game file—just load up Stencyl and, on the main menu, go to File | Import Game…, then double...

Creating a new game


We'll start by setting up Stencyl with a new, blank game to work with.

Time for action – creating a new game


We are starting with a blank game, so there's no need to import a game file!

  1. Load up Stencyl on your computer.

  2. Click on the Click here to create New Game cutout box, which appears after all the existing games on the My Games screen.

  3. Click on Blank Game at the bottom of the left-hand side panel of the Create a New Game… dialog box.

  4. Click on the Next button.

  5. Type the name of our game Monkey Run into the Name text box under the Basic Info heading.

  6. Click on the Create button.

  7. Wait a few seconds while the blank game is created.

  8. On the main menu, click on File | Save, or click the Save Game icon on the toolbar.

What just happened?

We have created and saved a blank game, but there are no game characters, no scenes, and no gameplay instructions!

It's a basic task, but we've taken our first step into game development with Stencyl.

Creating a blank scene


Every game needs a "world" in which to play, and this is where we will start to build our game. We already know that our game is going to be based in the jungle. So, let's take the next step and create a world for our monkey to play in.

The Dashboard should currently be displayed on the screen and, if we look at the left-hand side panel, under the heading RESOURCES, we can see a list of the types of resources that can be used in our game. The fourth item in the list is Scenes, and it should be highlighted, which is helpful, because the next step we are going to take is to create a scene for our game.

Time for action – creating a blank scene


The game file to import and load for this session is 5961_02_01.stencyl.

  1. Click on the message, This game contains no Scenes. Click here to create one, that appears in the middle of the right-hand side panel.

  2. Give the scene a name. I prefer keeping scene names to one word if possible, so let's call it Jungle.

  3. In the Background Color section of the dialog box, click on the long, thin, white rectangle so the color-selector pops up, and change the color to Sea Green—hovering the mouse over a color will pop up a tooltip with the name of the color.

  4. Click on the Create button.

What just happened?

We have just created a scene!

In Stencyl, a scene is most easily described as being a "level" in a game. Our game will have just one level during the initial development stages, and it's now being displayed in the Scene Editor.

If we have a look at the upper-left side of our Stencyl screen (under the toolbar), we can see that we have two tabs—one is the Dashboard tab,...

Downloading resources from StencylForge


We don't have any objects in our game yet, so we can't do anything interesting with our scene. Our next step is to insert a controllable character into our game and, as mentioned at the start of this chapter, our main character is going to be a monkey—so let's find that monkey!

Time for action – downloading an actor


The game file to import and load for this session is 5961_02_02.stencyl.

We're going to add a character into our game, right now, by downloading it from Stencyl's online resource, which is called StencylForge .

  1. On the Stencyl menu, click on File | Save Game (or click the Save Game toolbar icon).

  2. Click on the StencylForge icon on the Stencyl toolbar.

  3. Click on Actor Types in the Resources section of the left-hand side panel.

  4. In the search box at the upper-right corner of the screen, type Stencyl Book Monkey.

  5. Press Enter on the keyboard and wait for the search results to appear.

  6. Double-click on the Stencyl Book Monkey thumbnail that appears in the right-hand side panel and wait for the monkey actor's information to be displayed—this may take a few seconds.

  7. Read the information under the Description heading.

  8. Click on the green Download button at the upper-right corner of the screen and wait for the actor to be downloaded into our game—the download may take a few...

Understanding the Stencyl Dashboard


The Dashboard in Stencyl is the control center—it's where we will find all the resources in our game, whether they are scenes, actors, or any of the other resources that we'll be working with throughout the game development process.

It's a good idea to become familiar with Dashboard, so click on the Dashboard tab and note that the Actor Types heading and the Scenes heading both have a digit 1 next to them. This is telling us that there is currently one actor and one scene in our game, so it's a useful way to know, at a glance, what resources we have in a game that we are developing.

Adding an actor into a scene


We have a jungle scene, and we have downloaded our monkey actor, so let's do the right thing and put the monkey in the jungle using Stencyl's Scene Designer!

Time for action – adding an actor to the jungle scene


The game file to import and load for this session is 5961_02_03.stencyl.

We need to ensure that the Animation Editor is displaying the monkey animation so, click on the Actor Types heading in the Dashboard, then double-click the Stencyl Book Monkey thumbnail in the main panel.

  1. Click on the green Add to Scene button at the upper-right corner of the screen.

  2. Click on the green Jungle scene that is shown in the Choose a Scene dialog box.

  3. Click on the OK button to display the scene.

  4. Move the mouse cursor (which shows the monkey) into the center of the green jungle scene.

  5. Click on the mouse once to place the monkey into the scene.

  6. Press Escape on the keyboard.

  7. Click File | Save Game to save the game (or click the Save Game icon on the toolbar).

What just happened?

We have placed the monkey actor into the jungle scene, which was as easy as selecting the scene and then clicking on the mouse where we wanted the actor to appear. We only have one scene in...

Testing the game


So far, we have a scene with a single actor placed on it, so now would be a good time to test the game to make sure that we know what we have achieved in the development process!

Time for action – testing the game


The game file to import and load for this session is 5961_02_04.stencyl.

Fortunately, Stencyl makes it very easy—and quick—to test our games:

  1. Click the Test Game icon on the right-hand side of the toolbar.

  2. Watch the progress messages that appear while the game is prepared.

  3. The Flash Player window opens so that we can see our game.

  4. Press the arrow keys on the keyboard. Don't worry—nothing should happen!

  5. Close the Flash Player window.

What just happened?

We tested our game, but it wasn't very exciting to see, was it?

However, when we clicked on the Test Game icon, Stencyl saved the game file, put together all the information that we have provided and compiled it into a Flash game that was displayed in the Flash Player window.

When we pressed the arrow keys on the keyboard, absolutely nothing happened because we haven't provided Stencyl with any information about how the monkey actor will be controlled by the player!

The other problem we have is that we have no scenery...

Downloading and using tiles for scenery


Currently, our monkey is floating in midair, which doesn't present the player of our game with a very interesting scene! We need to build some scenery, made from tiles, so that our monkey can run and jump on something.

Once again, we're going to visit StencylForge and search for some resources that we can use in our game, so let's get on and do that:

Time for action – downloading tiles from StencylForge


The game file to import and load for this session is 5961_02_04.stencyl.

  1. If the StencylForge tab is still available at the top of the screen, then click on it. If the StencylForge tab is not visible, click on the StencylForge icon on the toolbar to open it up again.

  2. In the left-hand side panel, under the MEDIA heading, click on Tilesets.

  3. In the search box, found at the upper-right corner of the screen, type Stencyl Book Tileset, and press Enter.

  4. Double-click on the thumbnail image for the Stencyl Book Tileset and read the information under the Description heading.

  5. Click on the Download button at the upper-right of the screen.

  6. Wait a moment for the tileset to download.

What just happened?

In the same way that we downloaded the monkey actor from StencylForge, we have just downloaded a tileset —a collection of predesigned tiles that will help us build our jungle scene.

Note

The tileset that we are using in our game is based on a design by a Stencyl...

Time for action – adding tiles into the scene


The game file to import and load for this session is 5961_02_05.stencyl.

We're currently looking at the Tileset Editor, but we're not going to be using it in this chapter, so we can close the tab and ensure that we are viewing the Scene Designer.

  1. Close the Stencyl Book Tileset tab by clicking on the small x icon in the tab.

  2. Close the StencylForge tab.

  3. Click on the Jungle tab to display the green jungle scene. If the Jungle tab isn't visible, click on the Dashboard tab, click on Scenes in the left panel, and then double-click on the Jungle scene thumbnail image in the right-hand side panel.

  4. In the Palette panel, on the right of the screen, click on the Tiles palette button, to display the tileset as follows:

  5. The tile in the upper-left corner of the tileset is already selected, so move the mouse cursor to the lower-left corner of the green jungle scene and click the mouse once to place the tile.

  6. In the Tiles palette, click on the second tile present in...

Reviewing our progress


We've already made a lot of progress and have discovered many of Stencyl's game-design features, so let's review what we have achieved so far—we have:

  • Created a blank game

  • Created a game scene

  • Downloaded an actor from StencylForge

  • Added an actor to a scene

  • Downloaded a tileset from StencylForge

  • Added tiles to a scene

  • Modified the layout of tiles within a scene

We now have a basic scene layout for our game, but there is currently a vital element of the game that we still need to add.

Using behaviors to interact with our game


We can't really call our current creation a game, because there isn't any interaction! Players need to be able to react to what is happening in our game, or it won't be much fun so, in this part of the book, we are going to implement the following gameplay elements:

  • Controlling the monkey with the keyboard

  • Scrolling the scene as the monkey runs

Working with behaviors

Behaviors are the instructions, or rules, for our game. Currently, we have a scene and an actor, but we haven't implemented any rules relating to how our game will work.

Think of behaviors as the answers to questions that are asked when certain events occur in our game, such as the ones listed here:

  • What happens when the player presses keys on the keyboard?

  • What should happen when my actor reaches the edge of the screen?

  • What happens when my player actor bumps into an enemy actor?

The behaviors in our game can listen out for these mentioned events, and can then apply the rules that we have specified...

Time for action – attaching a behavior to an actor


The game file to import and load for this session is 5961_02_06.stencyl.

Note

We will be working with the monkey actor, so ensure that it is currently on display in the Animation Editor.

Stencyl comes packaged with many useful behaviors—and we first need to tell Stencyl to attach the required behaviors to the relevant objects within our game. In this case, we need to attach a behavior to the monkey actor, so that we can control it with the keyboard.

  1. Click on the Stencyl Book Monkey tab to display the monkey in the Animation Editor.

  2. Click on the Behaviors button in the row of buttons at the upper-center of the screen.

  3. Click on the message Click here to choose a Behavior to attach to this Actor Type that appears in the main panel.

  4. In the left-hand side panel of the Choose a Behavior dialog box, click on the Controls option that appears under the FROM YOUR LIBRARY heading.

  5. Scroll down the list of behaviors that appears, until you can see the thumbnail...

Time for action – configuring the behavior


The game file to import and load for this session is 5961_02_07.stencyl.

Ensure that we can see the attributes for the Run and Jump Movement behavior by opening the monkey actor and clicking on the Behaviors button at the upper-center of the screen.

Let's get the keyboard and animation information into the behavior:

  1. Click on the drop-down arrow next to the heading Left Control and select the item labeled left.

  2. Click on the drop-down arrow next to the heading Right Control and select the item labeled right.

  3. Click on the drop-down arrow next to the heading Jump Control and select the item labeled up.

  4. Scroll down the configuration screen so that the section with the red warning triangle icons can be seen.

  5. Click on the Choose Animation… button next to the first icon, which is labeled Idle Left Animation.

  6. In the Choose Animation dialog box that appears, click on the thumbnail for the monkey's Idle Left animation.

  7. Click on OK to confirm your choice.

  8. Click on the...

Testing the game


Now that we have attached a behavior to the monkey, and we've configured the behavior to respond to the required key presses and display the appropriate animations, it's time to test our progress so far.

When developing a game, it is advisable to test often—perhaps even after every significant change that is made to the game. This allows us to see when things have gone wrong, and to be able to easily step backwards through any changes and fix anything that we might have done wrong. Of course, testing also enables us to see what has gone right, so we can enjoy the progress that we are making in the development process!

It doesn't cost anything to test a Flash game in Stencyl, and it's a very quick process, which usually takes a few seconds, so why not test as often as we can?

Note

This is a deliberate mistake alert! It can be very frustrating to follow the steps in a tutorial, only to find that we do not experience the results that we are expecting.

Be aware that when we test...

Time for action – testing the game to find a problem!


The game file to import and load for this session is 5961_02_08.stencyl.

Let's test the game so we can see what's going to go wrong!

  1. Save the game.

  2. Click the Test Game icon on the toolbar.

  3. Wait for the game to compile and display in the Flash Player Window.

  4. Press the left and right arrow keys to move the monkey and press the up arrow key to try to make the monkey jump.

Clearly things aren't working as we would expect!

What just happened?

We've experienced our first bug—however, it's not a fault with Stencyl—we just haven't set the game up quite right!

Although the left and right arrow keys are making the monkey move in the correct direction, the monkey is floating in midair, the animations for running left and right aren't working, and the jump button isn't doing its job.

It's almost impossible to develop a useful computer application—including a game, without introducing a mistake, or bug, during the development process, so when this happens,...

Improving the scene mechanics


To fix our bug, we need to make a single change to the game. Currently, there is no gravity to make the monkey fall to the ground, so we need to make an adjustment to a setting in the Jungle scene.

Time for action – adding gravity to the Jungle scene


The game file to import and load for this session is 5961_02_08.stencyl.

Gravity in a game enables actors to fall or float, depending on the configuration that we specify, and we need the gravity in our game to allow the monkey actor to fall—just as it would in a real jungle—so let's make that change to the Jungle scene:

If the Jungle tab isn't visible at the top of the screen, we'll need to open up the Jungle scene first.

  1. Click on the Dashboard tab.

  2. Click on Scenes under the RESOURCES heading in the left-hand side panel.

  3. Double-click on the thumbnail image for the Jungle scene.

Now that we can see the Jungle scene, we can change the required setting:

  1. Click on the Physics button in the row of buttons in the upper-center of the screen, as shown in the following screenshot:

  2. Change the contents of the text box next to the label Gravity (Vertical) so that it contains the number 85 as shown in the following screenshot:

  3. Click on the Test Game icon...

Time for action – attaching another behavior to the actor


The game file to import and load for this session is 5961_02_09.stencyl.

We can easily prevent actors from leaving a scene by attaching another behavior, so our next task is to do just that!

  1. Ensure that the Stencyl Book Monkey tab is active.

  2. If the Stencyl Book Monkey tab isn't currently open, go to the Dashboard, click on Actor Types under the RESOURCES heading, and double-click on the thumbnail image for the monkey.

  3. Click on the Behaviors button at the upper-center of the screen.

  4. Click on the + Add Behavior button at the very lower-left corner of the screen.

  5. In the left-hand side panel of the Choose a Behavior dialog box, click on the Motion option that appears under the FROM YOUR LIBRARY heading.

  6. Find the Cannot Exit Scene behavior in the main panel, and double-click it. Be careful not to select the similarly named Cannot Exit Screen behavior—it doesn't do exactly what we need!

  7. Read the information on the behavior screen that is now being...

Time for action – increasing the width of the scene


The game file to import and load for this session is 5961_02_10.stencyl.

We're going to change the width of the scene, so we need to display the jungle scene's properties:

  1. On the Dashboard, click on the Scenes heading.

  2. Double-click the thumbnail image for the Jungle scene.

  3. Ensure that the Scene button is selected in the row of buttons at the upper-center of the screen.

  4. Click on the Properties button in the same row of buttons.

  5. In the Edit Scene Properties dialog box, under the Size heading, change the Width from 20 to 60.

  6. Click on OK.

  7. Test the game by making the monkey run past the rightmost edge of the scene, and then close the Flash Player window—expect a problem to occur when the monkey leaves the edge of the screen!

What just happened?

We've increased the width of the scene from its original 20 tiles to 60 tiles—three times its original width. We can see that, as soon as we confirmed the changes to the width of the scene, it immediately increased...

Making the screen scroll


Rather than losing our monkey off the side of the screen, we're going to ensure that the screen scrolls automatically as he runs.

Once again, behaviors come to our rescue—in just a few clicks, we will have a scrolling scene for our monkey to enjoy.

Scrolling through a scene in Stencyl is easily managed by using the Camera Follow behavior, and we attach the behavior to the actor that we want to follow—in our game, that's the monkey.

Time for action – attaching the Camera Follow behavior


The game file to import and load for this session is 5961_02_11.stencyl.

  1. Go to the Dashboard tab and click on the Actor Types heading.

  2. Double click on the Stencyl Book Monkey.

  3. Click on the Behaviors button in the row of buttons at the upper-center of the screen.

  4. Click on the + Add Behavior button at the lower-left corner of the screen.

  5. In the Choose a Behavior dialog box, click on the Game option in the left-hand side panel, under the heading FROM YOUR LIBRARY.

  6. Locate the Camera Follow behavior and double-click on it.

  7. Do not change the scroll speed attribute in the behavior configuration screen!

  8. Test the game and try to make the monkey run off the right edge of the screen—run around and see how far the monkey can go!

What just happened?

Attaching the Camera Follow behavior to an actor forces the scene to scroll whenever the actor tries to pass the center of the current screen view. Once our actor reaches either the leftmost or rightmost edge...

Summary


Wow! We've learned a lot in this chapter.

We created a blank game and added a jungle scene. We then downloaded a monkey actor from StencylForge and added a behavior to control it with the keyboard.

The next step was to use StencylForge again, to find an appropriate tileset to create some interesting content for our Jungle scene.

To ensure that the actor couldn't fall off the edge of the scene, we attached the Cannot Exit Scene behavior, and then we attached the Camera Follow behavior to the monkey, so it could run and jump along the whole length of the scene, while the scenery automatically scrolled to keep up with it.

In the final part of the chapter we made the platform game design more interesting and considered some challenges that might make our game more fun to play.

We've made quite amazing progress in just one chapter—we have all the basic mechanics in place for our platform game. However, there are two vital elements missing—we need some enemies to avoid, and we also need a challenge...

Left arrow icon Right arrow icon

Key benefits

  • Learn important skills that will enable you to quickly create exciting video games, without the complexity of traditional programming languages
  • Find out how to maximize potential profits through licencing, paid-sponsorship and in-game advertising
  • Explore numerous step-by-step tutorials that will guide you through the essential features of Stencyl's powerful game-development toolkit

Description

Creating video games has traditionally been a long and complicated process, requiring years of experience and a vast array of skills. However, with the introduction of comprehensive game-development toolkits such as Stencyl, the fun has returned to the art of game-creation ‚Äì anyone who has the desire to create their own video game can now do so with almost any desktop computer and a free software download from the Internet!Learning Stencyl 3.x Game Development: Beginner's Guide will put you on the fast-track to learning the essentials of the powerful Stencyl game-development toolkit. You will develop a complete, ready-to-publish video game including in-game advertising, by following the clear, step-by-step tutorials, supported by numerous screenshots and practical examples.This book will guide you through all the important steps required to develop and publish your video game. Starting with the installation and testing of the Stencyl toolkit, you will very quickly advance to the fun and exciting process of creating a playable game. The step-by-step tutorials will guide you from a blank screen, right through to giving your game that final polish and sharing it with the rest of the world. Whilst developing your feature-complete video game, you will learn how to easily detect collisions in your game using Stencyl's built-in physics engine. You'll discover how to use the powerful animation tools included in Stencyl's toolkit, and you'll find out how to make your game shine with sounds and visual special effects. You will also discover how Stencyl makes it easy to utilize the touch-screen and accelerometer features of smartphones and tablet computers. You will learn all the essential skills required to develop a video game from scratch ‚Äì right through to publishing a game on the Internet and testing games  on the most popular mobile devices.

Who is this book for?

This book is perfect for beginning game-developers, who have no prior knowledge of creating games or computer programming. It's also an ideal resource for experienced game-developers and designers who need to create rapid prototypes, or who want to speed up the game-development process. Teachers and students who think learning should be fun will also benefit from this book! No prior knowledge of game-development or computer programming is required.

What you will learn

  • Installing and testing the Stencyl game development toolkit.
  • Rapidly creating your video game using Stencyl s drag and drop gameplay designer.
  • Detecting and responding to collisions using Stencyl s built-in physics engine.
  • Creating customized game-play using Stencyl s intuitive instruction-block system.
  • Animating objects in your game and modifying them with Stencyl s built-in image editor.
  • Fine-tuning your game and turning it into a professional product.
  • Adding sound-effects and a soundtrack to your game.
  • Implementing some of the special features of smartphones and tablets.
Estimated delivery fee Deliver to Ecuador

Standard delivery 10 - 13 business days

$19.95

Premium delivery 3 - 6 business days

$40.95
(Includes tracking information)

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : May 24, 2013
Length: 336 pages
Edition : 1st
Language : English
ISBN-13 : 9781849695961
Languages :
Tools :

What do you get with Print?

Product feature icon Instant access to your digital eBook copy whilst your Print order is Shipped
Product feature icon Paperback book shipped to your preferred address
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Shipping Address

Billing Address

Shipping Methods
Estimated delivery fee Deliver to Ecuador

Standard delivery 10 - 13 business days

$19.95

Premium delivery 3 - 6 business days

$40.95
(Includes tracking information)

Product Details

Publication date : May 24, 2013
Length: 336 pages
Edition : 1st
Language : English
ISBN-13 : 9781849695961
Languages :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total $ 130.97
HTML5 Game Development with GameMaker
$48.99
Learning Stencyl 3.x Game Development: Beginner's Guide
$48.99
Stencyl Essentials
$32.99
Total $ 130.97 Stars icon
Banner background image

Table of Contents

10 Chapters
Introduction Chevron down icon Chevron up icon
Let's Make a Game! Chevron down icon Chevron up icon
Detecting Collisions Chevron down icon Chevron up icon
Creating Behaviors Chevron down icon Chevron up icon
Animation in Stencyl Chevron down icon Chevron up icon
Managing and Displaying Information Chevron down icon Chevron up icon
Polishing the Game Chevron down icon Chevron up icon
Implementing Sounds Chevron down icon Chevron up icon
Publishing and Making Money from Your Games Chevron down icon Chevron up icon
Targeting Mobile Platforms Chevron down icon Chevron up icon

Customer reviews

Top Reviews
Rating distribution
Full star icon Full star icon Full star icon Full star icon Half star icon 4.5
(19 Ratings)
5 star 73.7%
4 star 15.8%
3 star 5.3%
2 star 0%
1 star 5.3%
Filter icon Filter
Top Reviews

Filter reviews by




Rachel Z Aug 14, 2013
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This book is a comprehensive intro to Stencyl - a game design platform I use to introduce creative teens to computer science. I found it to be paced well and highly accessible. I was delighted to see the tutorials follow the same methodology I use when running workshops - solve a problem and introduce a new problem, solve that problem, introduce a new problem, etc.The book guides you from creating your first game to publishing it and - hopefully - making money. And it includes legal, licensing, and project management tips to boot. All in all, this is a solid book that I'd recommend - without reservations - to someone just starting out in the wild world of game design - and I don't say that about many books.
Amazon Verified review Amazon
Michael A. Petty Jan 31, 2014
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I was given a review copy of Learning Stencyl 3.x Game Development: Beginner’s Guide. Before jumping into the details of my review, I’ll say I found the book to be an enjoyable read. I learned a lot and I can safely say this will be my go-to resource for my students when they are learning to make games with Stencyl.Right away I was glad to see Joe Dolivo’s name in the list of reviewers for the book’s content. When I started programming with Stencyl almost two years ago, I contacted the Stencyl team to ask about classroom resources. I liked the promise of Stencyl, but I was having difficulty learning to create some simple classroom games. They directed me to Joe as someone who knows the program and knows education. He pointed out a few online resources and also told me this book was in the works. With Jonathan Chung, Stencyl’s creator, writing the forward and Joe Dolivo as part of the writing process, I knew the book’s author was writing with authority.The book provides a great overview of Stencyl, leaving the reader with an excellent idea of what to expect from this game creation tool. Beyond that, most of the ten chapters are a step by step walk-through of creating a platform game called Monkey Run. Instead of progressing through the menus, tools or other features, it takes us through the stages of game development. Anyone who works through those chapters will have created a playable computer game. What more could a beginning game designer ask for?Now, as I mentioned above, I had trouble getting started with Stencyl and I didn’t have much luck with the online tutorials. I can say without question Learning Stencyl 3.x Game Development is a vast improvement over those resources. The writing is very clear. I really like how each stage starts with a brief overview of what we’ll accomplish with the game, then it goes right into a step by step explanation of how to actually make it happen using Stencyl’s tools such as actors, behaviors and blocks.I was very pleased with these explanations, but I think the best sections are the “What just happened?” segments that follow them. As an educator, I know students want to jump right into the doing. They’re not big on reading paragraph after paragraph of the overall concept and plan.So instead of trying to explain the why and all the terms upfront, the book elaborates on what we did and why after we’ve gone through the steps. It’s a great way to teach. By the time the learner gets to these sections, he or she has become somewhat familiar with the tools and probably already has some questions that the sections will address.One last positive I’ll mention is I appreciated the care taken to credit the creators of the graphics and audio used in the game. The attention given to copyright and creative commons licenses, both explicitly in the appendix and by example throughout the chapters, will be very helpful as I teach these practices to students.With all the praise I have offered, I do have to add I haven’t yet worked through any of the actual programming. I read over the first half of the book carefully and skimmed through the later chapters. I hope to return to it, preferably with students, actually going through all the programming in Stencyl as I do. At this time I can only say it all makes sense with the things I have created on my own previously.I did download the sample code that came with the book and I tried out one of the advanced sections. (The sample code can be downloaded from the publisher's site. It is provided in sections that match each step of the book. This is a nice touch because learners can jump in at any point of the book or development process they need and have just enough of the code prepared for them in advance.)And definitely worth mentioning, the book refers to Stencyl 3.x, but that hasn’t been released yet. The Stencyl site does say 3.0 is available through a closed beta program to paying customers. I can only assume the authors expected that version to come out the same time the book did, but for whatever reason it hasn’t. As I mentioned, I didn’t notice anything in the steps that looked different than my initial experience with Stencyl. Also, the code section I tested out in my current version of Stencyl seemed to work fine. If there are features of 3.0 that would be significantly different, they aren’t immediately apparent.All things considered, I am very happy to have this book for myself and my students. It has answered some questions I had about this very promising game design tool and I think it can help many more young learners to find success in game creation. I’m not currently teaching a game design or programming class, but the next time I have the opportunity, I will use Stencyl and I will provide this book to the students.
Amazon Verified review Amazon
Kyle Willey Aug 06, 2013
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I was contacted to review this because of my work on Stencyl projects in the past, and I have to say that it's exactly the sort of thing I wish I had when I had picked up the tool. While it's possible to find a lot of tutorials on building your first game in Stencyl, I feel that this really goes above and beyond, and it's even helped me not only find code-blocks that I could have been using to great effect all along, but also understand some of the fundamentals in ways that I hadn't, even though I'd completed all the examples and already moved on to more advanced design. I'm a future educator, and I'm hoping to have a couple copies of this on a shelf in my classroom to show my students, because it makes the already wonderful Stencyl even less intimidating to jump into.EDIT: One thing to note is that this *is* a beginner's guide, so if you're already familiar with Stencyl it may give some new insights, particularly since it's written with the assistance of Stencyl's creator and some notable users, but it doesn't cover some of the more obscure and interesting features of Stencyl that are less common but may be useful in some cases, like fetching files through HTTP, but it provides a solid core from which to work.
Amazon Verified review Amazon
Jack Sullivan Aug 12, 2013
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Making games is fun. Once, my brother and I designed a live-action game where we would jump down a flight of stairs head-first to see who could target the pile of dirty clothes our mom was going to wash that day. The loser would usually crack his head open on the wall, missing the pile entirely and bleeding all over everything. Mom would scream in panic and rush us to the emergency room for stitches. Dad's work clothes would have blood stains all over them. That would make him mad.Anyway, this is far a far less violent method of game design and gets my highest recommendation. It's laid out in easy-to-follow instructions. You should probably have a computer to work on before buying this book.
Amazon Verified review Amazon
Nelson Santos Nov 05, 2013
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I am an experienced professional programmer with some background knowledge in game development but I have never used a game creation tool before and wasn't sure what to expect from Stencyl. All I knew was that it looked easy to use and was a quick way of getting a game idea up and running. I was eager to get started and I wanted to minimize the amount of time it took to learn the tool itself. Then I found this book. I purchased the cost effective eBook and read it cover to cover in 3 to 4 days. After that time I can say that I was almost completely comfortable using the Stencyl IDE and I learned the rest through use.I recommend this book for teaching the core concepts involved in using the Stencyl tool. As an experienced programmer, I grasped the concepts introduced in the book easily and was glad I made the purchase. I blazed through learning the tool and am now in the middle of a production.Thanks to the author for this book.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

What is the delivery time and cost of print book? Chevron down icon Chevron up icon

Shipping Details

USA:

'

Economy: Delivery to most addresses in the US within 10-15 business days

Premium: Trackable Delivery to most addresses in the US within 3-8 business days

UK:

Economy: Delivery to most addresses in the U.K. within 7-9 business days.
Shipments are not trackable

Premium: Trackable delivery to most addresses in the U.K. within 3-4 business days!
Add one extra business day for deliveries to Northern Ireland and Scottish Highlands and islands

EU:

Premium: Trackable delivery to most EU destinations within 4-9 business days.

Australia:

Economy: Can deliver to P. O. Boxes and private residences.
Trackable service with delivery to addresses in Australia only.
Delivery time ranges from 7-9 business days for VIC and 8-10 business days for Interstate metro
Delivery time is up to 15 business days for remote areas of WA, NT & QLD.

Premium: Delivery to addresses in Australia only
Trackable delivery to most P. O. Boxes and private residences in Australia within 4-5 days based on the distance to a destination following dispatch.

India:

Premium: Delivery to most Indian addresses within 5-6 business days

Rest of the World:

Premium: Countries in the American continent: Trackable delivery to most countries within 4-7 business days

Asia:

Premium: Delivery to most Asian addresses within 5-9 business days

Disclaimer:
All orders received before 5 PM U.K time would start printing from the next business day. So the estimated delivery times start from the next day as well. Orders received after 5 PM U.K time (in our internal systems) on a business day or anytime on the weekend will begin printing the second to next business day. For example, an order placed at 11 AM today will begin printing tomorrow, whereas an order placed at 9 PM tonight will begin printing the day after tomorrow.


Unfortunately, due to several restrictions, we are unable to ship to the following countries:

  1. Afghanistan
  2. American Samoa
  3. Belarus
  4. Brunei Darussalam
  5. Central African Republic
  6. The Democratic Republic of Congo
  7. Eritrea
  8. Guinea-bissau
  9. Iran
  10. Lebanon
  11. Libiya Arab Jamahriya
  12. Somalia
  13. Sudan
  14. Russian Federation
  15. Syrian Arab Republic
  16. Ukraine
  17. Venezuela
What is custom duty/charge? Chevron down icon Chevron up icon

Customs duty are charges levied on goods when they cross international borders. It is a tax that is imposed on imported goods. These duties are charged by special authorities and bodies created by local governments and are meant to protect local industries, economies, and businesses.

Do I have to pay customs charges for the print book order? Chevron down icon Chevron up icon

The orders shipped to the countries that are listed under EU27 will not bear custom charges. They are paid by Packt as part of the order.

List of EU27 countries: www.gov.uk/eu-eea:

A custom duty or localized taxes may be applicable on the shipment and would be charged by the recipient country outside of the EU27 which should be paid by the customer and these duties are not included in the shipping charges been charged on the order.

How do I know my custom duty charges? Chevron down icon Chevron up icon

The amount of duty payable varies greatly depending on the imported goods, the country of origin and several other factors like the total invoice amount or dimensions like weight, and other such criteria applicable in your country.

For example:

  • If you live in Mexico, and the declared value of your ordered items is over $ 50, for you to receive a package, you will have to pay additional import tax of 19% which will be $ 9.50 to the courier service.
  • Whereas if you live in Turkey, and the declared value of your ordered items is over € 22, for you to receive a package, you will have to pay additional import tax of 18% which will be € 3.96 to the courier service.
How can I cancel my order? Chevron down icon Chevron up icon

Cancellation Policy for Published Printed Books:

You can cancel any order within 1 hour of placing the order. Simply contact [email protected] with your order details or payment transaction id. If your order has already started the shipment process, we will do our best to stop it. However, if it is already on the way to you then when you receive it, you can contact us at [email protected] using the returns and refund process.

Please understand that Packt Publishing cannot provide refunds or cancel any order except for the cases described in our Return Policy (i.e. Packt Publishing agrees to replace your printed book because it arrives damaged or material defect in book), Packt Publishing will not accept returns.

What is your returns and refunds policy? Chevron down icon Chevron up icon

Return Policy:

We want you to be happy with your purchase from Packtpub.com. We will not hassle you with returning print books to us. If the print book you receive from us is incorrect, damaged, doesn't work or is unacceptably late, please contact Customer Relations Team on [email protected] with the order number and issue details as explained below:

  1. If you ordered (eBook, Video or Print Book) incorrectly or accidentally, please contact Customer Relations Team on [email protected] within one hour of placing the order and we will replace/refund you the item cost.
  2. Sadly, if your eBook or Video file is faulty or a fault occurs during the eBook or Video being made available to you, i.e. during download then you should contact Customer Relations Team within 14 days of purchase on [email protected] who will be able to resolve this issue for you.
  3. You will have a choice of replacement or refund of the problem items.(damaged, defective or incorrect)
  4. Once Customer Care Team confirms that you will be refunded, you should receive the refund within 10 to 12 working days.
  5. If you are only requesting a refund of one book from a multiple order, then we will refund you the appropriate single item.
  6. Where the items were shipped under a free shipping offer, there will be no shipping costs to refund.

On the off chance your printed book arrives damaged, with book material defect, contact our Customer Relation Team on [email protected] within 14 days of receipt of the book with appropriate evidence of damage and we will work with you to secure a replacement copy, if necessary. Please note that each printed book you order from us is individually made by Packt's professional book-printing partner which is on a print-on-demand basis.

What tax is charged? Chevron down icon Chevron up icon

Currently, no tax is charged on the purchase of any print book (subject to change based on the laws and regulations). A localized VAT fee is charged only to our European and UK customers on eBooks, Video and subscriptions that they buy. GST is charged to Indian customers for eBooks and video purchases.

What payment methods can I use? Chevron down icon Chevron up icon

You can pay with the following card types:

  1. Visa Debit
  2. Visa Credit
  3. MasterCard
  4. PayPal
What is the delivery time and cost of print books? Chevron down icon Chevron up icon

Shipping Details

USA:

'

Economy: Delivery to most addresses in the US within 10-15 business days

Premium: Trackable Delivery to most addresses in the US within 3-8 business days

UK:

Economy: Delivery to most addresses in the U.K. within 7-9 business days.
Shipments are not trackable

Premium: Trackable delivery to most addresses in the U.K. within 3-4 business days!
Add one extra business day for deliveries to Northern Ireland and Scottish Highlands and islands

EU:

Premium: Trackable delivery to most EU destinations within 4-9 business days.

Australia:

Economy: Can deliver to P. O. Boxes and private residences.
Trackable service with delivery to addresses in Australia only.
Delivery time ranges from 7-9 business days for VIC and 8-10 business days for Interstate metro
Delivery time is up to 15 business days for remote areas of WA, NT & QLD.

Premium: Delivery to addresses in Australia only
Trackable delivery to most P. O. Boxes and private residences in Australia within 4-5 days based on the distance to a destination following dispatch.

India:

Premium: Delivery to most Indian addresses within 5-6 business days

Rest of the World:

Premium: Countries in the American continent: Trackable delivery to most countries within 4-7 business days

Asia:

Premium: Delivery to most Asian addresses within 5-9 business days

Disclaimer:
All orders received before 5 PM U.K time would start printing from the next business day. So the estimated delivery times start from the next day as well. Orders received after 5 PM U.K time (in our internal systems) on a business day or anytime on the weekend will begin printing the second to next business day. For example, an order placed at 11 AM today will begin printing tomorrow, whereas an order placed at 9 PM tonight will begin printing the day after tomorrow.


Unfortunately, due to several restrictions, we are unable to ship to the following countries:

  1. Afghanistan
  2. American Samoa
  3. Belarus
  4. Brunei Darussalam
  5. Central African Republic
  6. The Democratic Republic of Congo
  7. Eritrea
  8. Guinea-bissau
  9. Iran
  10. Lebanon
  11. Libiya Arab Jamahriya
  12. Somalia
  13. Sudan
  14. Russian Federation
  15. Syrian Arab Republic
  16. Ukraine
  17. Venezuela