Hello guest! Login or Register
Construct 2 r90

Released Friday, May 11, 2012 at 2:01:09 PM

28mb for Windows XP, Vista & 7

Free Download
Download Manual

Coming Soon

Sounds & Music


Sounds and Music in Construct 2 are audio files. Any sound files the project uses will be exported with the project. Because browser makers cannot agree on a single format for the web, these must be encoded in to two formats: Ogg Vorbis (.ogg) and MPEG-4 AAC (.m4a).

To import and play back audio in Construct 2, the following steps are required:

1. Import sounds by right-clicking the Sounds or Music folders in the Project Bar and selecting Import sounds or Import music.
2. Import audio via the Import Audio dialog.
3. Add the Audio object to the project and add events to play back audio.

For more information on audio support in Construct 2, see the information in the section on the Import Audio dialog.

MIME types


In order for your server to send audio files correctly, it must be set up with the following MIME types:

.ogg as audio/ogg
.m4a as audio/mp4

Without these MIME types you may not hear audio after uploading your project to your server, or directly visiting the audio file's URL will return a 404 Not Found error.

Previous Entry
Variables
Next Entry
Behavior Reference

Feedback on this page
How useful was this page for you?
Do you have any suggestions for this page?