Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(1 edit) (+1)

Okay, I probably was a bit unclear in my question. I am not in any way considering using DRM, such as copy protection, login walls, online activation etc. I despise it and - as you both - consider it useless.

I was asking specifically about HTML5 / JS games, since per definition, the game is the source code, because of how browsers work. This is obviously not the case for compiled code.

And as for the questions, they are simply:

Do you people prevent others from reading the code, and if yes, then how? (Obfuscate with eg webpack or JScrambler, Convert to native app, “compile” with eg. Ionic, React Native or NativeScript?) Does the itch.io platform have any best-practices or guidelines on the topic? (I can’t find any, so expect “no”)

Cheers, Mike

I doubt that the people that might do such things, read here. In the meantime, maybe just browser popular paid web games here, and try to snoop in the code. If you can't but it is the type of game were the source would be unprotected, you have seen examples how to do or if and what to do.

I suspect https://itch.io/games/top-sellers/platform-web/store the ones with the highest incentive to make the web version somehow that you cannot simply download the source code, since they want to sell the download version.

To be honest, I was not even aware, that the source code of html5 games can be read. With comments and all. (That is what I meant above, there is no need to "buy" your game. Being able to play it, is enough to have access to something that your browser uses to run the game)

Obfuscating code is outside the scope of itch.io quality guidelines, since we don't have any requirements on licensing or code availability. And I make everything open source anyway.