Jump to content

Search the Community

Showing results for tags 'Uglify'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • HTML5 Game Coding
    • News
    • Game Showcase
    • Facebook Instant Games
    • Web Gaming Standards
    • Coding and Game Design
    • Paid Promotion (Buy Banner)
  • Frameworks
    • Pixi.js
    • Phaser 3
    • Phaser 2
    • Babylon.js
    • Panda 2
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
    • GameMonetize
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered
    • Marketplace (Sell Apps, Websites, Games)

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



Website URL





Found 2 results

  1. I am trying to obfuscate my Phaser game code so that it can't be easily manipulated. It was built by extending State and Sprite classes mainly, which means I do rarely use variables, but mostly object properties instead. What I have noticed is that UglifyJS wont obfuscate the code, even if using the mangle option, because object properties are not obfuscated. An alternative to this was to use Closure Compiler with ADVANCED_OPTIMIZATIONS mode. This is supposed to obfuscate object properties too, but after throwing hundreds of warnings, the produced code is totally broken. So I was wondering if any of you have had any success with this? PS: I know obfuscated code can still be de-obfuscated. The thing is right now it just takes some basic JS knowledge and 5 minutes reading the code to break the highscores. I'm pretty sure if I can make it harder, cheaters wont spend their time with that.
  2. 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!
  • Create New...