I just wanted to share this example I did a while ago, using a little coding to get a popup inventory.
I kind of abandoned the project, but I thought it could be useful for anyone to build on or take ideas from.
All it's missing is an actual plot, but the framework is there, and the functioning is demonstrated.
(excuse the example text lol)
let me know if you find it useful, or want to ask anything.
I've been learning more javascript so will probably have another go at a better one when I get the chance.
Dan
ps- oh i made it with Twine 1.4
Comments
Thanks for building / contributing!
I made a whole bunch of images which my story was going to include, only I never got around to actually implementing a story. I think a bunch of them are embedded in the twine file as svg. Also there is some audio stuff in there which I never got around to testing and probably don't understand how it works myself lol
I just got Twine 2 but I haven't had a fiddle yet, too busy learning coding/web design right now. I think I read something about images not being able to be added like the old twine.
I believe in Twine 2 you can only load images that are hosted on a website, something like "<img src="http:...></img>"?
Coding and web design seem to be what's needed to write Twine games, so keep it up!
On that note I admit I'm a little confused where to go with Twine 2.
ps - Putting the SVG code in seems to work fine like I thought. Sillouhettes and simple images don't take a huge amount of code but I wouldn't like to try with something complex