Working with Sound

Recommended Posts

I created a simple Animation, and want to test some soundfiles.


I can only use the "Online Version" of Mighty Editor, the "Offline Version" always tells me "Shutdown for Mainteance".



The problem is, that i cant upload a sound file into the "asset" folder. I can upload it, but i will only appear on the right side of the editor, and not in the "asset" folder.


Therefore Mighty Editor/ Phaser cant find the file, when i try to create it with "mt.create".



How do i get my soundfile to work?

Share this post

Link to post
Share on other sites



assets panel only shows images (at least at the moment I'm writing this).

mt helper don't handle sounds - but you can use standard API:


here are examples for quick start:

here is example in the Mighty Editor.

do you like horses? :)

warning - sound might be very loud - demo - project - check play.js file

Share this post

Link to post
Share on other sites

Ok, thank you :-)


Is it possible to create a Project with Mighty Editorand then export it, change it in a texteditor, and re-import the project? Because i cant use the offline Version of Mighty Editor :-( .



I already tried to re-produce some sound examples. But mighty Editor has another order structure.


At first i loaded a sound into "play.js"

function preload(){'examplesound', 'assets/audio/tech/examplemusic.mp3');}

This works so far. But i get an error, when i try to create an empty variable for example "var examplesound"..

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.