Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Stencyl Essentials
  • Toc
  • feedback
Stencyl Essentials

Stencyl Essentials

By : Sneyd
4.4 (5)
close
Stencyl Essentials

Stencyl Essentials

4.4 (5)
By: Sneyd

Overview of this book

If you are a computer game enthusiast who has always wanted to know what it takes to build a playable game, or maybe you would like to expand your programming knowledge so that you can develop great computer games using a solid game engine and toolkit, then this book is for you.
Table of Contents (14 chapters)
close
13
Index

Supporting both MP3 and OGG formats


Stencyl supports two basic audio file formats: MP3 and OGG. One could be forgiven for making the assumption that this means we, as Stencyl developers, can choose which file format to use, according to our own preference. However, this assumption would be wrong. In actuality, the file formats are tied to specific target platforms. Here is the breakdown in a nutshell:

  • MP3 is supported by:

    • Adobe Flash (Flash can also utilize OGG, but not through Stencyl, due to the limitations of the OpenFL framework, on which Stencyl is dependent)

  • OGG is supported by:

    • Android

    • iOS

    • Windows

    • Linux

    • OS X

So in essence, MP3 is supported because the Flash targets won't accept any other format. The OGG format is used for everything else. This means two things:

  1. If you're not planning to ever publish your game to Flash, you can stick with OGG and ignore the MP3 format. The only limitation in this scenario is that you won't be able to test the sound for your mobile games in the Flash Player,...

bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete