Stencyl Essentials
eBook - ePub

Stencyl Essentials

Richard Sneyd

Buch teilen
  1. 206 Seiten
  2. English
  3. ePUB (handyfreundlich)
  4. Über iOS und Android verfügbar
eBook - ePub

Stencyl Essentials

Richard Sneyd

Angaben zum Buch
Buchvorschau
Inhaltsverzeichnis
Quellenangaben

Häufig gestellte Fragen

Wie kann ich mein Abo kündigen?
Gehe einfach zum Kontobereich in den Einstellungen und klicke auf „Abo kündigen“ – ganz einfach. Nachdem du gekündigt hast, bleibt deine Mitgliedschaft für den verbleibenden Abozeitraum, den du bereits bezahlt hast, aktiv. Mehr Informationen hier.
(Wie) Kann ich Bücher herunterladen?
Derzeit stehen all unsere auf Mobilgeräte reagierenden ePub-Bücher zum Download über die App zur Verfügung. Die meisten unserer PDFs stehen ebenfalls zum Download bereit; wir arbeiten daran, auch die übrigen PDFs zum Download anzubieten, bei denen dies aktuell noch nicht möglich ist. Weitere Informationen hier.
Welcher Unterschied besteht bei den Preisen zwischen den Aboplänen?
Mit beiden Aboplänen erhältst du vollen Zugang zur Bibliothek und allen Funktionen von Perlego. Die einzigen Unterschiede bestehen im Preis und dem Abozeitraum: Mit dem Jahresabo sparst du auf 12 Monate gerechnet im Vergleich zum Monatsabo rund 30 %.
Was ist Perlego?
Wir sind ein Online-Abodienst für Lehrbücher, bei dem du für weniger als den Preis eines einzelnen Buches pro Monat Zugang zu einer ganzen Online-Bibliothek erhältst. Mit über 1 Million Büchern zu über 1.000 verschiedenen Themen haben wir bestimmt alles, was du brauchst! Weitere Informationen hier.
Unterstützt Perlego Text-zu-Sprache?
Achte auf das Symbol zum Vorlesen in deinem nächsten Buch, um zu sehen, ob du es dir auch anhören kannst. Bei diesem Tool wird dir Text laut vorgelesen, wobei der Text beim Vorlesen auch grafisch hervorgehoben wird. Du kannst das Vorlesen jederzeit anhalten, beschleunigen und verlangsamen. Weitere Informationen hier.
Ist Stencyl Essentials als Online-PDF/ePub verfügbar?
Ja, du hast Zugang zu Stencyl Essentials von Richard Sneyd im PDF- und/oder ePub-Format sowie zu anderen beliebten Büchern aus Informatik & Programmierung von Spielen. Aus unserem Katalog stehen dir über 1 Million Bücher zur Verfügung.

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

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...

Inhaltsverzeichnis