Put a whole public domain book? Txt file into the game?

Started by essaywrite7, 19 Jul 2021, 00:32

« previous - next »

essaywrite7

Would it be possible to put a whole book (public domain) into the game? I have it in the form of a text file. Do you think it's feasible? Where you could click on each chapter and read it?

Cassiebsg

There are those who believe that life here began out there...

Crimson Wizard

AGS has File functions that let you read any file. Unfortunately it still does not support moving these files into the package, so it has to be placed by hand along with the game.

File functions reference:
https://adventuregamestudio.github.io/ags-manual/File.html

Alternatively, you may copy whole text into the game script, and store it as an array of Strings, for example.

SMF spam blocked by CleanTalk