Data storage test
3,238
Published 2019-09-11
Storing data in variables allows me to fit 4 or 5 adventures into a project. The restriction is imposed by the maximum json size allowed in a project. If I store the data as images and scan them at run-time then I can store a great many more adventures into a single project. It takes around 7 seconds on my computer to load the Zork adventure with this method but I'm interested to see how long it takes on other computers.
Credit to @gor-dee for a large improvement in speed from his suggestion to use transparency and "touching sprite" as opposed to using black and white and "touching black".
#techdemo #description(When I was working on some projects that required massive amounts of data I had to come up with a way of storing the data without pushing the project.json file over the size limit. This was my solution and has been used in several of my text adventure games.)