inkle / ink

inkle's open source scripting language for writing interactive narrative.
http://www.inklestudios.com/ink
MIT License
4.14k stars 494 forks source link

.Ink file to encryption? #762

Closed donitry closed 2 years ago

donitry commented 2 years ago

HI~ , i love ink so mush. But one thing, Ink file save to asset like txt file, how i can encrypt it? i means , somebody if want to know the next step about game story , can not by open the .Ink file to get!! thx a lot! thx again!

joningold commented 2 years ago

You don't include the .ink file with the shipped game, but rather the compiled story.json file. This still has plain text strings in it, but it's certainly a lot harder to comprehend. You could, if you wanted, have a build step that encrypts the story.json, and then decrypt it before loading it in the game.

Message ID: @.***>

donitry commented 2 years ago

Thank you! I see!!!!