I am creating a game with winforms C#.
The game contains some images that are shown during the game.
I would like to forbid the players to open the game directory and open the image files because seeing them would ruin the gameplay.
For example, in C&C, the players can’t just enter the game library and watch the mamoth tank sprites, or view the movies.
Is there a way to forbid players to see those images?
You could embed them into resources fairly easily and extract them when you need them. See this link for more
Or you could encrypt them and decrypt them when you need them