Build 10 games and learn game development along the way in this fast paced game development course

Get the source code of 12 commercial games, loaded 50+ million times, and learn the secrets of game design

Learn how to make a successful Flash game from a real world example. Fully commented source code

Create realistic Flash physics games from scratch with advanced features, from Angry Birds to Crush the Castle

Protect, obfuscate and sitelock your HTML5 games and your JavaScript scripts with JScrambler

Protecting your hard work has always been a priority. In the making of your latest HTML5 game, you invested lots of hours in developing your JavaScript code.

Unfortunately, everyone can read it just looking at the source code of the web page your script is running into. In other words, you wrote a script you are basically giving away for free.

By accessing to your source code, another programmer can:

* Violate your license agreement
* Steal secret algorithms
* Steal your code, to reuse it
* Leak altered versions to the Internet

That’s why you need a tool to protect, and obfuscate your source code: JScrambler

With JScrambler you can:

* Protect your Web Game code without hurting performance
* Enforce your licensing
* Domain lock your code
* Discourage others from stealing/hacking your code

Let’s see how it works, testing it on the script I made in the post introducing SUPER JUMP in your HTML5 platform games. This is the original code:

JScrambler has a lot of options to tune the obfuscation but it also provides a quick wizard to complete the process in a couple of clicks:

And this is the output, without sitelocking or date restriction so you can even test it on your own:

Obviously, the game is working:

WASD key to move the green character.

No doubt JScrambler will be my tool to encrypt games and projects

Rate this post: 1 Star2 Stars3 Stars4 Stars5 Stars (15 votes, average: 2.87 out of 5)
Loading...Loading...
Learn how to make a successful commercial Flash game from a real world example: get the fully commented source code of Globez, a Flash game played millions of times which generated a four figure income. Limited copies available.

Get it now
Be my fan on Facebook and follow me on Twitter! Exclusive content for my Facebook fans and Twitter followers

This post has 3 comments

  1. EarthwormJeff

    on April 18, 2014 at 9:48 am

    Nice work, I just wanted you to know that WASD key is keyboard layout dependent… So on french azerty keyboard, it is really not useable. Maybe, you could get the key code instead of the letters… (or just use the arrows) @+

  2. Bruce Jawn

    on April 25, 2014 at 8:26 am

    Have you ever tried some free JS obfuscators? Because there’re already plenty of such tools(see for example http://bruce-lab.blogspot.com/2014/04/free-javascript-obfuscators.html), what are the advantanges of this one? Maybe sitelocking and date restriction?

  3. focus

    on April 26, 2014 at 1:33 am

    Looks like you didn’t used full obfuscation power for the code snipped you posted. This is how your code looks like after first deobfuscation pass (just beautifying one): http://pastebin.com/2QMTSpzv
    It is already readable, strings are not encrypted at all, variables values (32, 15, etc.) are easily accessible and not obscured, etc. It looks like minifier rather than obfuscator in your example.

Thank you for the download!!

I hope you will find it useful and make something interesting out of it

To keep up to date with the blog, why don't you like my Facebook page and follow me on Twitter?

Want to learn more? Don't miss this:

Learn how to make a successful commercial Flash game from a real world example: get the fully commented source code of Globez, a Flash game played millions of times which generated a four figure income. Limited copies available.

Get it now

×