jar4563 Posted August 12, 2019 Share Posted August 12, 2019 Hi html/javascript being open source in the browser a question rises how to sell your game if anyone can just grab the code? Maybe php can be used to prevent this. Any advices for beginner are welcome thanks! Quote Link to comment Share on other sites More sharing options...
b10b Posted August 12, 2019 Share Posted August 12, 2019 @jar4563 hi, this comes up a fair bit, it's worth searching the forum. There's some simple measures you can do like code obfuscation, however nothing is going to prevent someone with skills from deciphering any client-side code worth stealing. For genuine protection the valuable logic must be on the server-side. So we're often talking client-server model, MMOs, io games and so on. For a beginner my advice is don't sweat it - some creep might steal your code (and / or your art) - so be sure to beat them to market and offer better player experience as you evolve your game faster than they can rip it off. Quote Link to comment Share on other sites More sharing options...
jar4563 Posted August 13, 2019 Author Share Posted August 13, 2019 @b10b Yeah, thanks. I googled for obfuscating and minimizing, those are the only tools I know Quote Link to comment Share on other sites More sharing options...
totor Posted August 13, 2019 Share Posted August 13, 2019 you can mix very ugly code and wasm too o ;) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.