Skip to main content
Post Closed as "Duplicate" by Kromster, user1430
added 206 characters in body
Source Link

I have a game and my tilesheets are placed in the images/ folder.

If a user edits the tilesets, they can make them transparent (I use white as my transparent color on them) and in game basically remove all obstacles and stroll to the level exit.

What's the common or most sensible way of sorting out so the user can't tamper with them?

EDIT: I've already encrypted the file, if the user replaces the file with anything else with the same name it still attempts to load it and place transparent tiles, allowing the user to exit unhindered.

I have a game and my tilesheets are placed in the images/ folder.

If a user edits the tilesets, they can make them transparent (I use white as my transparent color on them) and in game basically remove all obstacles and stroll to the level exit.

What's the common or most sensible way of sorting out so the user can't tamper with them?

I have a game and my tilesheets are placed in the images/ folder.

If a user edits the tilesets, they can make them transparent (I use white as my transparent color on them) and in game basically remove all obstacles and stroll to the level exit.

What's the common or most sensible way of sorting out so the user can't tamper with them?

EDIT: I've already encrypted the file, if the user replaces the file with anything else with the same name it still attempts to load it and place transparent tiles, allowing the user to exit unhindered.

Source Link

Protecting tilesets

I have a game and my tilesheets are placed in the images/ folder.

If a user edits the tilesets, they can make them transparent (I use white as my transparent color on them) and in game basically remove all obstacles and stroll to the level exit.

What's the common or most sensible way of sorting out so the user can't tamper with them?