Deviation Actions

uxv's avatar

Kingdom of Hate Ch.2 (interactive fiction/Frozen)

Published:
By
48 Comments
1K Views
Kingdom of Hate Ch.2 - Captain's Orders - the second chapter of my interactive fan fiction story.

Play it here:
journey.atspace.cc/?chapter2

It's longer than the first chapter, one playthrough will take about 10 minutes, without looking at alternate storylines. There are various endings, I plan to start the next chapter continuing where the player left off in chapter 2.

Do you like it? Do the options and the dialogue make sense? Tell me what you think :).

EDIT: I forgot to say that I used reference for the picture, her hands and arms are from a pic by ImperialStarletStock, the face was mostly referenced by a model I googled.
Image details
Image size
1400x600px 98.17 KB
© 2014 - 2022 uxv
Comments48
Join the community to add your comment. Already a deviant? Log In
Simmeh's avatar
Aww, it ended too soon! I wanted more. >_<
uxv's avatar
I know, the story really didn't go anywhere yet, sorry about that... I'm working on the next chapter (going a bit slow at the moment), although that one won't be the last one either, I'm still not sure if I even can tell a real story in this way :shrug:.
Simmeh's avatar
Such an awesome idea! I'm playing/reading it right now and it's really cool! She's about to escape. :) 

Beautiful drawing by the way!! :heart:
uxv's avatar
Thank you, I'm really glad you liked it :D. And thank you for the fave too :hug:.
Espanholina's avatar
OH MY GOD, this is amazingFrozen - Elsa Icon, i just palyed both chapters and Oh, YouOH MY GOD, this is amazingNever  ! I can't wait 'till chapter 3Anna  Frozen icon, i loved it so much Squee Bounce Oh, Olaf 
uxv's avatar
I'm SO glad you liked it, it makes me happy :D. Thank you so much for your comment, and for your favorites :). I'm working on chapter 3, but it's going a bit slow at the moment ^^;.
Espanholina's avatar
It's OK and you're welcome!
ptahaegyptus's avatar
Very good so far.

And I reveal myself as a programmer: what is the program being used to drive the interactivity of the story?
uxv's avatar
Thank you.

It's basically a script interpreter, done in javascript. The writer writes text and commands into a text file, which is being executed by the engine.

I have entertained the idea of making it publicly available, so that people can write their own scripts, but I fear the way it works may not be obvious to non-programmers and there are technical issues, like setting up your own webhosting, script debugging (it's simple, but turing complete :D), custom syntax highlighting etc. And programmers would probably be able to cobble together their own interpreter in a shorter time than it takes to write a decent script.
ptahaegyptus's avatar
Thanks for the explanation.   Final question: Is the text file content in XML format?  
uxv's avatar
No problem.

Nope, just a plain text file. But I did try JSON before that, what with it being sort of the default serialization format of JS. Turns out it's more important that the script be easy to write by the human than to read by the program. I think using XML be just as bad..mostly I was just too lazy to worry about proper syntax in the script, so I designed a format that uses the bare minimum.. why do you ask about XML?
ptahaegyptus's avatar
Just curious.

The plus side of XML is twofold: Javascript has parsing for XML built-in and it can map to objects, and the structure in the allows you to package the text, questions, actions, and any side code in packages.  The downside is what you wanted to avoid: having to bother with syntax.  

XML was never intended to be written by human beings, but be a storage medium that was read-only for humans for debugging purposes.  You'd have to develop a special kind of editor to do the kind of branching story structure that your code is doing, so that's not gonna fly.
uxv's avatar
My point precisely - using XML, or JSON, or any primarily system-to-system data format, would be just more trouble than is worth. I think it would be possible to use a common XML editor to keep it well-formed and valid (since the way I process the file, it's basically a linear array of commands), but that's just adding complexity for very little benefit. Besides, thinking about that too deeply starts to bring back memories of XLST I'd rather keep away :).

Also, I try to avoid giving the script writer too strong expressive tools, like side code. I'm not saying it wouldn't be useful (reminds me of Wheeler's "Any CS problem can be solved by another level of indirection"), but I think once the script writer starts to code JS, they can just as well extend the engine itself. It just feels cleaner to keep the two layers separate.
ptahaegyptus's avatar
I was looking at XML being used as an alternative storage format for a database.  The tough part is the editor that hides the XML layout and lowers the entry knowledge level.  Even tougher would be an overview of the story as it is being written.

This conversation gives me a few ideas.  Maybe I'll give it a shot and shoot you a note later.
uxv's avatar
I guess that could work, though my first reaction would be that XML (with XSD) is better as the base of an exchange format between two systems rather than for internal storage. But at the very least XML would give you standardized tools to use. You'd probably be reinventing the wheel, but that didn't stop me with the interpreter either :).

Sure.
nixequeen45's avatar
Man, if Kristoff and Elsa aren't wrecking shit, trying to find Anna, I have the oddest feeling that they're involved in this, somehow.

It's also amusing to me that Hans can't seem let his defeat go.

Keep up the good work!
uxv's avatar
It's an interesting feeling, I have been thinking about making them involved yes :). I don't like people bringing in new, non-canon villains, just to defeat them, so that kind of narrows it down to existing characters :). But I have yet to finish up the basic story lines, so it's not a done issue yet.

Thank you, I will try!
nixequeen45's avatar
Not a problem. ;3
Phidont's avatar
this is such an amazing story so far and i love the idea of having choices. Overall, i cant wait for chapter 3 and i wish you good luck with it
uxv's avatar
Thank you for the praise, I'm very glad you liked it, I really am :). I'll try to make chapter 3 as interesting as possible :D
Phidont's avatar
yay cant wait
uxv's avatar
I'm doing my best but I don't have that much time these days, there's no telling when it's going to be finished :(..
Phidont's avatar
i guess it only matters that you trying your best with the time you can use to work on it ^^ it's ok everything will be alright
uxv's avatar
Thank you again, that's so nice of you ^__^.
Join the community to add your comment. Already a deviant? Log In