Skip to Main Content
Mastering LibGDX Game Development
book

Mastering LibGDX Game Development

by Patrick Hoey
November 2015
Beginner to intermediate content levelBeginner to intermediate
420 pages
9h 2m
English
Packt Publishing
Content preview from Mastering LibGDX Game Development

Obfuscating the packaged JAR

Another consideration is the security of your game executable to prevent people, or at the least, make the process more difficult for the player to exploit your game code. A common technique used in the industry is to rename class member variables and class names, or obfuscate the compiled bytecode of the distribution JARs. There is a tool I have used in the past for obfuscating Android-based games, but can also be applied to the desktop version of your game. Proguard (v5.2.1) still seems to be the golden standard because it is configurable, relatively effective, and open source. The main website for Proguard is http://proguard.sourceforge.net/.

The following steps demonstrate how to use Proguard:

  1. Navigate to where the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning Libgdx Game Development

Learning Libgdx Game Development

Andreas Oehlke
Libgdx Cross-platform Game Development Cookbook

Libgdx Cross-platform Game Development Cookbook

David Saltares Márquez, Alberto Cejas Sánchez
Learning LibGDX Game Development - Second Edition

Learning LibGDX Game Development - Second Edition

Suryakumar Balakrishnan Nair, Andreas Oehlke

Publisher Resources

ISBN: 9781785289361Supplemental Content