Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning Stencyl 3.x Game Development: Beginner's Guide

You're reading from   Learning Stencyl 3.x Game Development: Beginner's Guide You don't need to know anything about game development or computer programming when you use the Stencyl toolkit. This book guides you through the whole process of creating a game, publishing and profiting from it.

Arrow left icon
Product type Paperback
Published in May 2013
Publisher Packt
ISBN-13 9781849695961
Length 336 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
INNES BORKWOOD INNES BORKWOOD
Author Profile Icon INNES BORKWOOD
INNES BORKWOOD
Arrow right icon
View More author details
Toc

Table of Contents (20) Chapters Close

Learning Stencyl 3.x Game Development Beginner's Guide
Credits
Foreword
About the Author
Acknowledgement
About the Reviewers
www.PacktPub.com
Preface
1. Introduction FREE CHAPTER 2. Let's Make a Game! 3. Detecting Collisions 4. Creating Behaviors 5. Animation in Stencyl 6. Managing and Displaying Information 7. Polishing the Game 8. Implementing Sounds 9. Publishing and Making Money from Your Games 10. Targeting Mobile Platforms Planning, Resources, and Legal Issues Index

Time for action – importing a sound effect


The game file to import and load for this session is 5961_08_05.stencyl.

  1. Select Dashboard | Sounds.

  2. In the main panel, click on the Click here to create new Sound option.

  3. Name the sound Monkey Dies and click on Create.

  4. In the Properties panel, ensure that Sound Type is configured as Sound Effect.

  5. In the Import a Sound panel, click on the Import MP3 option to display the file-locator dialog box.

  6. Locate and open the file 5961_08_Monkey_Dies.mp3 from the book's download files.

  7. Note that, in the Import a Sound panel, the MP3 is imported? status is now checked, as shown in the following screenshot:

  8. Also note that, in the Properties panel, the Type is set to: Mono / 44100 Hz / No VBR.

  9. Click on the play button in the Sound Player panel at the lower-left corner of the screen to hear the newly imported sound effect.

What just happened?

We have imported an MP3 audio file as a sound effect, and it can now be used in our game as required.

As we have discovered, as long...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image