Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

a.w. morgan

45
Posts
1,305
Followers
46
Following
A member registered Sep 01, 2021 · View creator page →

Creator of

Recent community posts

(3 edits)

Hi Charlie! No worries at all, this is a fun one. I actually touched on it in passage 3 of the template (where I talk about the live update macro). Basically, any choice you want to include a dialog tag on needs to go inside of a live block. The code would look like this:

<<liveblock>>
*<<link "Choice with flirt label $flirt_label" "4">><</link>>
*<<link "Choice with info label $info_label" "4">><</link>>
<</liveblock>>

I'm not sure how to get the dialog tags to work with the [[ ]] brackets, so I've always used the <<link>> format. Hope this helps!

Edit: it looks like the thread is making the code text funky. There shouldn't be any line breaks in the code:)

Phew, glad to hear it!! 🎉

Definitely not a dumb or silly question! I'm sorry it took me forever to respond, but Charlie's answer is perfect! Something that helped me a lot when I started learning how to code in twine was this post (which is all about setting stats): https://idrellegames.tumblr.com/post/665163387870822400/hi-so-im-learning-twinesugarcube-and-ive-been

Hope that helps and let me know if you still have any trouble!

(1 edit)

Okay! I may have figured it out!! What version of Twine are you using? I just downloaded an older version of Twine and tried my template out and got the error, yay! (Yay as far as hopefully having figured it out haha, boo about it not working on certain versions of Twine lol)

It looks like it's only working for version 2.3.12 and up. I'm thinking that's because Sugarcube was updated to 2.34.1 in that version, so I'm not sure if it's due to Twine being outdated or Sugarcube technically. But I just downloaded the newest version of Twine (2.3.16) and it's back to working so I'm crossing my fingers that you're perhaps running a version older than 2.3.12??

Thank you! Okay, that's what I thought it was. I did find this happening on one other game using my template, but not on three others, so I have a feeling it might be Internet-related but I'm still not positive.

This is probably super annoying so I'm sorry, but would you mind copy/pasting your JS file just so I can check it out? Either the whole thing if you want, or just the part starting with //autosaves and ending in //end name saves? Just so I can rule it out completely (I'm way more comfortable with twinescript than javascript so I'm really just spitballing here lol)

Haha thank you!! Okay so, I haven't been able to replicate it again unfortunately. When you get a chance, could you please screenshot the error you're getting and paste it in here? I keep going through the javascript trying to figure it out, but now that I can't get my copy to throw the error again, I'm just not sure what's going on😔

(1 edit)

Oh my gosh, I'm sorry it's taken me so long to respond to this! And I'm so glad you're liking the template☺️ I was able to replicate the autosave error aaaand I'm not sure yet why it's happening, so I'm working on figuring that out now. Will leave another comment on here (hopefully) tomorrow when I work it all out!

Oh my goodness yes, I'm loving WALL! Excellent writing!! And yay, I'm so glad I could help a bit with my little ol' template💗

Thank you so much, Charlie!! That absolutely makes my day, and it seriously blows my mind to see IF authors using it😊 Please let me know if you make a game with it, I'd love to see it!

(3 edits)

I'm sorry it took me so long to see this! Thank you so much!! And yes, if you haven't already found an answer for this, it's totally possible with Twine's tagging system. I'm actually working on this in another template I'll be sharing hopefully soon, but I'm happy to go over how to do it here too<3

First, you're going to add a tag to the passage you want the header hidden. In this example, I'm using the tag 'start':

Then you'll go into your Stylesheet and add:

.start .header {
  display: none;
}

And you'll end up with this:

No header! Hopefully this helps:) Happy coding and I can't wait to see what you come up with!

Thank you for your thoughts and hey, my characters aren't for everyone🤷🏻‍♀️

Haha not at all! There's definitely a learning curve to all of this stuff, feel free to ask me about any of it (although full disclosure, I get lost on some of it still too lol)

(4 edits)

Hi there! Good question. The "noreturn" flag works in conjunction with the "$return" function to prevent loops. So for example, when you visit the "stats" page, then click the "styles" page from the menu right after, pressing the "return" button will bring you all the way back to the story (instead of back to the "stats" page even though that was the last page you were on). The navigation arrow doesn't use the return function - it just goes back to the previous page, which is great...but I figured if there's a chance someone doesn't want to keep the navigation arrow (I don't like having a back button in my own game, for example), I'd better cover the bases with a proper "return" button for the menu pages. Thanks for downloading!

Aw I'm glad Ciaran is getting some love!! Desi and Mr. Morillo couldn't be any more different but I love hearing that you dig both of them 😝💖

Oh goodness, I'm so sorry I'm just now responding to this! Thank you so much for adding my little game to your list and for letting me know!! Such an honor to be included with so many amazing authors💗

Haha I'm glad to hear it! Both of my sarcastic babies are a lot of fun, so I'm happy you like them💖

Thank you so much!! 🤗 I'm glad you like the funny moments w/MC, I was definitely worried people wouldn't be into my sense of humor haha. I'll have more to share with you all soon, so stay tuned! <3 

