Gods Posted January 29, 2015 Share Posted January 29, 2015 Python and Node simple http sever doesnt support the right Mime types so the audio doesnt work.I dont want to use grunt or gulp as there a pain because you must install them each game and extra files are not optimal.I am looking for a simple server you can just call in the terminal like python and node simple server and not worry about it. No extra files or installing.It needs to support the audio mime types! Quote Link to comment Share on other sites More sharing options...
Ninjadoodle Posted January 29, 2015 Share Posted January 29, 2015 I've never used anything simpler than Mongoose 1. Copy the file into you directory (where index.html resides)2. Click the Mongoose executable. That's all you have to do. Hope this helps Quote Link to comment Share on other sites More sharing options...
Gods Posted January 29, 2015 Author Share Posted January 29, 2015 I've never used anything simpler than Mongoose 1. Copy the file into you directory (where index.html resides)2. Click the Mongoose executable. That's all you have to do. Hope this helps Seems like they support windows. I am on mavericks and they dont give as clear instruction or let us known which OSX version it works on. I downloaded and tried to open the file and nothing happen. Quote Link to comment Share on other sites More sharing options...
Ninjadoodle Posted January 30, 2015 Share Posted January 30, 2015 Did you put the Mongoose executable file, inside the directory where your games index.html file is? Quote Link to comment Share on other sites More sharing options...
Gods Posted January 30, 2015 Author Share Posted January 30, 2015 Did you put the Mongoose executable file, inside the directory where your games index.html file is?yes I put the .dmg file next to my index.html I am not use if they even work with Mavericks Quote Link to comment Share on other sites More sharing options...
Ninjadoodle Posted January 30, 2015 Share Posted January 30, 2015 I'm on OS X 10.9.5 (Maverics) and everything works fine. Make sure you double click the Mongoose application and not the index.html file. Quote Link to comment Share on other sites More sharing options...
Gods Posted January 30, 2015 Author Share Posted January 30, 2015 I'm on OS X 10.9.5 (Maverics) and everything works fine. Make sure you double click the Mongoose application and not the index.html file.Had to redownload it and it works now but my sound still doesnt work :/ Not sure what is not supporting .wav is it Safari or the server Quote Link to comment Share on other sites More sharing options...
Ninjadoodle Posted January 30, 2015 Share Posted January 30, 2015 Cool, happy it works. HTML5 and Audio can be a bit weird. I'm using the Panda engine and my sound works perfectly now. Try saving your sounds as m4a, I think that might help! Also for Android I think you need ogg. Gods 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.