Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Gamebook Framework Example

edited July 2015 in Workshop
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

  • I don't suppose you have a Twine 2 version around, do you? Honestly I don't really need it for anything, I just enjoy seeing what people have done/can do with Twine.

    Thanks for building / contributing!
  • Neat interface, well done! Is that cursor a half-eaten zombie arm?
  • that's a cyborg arm!
    2itlp5e.jpg
    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.
  • Looks like I messed up my Rorschach test!

    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!
  • That's only if you have the local app version I believe. The simple web browser download works fine.
  • If you use the Publish to File option then you can use locally referenced images for both the web-browser and native app versions of the Twine 2 application.
  • The problem is how awkward that makes testing transition and animation timings...
  • actually SVG images can be written directly into the code so there is no need for a link of any kind in that respect. In that way they can also be animated using CSS animation or jQuery :)
  • edited August 2015
    That's true, though it's going to be rather limited in what you can do. Really stunning background images and the like will still need to be done by an artists as a png or jpg, or even a photograph.
  • well I guess it depends. With photographs of course they can't be vectors. SVG can be just as intricate as PNG for illustration but I guess something like that would be using a lot of code, maybe then using hosted images would be best. Or using the web app.
    On that note I admit I'm a little confused where to go with Twine 2.
  • I'm trying to convert this over to Twine2 with Snowman. It's a bit of a headache tbh lol. I'm kind of stuck how to implement the sidebar (even to have a sidebar) which updates according to weapon choice and health bar.

    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
Sign In or Register to comment.