Home Page Icon
Home Page
Table of Contents for
Table of Contents
Close
Table of Contents
by Richard Sneyd
Stencyl Essentials
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
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Prev
Previous Chapter
Cover
Next
Next Chapter
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
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset