Book Image

Stencyl Essentials

By : Richard Sneyd
Book Image

Stencyl Essentials

By: Richard Sneyd

Overview of this book

Table of Contents (20 chapters)
Stencyl Essentials
Credits
About the Author
Acknowledgements
About the Reviewers
www.PacktPub.com
Preface
Index

Importing audio files into Stencyl


Let's import our first few audio files into Stencyl. We'll import both the OGG and MP3 versions of the sound files so that we can publish them to Flash as well as the other target platforms. Perform the following steps to do so:

  1. Go to Dashboard.

  2. Under RESOURCES, select Sounds, and click on the Create New button, as shown in the following screenshot:

  3. The Create New... window will appear. Provide the name Whip Away, then click on Create, as shown in the following screenshot:

  4. The sound editor window will now appear. To begin with, let's click on Import MP3, as shown in the following screenshot:

  5. A file explorer window will pop up. Navigate to Game Assets\Sounds\MP3, then select and import whip.mp3.

  6. Next, click on the Import OGG button, as shown in the following screenshot:

  7. This time, navigate to Game Assets\Sounds\OGG, then select and import whip.ogg.

Excellent! If you see the two green tick marks appearing beneath the import button we just used, then you have successfully...