
- 206 pages
- English
- ePUB (mobile friendly)
- Available on iOS & Android
eBook - ePub
Stencyl Essentials
Tools to learn more effectively

Saving Books

Keyword Search

Annotating Text

Listen to it instead
Information
Stencyl Essentials
Table of Contents
Stencyl Essentials
Credits
About the Author
Acknowledgements
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Downloading the color images of this book
Errata
Piracy
Questions
1. Exploring the Stencyl Toolset and Game Engine
Downloading and installing Stencyl
Creating an account and signing in
Exploring Stencyl – screens and windows
The Welcome Center
Drop-down menus
The toolbar
The Welcome Center tab
The Dashboard
Scene Designer
The Palette
The Log Viewer
Summary
2. Starting the Game Project
Mudslide Cowboy
The fictional element
The game rules
Target platforms
The control system
Adaptive cursor
The project files
Creating the game project
Summary
3. Backgrounds and Tilesets
Backgrounds and foregrounds
Adding our first background
Three more backgrounds
Our first tileset
Summary
4. Building Levels Using Scenes
Creating our first level
Implementing foregrounds and backgrounds
Adding tiles to our level
Exercise
Summary
5. Actor Types and Instances
What are actors?
Adding our first actor
Importing our first animation
Collision shapes
Importing the rock Actor Type
Summary
6. Writing Simple Behaviors
The player handler
Creating a new actor behavior
Creating attributes
Custom events
Testing and debugging
Adding the balloon
Configuring prefab behaviors
Modifying prefab behaviors
Testing the changes
Summary
7. Complex Behaviors and Code
Adding player interaction
Initializing the variables
Handling player clicks
Our first custom block
Handling directional clicks
The when mouse is released event
Switching animations
Summary
8. Adding Sound FX and Music
Supporting both MP3 and OGG formats
Importing audio files into Stencyl
Sound file designation in Stencyl
Playing sound FX and music in Stencyl
Summary
9. Adding HUD Elements
The dynamic cursor
Summary
10. Adding Menus and Buttons
Adding the scene and background
Adding the buttons
Programming the button
Summary
11. Scoring and Game Rules
Collecting coins
Coin collisions and physics settings
Importing the font
Coin collection
Rendering text to the screen
Multiple tile layers
Summary
12. Publishing and Monetization
Mobile publishing and monetization
Monetization with ads
Ad extensions
Store certificates
Summary
Index
Stencyl Essentials
Copyright © 2015 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: April 2015
Production reference: 1230415
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-78439-945-0
www.packtpub.com
Cover image by Richard Sneyd (
<[email protected]>)Credits
Author
Richard Sneyd
Reviewers
Dan Bendell
Innes Borkwood
Jean-Marc "jihem" QUÉRÉ
Commissioning Editor
Kunal Parikh
Acquisition Editor
Richard Brookes-Bland
Content Development Editor
Ajinkya Paranj...
Table of contents
- Stencyl Essentials
Frequently asked questions
Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn how to download books offline
Perlego offers two plans: Essential and Complete
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 990+ topics, we’ve got you covered! Learn about our mission
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more about Read Aloud
Yes! You can use the Perlego app on both iOS and Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Yes, you can access Stencyl Essentials by Richard Sneyd in PDF and/or ePUB format, as well as other popular books in Computer Science & Computer Graphics. We have over one million books available in our catalogue for you to explore.