Search the Community
Showing results for tags 'minify'.
-
I am currently using the Phaser project template located on Github. I tried to search online for a way to minify my game files, yet I've ran into pages that talk about using 'GruntJS'. I am currently not familiar with the javascript task runner. Can anyone give me links to tutorials on how to minify phaser games? Or can anyone post a detailed description on how to do so? I would appreciate it greatly.
-
i tried yui-compressor and googles closure-compiler and both stop because of the word static.. finishline.body.static=true;or any other occurrence of the word static.. they simply throw an error.. wth? closure-compiler: test.js:945: ERROR - Parse error. missing name after . operator finishline.body.static=true; or YUI-compressor: java.util.MissingResourceException: Can't find bundle for base name org.mozilla.javascript.resources.Messages, locale de_AT how do you minify your code?any idea how to get this to work? thx in advance!
-
Hello All, I wrote a walk through on how to setup Grunt to automatically concatenate/minify your phaser game so you can be ready for testing/deployment. Take a look at it here: http://www.orbitalgamestudios.com/blog/concatenate-and-minify-your-phaser-code/ Let me know if you have any questions, comments or concerns! Thanks!