Book Image

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

By : INNES BORKWOOD
Book Image

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

By: INNES BORKWOOD

Overview of this book

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.
Table of Contents (20 chapters)
Learning Stencyl 3.x Game Development Beginner's Guide
Credits
Foreword
About the Author
Acknowledgement
About the Reviewers
www.PacktPub.com
Preface
Index

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