Build Pipeline
Obfuscation

Obfuscation

Code obfuscation helps protect your game's source code from reverse engineering and unauthorized modifications. When enabled, your GDScript code is transformed to make it difficult to read and understand while maintaining full functionality.

Enabling Obfuscation

Toggle the "Obfuscate Code" switch in the build pipeline to enable code protection for your build.

Enable Obfuscation

What Happens During Obfuscation

When obfuscation is enabled, Hyperstone processes your game's code to:

  • Rename variables and functions: Meaningful names are replaced with short, cryptic identifiers
  • Remove comments: All code comments are stripped from the final build
  • Restructure code: Code flow is modified to make it harder to follow
  • Preserve functionality: Your game runs exactly the same, but the code is much harder to understand

When to Use Obfuscation

Consider enabling obfuscation for:

  • Production releases: Protect your commercial game from piracy and cheating
  • Competitive games: Prevent players from reverse engineering game mechanics
  • Proprietary systems: Protect unique algorithms or game systems
  • Final builds: Any build that will be distributed to end users

When to Skip Obfuscation

You may want to disable obfuscation for:

  • Development builds: Easier debugging and error tracking
  • Playtest builds: Clearer error messages for bug reports
  • Internal testing: Faster build times during iteration

Performance Impact

Code obfuscation has minimal impact on runtime performance. The obfuscation process adds a small amount of time to the build process itself, but the resulting game runs at the same speed as an unobfuscated build.