Thanks for the help and clarifications greyelf and TME: that helps a lot.
(as far as Twee vs Twine: I'm writing everything in Twee, but compiling via Twine 1.4, using the StoryIncludes passage. I don't remember why I'm doing this rather than comp…
Thanks for the clarifications, TME--very helpful.
I understand the potential issue with referencing functions etc. that are not yet defined. Can't this be controlled fairly easily, though, by the order in which files are included in StoryIncludes…
Thanks for the help!
For some reason I thought StoryInit was supposed to be a script-tagged passage. Not sure where I got that idea. So StoryInit should not be a script-tagged passage, and its main use is just to use it for initializing variables…
Hi David, thanks for the kind words, and very sorry for the lack of response: I was out of town and travelling, etc. for the last three months, and a bit disconnected. You are welcome to take a look at my Ms. Lojka source code here: https://github.c…
I definitely prefer the "desktop application" feel of Twine 1 (along with its default color scheme) to Twine 2's "web widget" feel, though I have to admit that Twine 2 does seem a lot more responsive than it once did, and has picked up some nice fea…
So having just finished my first real game in Twine, I have to say that towards the end making changes was a bit of a nightmare. I've gotten used to version control, but as plenty of people have pointed out, git doesn't work particularly well with t…
I've done quite a bit more work on the game, especially the ending sequence(s). I've also added sound. The latest version is available at http://jordanmagnuson.s3.amazonaws.com/mslojka/index.html
Oops... didn't realize there were some technical limitations having to do with launching the game locally vs. playing it in the wild.
Because of some of the things I am doing, the new version of the game needs to be played in a window that is ope…
Okay, so the ending was the main area that I still wanted to work on after the initial beta. I've tried to flesh out the meaning somewhat as well as providing a little bit more agency with a couple of different possible routes.
I know it's asking…
@stray, thanks so much for the thoughtful feedback! A lot of really good points.
I didn't know where the story was going and was puzzled by the ending; it didn't feel to me as though anything had been resolved. There were lots of interesting mom…
Thanks much for the feedback @Denny and @yun!
When I first saw the "typing out the words" effect, it seemed slow to me, and I thought I might not stick it out. After a little while though, I fell into the rhythm of the typing and didn't mind it …
Do these random sentences need to be from a normal passage or could they be from an array of sentences?
That's an excellent question. Ideally, I would like to grab text from normal passages (i.e. actual game passages that the player has been t…
Great first effort: that was entertaining . I also love the pictures, and the tone of the writing.
My suggestion would be to maybe make the pictures a consistent size, and perhaps do a bit of css styling to convey the mood a bit more through the…
Just for future reference in case anyone else is looking, it seems adding a wrapper class inside passages can actually be simplified to:
postrender['doTheWrapping'] = function (content) {
jQuery(content).wrapInner('');
};
Yun: based on your previous question, it does seem like your inverted direction problem could be solved with variables (from what I understand). I posted my thoughts
If I'm understanding you correctly it does seem like this is something that could be done with variables.
If you have a variable for $direction that is either forward or backward (boolean 0/1), then in each passage you can have text like 'turn $l…
Thanks for taking a look, greyelf--appreciate it!
It's strange that the fullscreen function works fine by itself, but in connection with state.display() the body background-image fails for some reason. I'm now using a div immediately below body t…
Thanks for your input, TME!
Beyond that, I cannot fathom why you'd want to do what you're talking about in the first place. That sort of thing is, literally, why $variables and macros exist.
Okay, yes, you got me! I guess I was thinking abou…
Thanks, that's helpful!
Is it possible to access and alter the current passage text from a script tagged passage before that text is rendered (i.e. before Twine-style links get turned into actual html links, etc.)?
Thanks for the help, greyelf!
Is it best practice to do something like this in StoryInit or another of SugarCube's special passages/task objects... or to just put it in any 'script' tagged passage?
When will scripts in any 'script' tagged pass…
Here you can see the problem in action. Click the "begin" link and the story will advance and go fullscreen, but the body background-image is mysteriously invisible: http://jordanmagnuson.s3.amazonaws.com/mslojka/ms_lojka_fullscreen_background_probl…
Thanks for another solution, HoopaLoopa!
So I'm in SugarCube trying to create a button that will toggle fullscreen then immediately advance to a certain passage (essentially trying to create a "go fullscreen and start story" button). I'm using th…
Thanks TME!
The reason for adding the wrapper class is to add a 'typed' container div to passages automatically, for use with typedjs (so all passages will be automatically typed). I want to add a wrapper rather than simply adding '.typed' to the…
Well, I got this working with the following superhack:
Duplicate the typed text (including links) within the same passage, using absolute css positioning with a container div so that the duplicate text overlays on top of the (to be) typed text. S…
greyelf wrote: »
The simple answer is that you can no longer force a web-browser into full screen mode without some interaction/gesture from the user, this is done for security reasons.
Makes sense; I wondered if this had changed. I should have…