GamedevMania / phaser-ce-boilerplate

Template for games development in Phaser Community Edition.
MIT License
4 stars 0 forks source link

/audio/ball_hit.mp3 not loading, this is strange. #2

Open jjwallace opened 6 years ago

jjwallace commented 6 years ago

This is an issue with the manifest loader, the file path is correct in the source. Error Below....

./src/assets/audio/ball_hit.mp3 Module parse failed: Unexpected character '�' (1:0) You may need an appropriate loader to handle this file type. (Source code omitted for this binary file) @ ./src/assets .*.png|json|ttf|woff|woff2|xml|mp3|jpg$ @ ./src/states/preload.state.js @ ./src/index.js @ multi (webpack)-dev-server/client?http://localhost:8080 ./src/index.js

jjwallace commented 6 years ago

Am i missing something about MP3 loading? `WARNING in ./src/assets/audio/hit_block.mp3 Module parse failed: Unexpected character '♥' (1:3) You may need an appropriate loader to handle this file type. (Source code omitted for this binary file) @ ./src/assets .*.png|json|ttf|woff|woff2|xml|mp3|jpg$ @ ./src/states/preload.state.js @ ./src/index.js @ multi (webpack)-dev-server/client?http://localhost:8080 ./src/index.js

WARNING in ./src/assets/audio/boom.mp3 Module parse failed: Unexpected character '?' (1:0) You may need an appropriate loader to handle this file type. (Source code omitted for this binary file) @ ./src/assets .*.png|json|ttf|woff|woff2|xml|mp3|jpg$ @ ./src/states/preload.state.js @ ./src/index.js @ multi (webpack)-dev-server/client?http://localhost:8080 ./src/index.js

WARNING in ./src/assets/audio/hit_ball.mp3 Module parse failed: Unexpected character '?' (1:0) You may need an appropriate loader to handle this file type. (Source code omitted for this binary file) @ ./src/assets .*.png|json|ttf|woff|woff2|xml|mp3|jpg$ @ ./src/states/preload.state.js @ ./src/index.js @ multi (webpack)-dev-server/client?http://localhost:8080 ./src/index.js Child html-webpack-plugin for "index.html": 1 asset`

jjwallace commented 6 years ago

moving this issue to the phaser manifest loader git