How can I protect my game

Discussion and feedback on Construct 2

Post » Wed Jul 13, 2011 1:48 pm

How can I protect my game from editing by others? or reusing on other sites?
B
4
S
1
G
4
Posts: 24
Reputation: 1,398

Post » Wed Jul 13, 2011 2:01 pm

Construct 2 is early in development - we haven't got any features for that yet. However we're aware it's a really popular request so we'll work on something soon.
Scirra Founder
B
386
S
229
G
87
Posts: 24,207
Reputation: 191,602

Post » Wed Jul 13, 2011 10:05 pm

If is javascript, i think is impossible to protect javascript code due to client-side reason...

Maybe you should to add a module like Username and Password for members
B
96
S
34
G
29
Posts: 3,139
Reputation: 28,236

Post » Wed Jul 13, 2011 10:07 pm

Or Encrypt javascript, but it will increase file size and can be decoded.
B
96
S
34
G
29
Posts: 3,139
Reputation: 28,236

Post » Sat Jul 16, 2011 3:48 pm

I'm assuming variables are not editable using something like Firebug? That'd be a disaster.
B
2
S
2
G
3
Posts: 143
Reputation: 1,536

Post » Sat Jul 16, 2011 3:54 pm

The best thing and easiest thing to do with be obfuscate it with something like Google's closure compiler during export.
Image Image
Scirra Founder
B
159
S
41
G
34
Posts: 4,381
Reputation: 53,464

Post » Sun Jul 17, 2011 2:22 am

Unfortunately there really isn't any options to protect JavaScript files, it's completely open-source and it'd be incredibly dangerous if it wasn't.

Like Tom said, the only things you can do is make the code hard to read. There's heaps of pretty printers though, so even if you change the variable names you can still format it back to it's original state.
B
3
S
1
G
3
Posts: 49
Reputation: 1,148

Post » Sun Jul 17, 2011 10:42 am

Can't stop players from cheating. In fact, why bother? It is their choice how they want to play the game. If they want to ruin their enjoyment by giving themselves unlimited health and money just to blitz through the whole game, let 'em. It is their choice.

Focus your energy on something more worthwhile.Mipey2011-07-17 10:42:18
B
62
S
21
G
12
Posts: 1,910
Reputation: 13,170

Post » Sun Jul 17, 2011 11:09 am

Agreed, entirely.
B
3
S
1
G
3
Posts: 49
Reputation: 1,148

Post » Sun Jul 17, 2011 2:50 pm

Thank you, but i can't find any working obfuscator. Changing some of the names, breaks the code.

Forgive me this english-like language.quick-fire2011-07-17 14:50:16
B
4
S
1
G
4
Posts: 24
Reputation: 1,398

Next

Return to Construct 2 General

Who is online

Users browsing this forum: JithinJoy, tarek2 and 2 guests