Stencyl Essentials
eBook - ePub

Stencyl Essentials

Richard Sneyd

Share book
  1. 206 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Stencyl Essentials

Richard Sneyd

Book details
Book preview
Table of contents
Citations

Frequently asked questions

How do I cancel my subscription?
Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
Can/how do I download books?
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
What is the difference between the pricing plans?
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
What is Perlego?
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 1000+ topics, we’ve got you covered! Learn more here.
Do you support text-to-speech?
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 here.
Is Stencyl Essentials an online PDF/ePUB?
Yes, you can access Stencyl Essentials by Richard Sneyd in PDF and/or ePUB format, as well as other popular books in Computer Science & Programming Games. We have over one million books available in our catalogue for you to explore.

Information

Year
2015
ISBN
9781784399450

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 ()

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