Oh! And the glitching text is so much fun, right? For some of them, I used Hiev's 'Drunk Text' code and just tweaked the keyframes, and for the demon text I used a combo of 'Rumble' and 'Shudder' from here, also adjusting the keyframes until it looked just right. Yay coding!

Thank you!! I'm glad you're liking it so far! Hopefully will have more to share soon:)

Thank you so much, I'm so glad you're liking it so far!! <3

Congrats on finishing the game jam! I loved this story, it sucked me in right away and kept me interested until the end. I've gotten two endings so far and I'm definitely going to replay again to see what else I can find out. Awesome job!!

Yay, congrats on the demo drop!! I can't wait to read more!

(1 edit)

Thank you for reporting this (and for playing)!! Another person received this error when they played using an old save file. I'd recommend replaying from the start, which should (hopefully) eliminate those errors:)

Congrats on the demo drop🎉🎉🎉 I'm already super engrossed in the story and I can already tell your sense of humor is just *chef's kiss* based on the line "Good ol' Ben Frankie" lol. Can't wait for more!

Oooh okay thank you, I'll definitely have to check that template out!

No problem at all! Can't wait to see what you come up with!!

Thank you so much!! That's a good idea, and there are a couple things you could do. You could 1) opt to keep the bottom bar open at all times (instead of having it open on hover) and keep your real-time stats down there instead of in a separate stats page. To do that, you would need to adjust the footer height in the stylesheet - right now it's at 10% so just change that to whatever height you want and erase the .footer:hover section.  Or 2) you could add in a whole new section altogether to store the stats in, but that'll take a lot more coding to make work. Off the top of my head, I'm thinking you could add a new div id to the StoryInterface passage like this:


You'll need to add a new passage to store your stats (so in my example the new passage would be titled static-stats), and you'll need to add styling for the new div in the stylesheet.

#static-stats {
  font-family: var(--sansserif);
  font-size: 80%;
  text-transform: uppercase;
  letter-spacing: .2em;
  line-height: 1.5;
  position: absolute;
  right: 0;
}

Totally depends on how you want the stats to look, but this is what I put for the example and it ends up looking like this:


You'd have to play around with mobile formatting though since the mobile version doesn't leave room for stats on the side like this. Maybe something like:

top: 10%;
left: 50%;
transform: translateX(-50%);

This would put the stats right in the middle above the passage, but it does interfere with the title a bit (and also just doesn't look great). But hopefully this is a good starting point for you to make it work!!

Your game looks wonderful, I may have to check out Harlowe myself! But thank you, I can't wait to see what you create with it:)

Thank you so much!!! 💖 And I'm so glad you like my snarky bb Sam :P

Haha I promise I'm  not ending it here!! I'm so glad you like it so far<3 Sam is so much fun to write, so I'm really happy you're enjoying them too! I'll hopefully have more to share with you all soon, just working on editing chapter 2 now🎉

Aww, thank you so so much!! I'm seriously so flattered (and I agree, there isn't much sexier than a cynical demon in your head😂)! Hopefully I'm going to have more to share with you soon<3

I can't wait to see what you come up with!

Hi!! I'm so sorry for the late reply, but thank you for playing my game! I'm so glad you liked it💖 You're right, I do use Sugarcube and the glitch effect is called drunk text, which you can find right here! I also played around with the CSS on it to get the blinking exactly how I wanted:)

(3 edits)

Oh no!! I'm so sorry, I'm not sure why this error happened! If you'd be so kind as to report this on my error form right here, it'd really help me try to replicate and troubleshoot the issue❤️ Thank you for posting about it so that I'm aware of it though! And sorry again, errors are no fun to encounter:/

EDIT: Okay, I found a couple posts about this error (here's one, and another) explaining that this can appear when cookies aren't enabled on your browser. I'll update the game description here to say that cookies must be enabled to play:) And thank you again for reporting this, I learned something new today!!

This is beautiful!! The code is straight-forward and it's so dang elegant💖 You're so talented, my dear!

Thank you so much!!! I'm so happy you're enjoying it so far! And I'm glad you liked that option, I was definitely laughing when I coded that bit in😂

Thanks, I'm glad you're liking it so far! I'm not sure about the superstition cliche so I guess we'll see if it ends up going that way? But as for the flirt options, I'm planning to add them in the next chapter. No flirting so far :) Thanks again!

No problem at all!! Keep me updated on your game (if you want to ofc), I'd love to see what you come up with! 😊

I don't, I'm sorry!! I'm pretty nooby when it comes to twine too, honestly. I've only been playing around with it for the past couple months, and I just end up editing css directly in the stylesheet. An easier way would be much appreciated! And agreed, everything cerberus does is amazing, both writing and coding! ❤️

This is so lovely and well done!! Congrats again on the anniversary and thanks for sharing your writing with us, Parker!

I use Twine 2!! And definitely, nyehilism is super talented, I'm really glad that I happened upon their template since it really helped me get the hang of coding in Sugarcube. There's another really gorgeous template here. It's less conventional than the first one I linked to so probably not as easy to start with, but still a lot of fun to play around with :)