I don't know if someone has pointed it out already, but I play a MC who has dark brown eyes and I thought it was a bit weird when El said something like "it doesn't matter that your eyes aren't my favorite color", but their favorite color is brown right? Genuinely asking :)
I forgot to code for brown AND dark brown eyes, that was my bad. Fixed it—you'll see the changes when chap 4 is out, along with the rewrite.
BECKYYY!! PLEASE SHOW US HOW YOU DID THAT REALLY COOL NAME INPUT AND MY LIFE IS YOURS!!!
HI!!!! i am assuming you mean the login screen thing in episode 01? if so i have tried to explain it as best as i can below!
alright, so let's start with what's in the passage for the login screen:
and compare it to our rendered passage:
the login-screen div has some css going on, to make the text centered. as well as a transparent background to separate it from the other text in the passages and give it that screen sort of look.
there's not much going on codewise really, i've used two listboxes and two textboxes. the listboxes are for easy selection if someone doesn't care about imputing a custom forename and surname. the textboxes are for inputting custom names.
the login button is what's doing the heavy lifting! i used the example code from this thread i found a while back - i don't think it is too hard to follow!
in this case, the login button prevents the player from proceeding to the next passage unless the conditions are met. you don't necessarily have to put this in but it'd be silly not to as the mc wouldn't have a name and be labelled as "Forename Surname" lol.
hi!!! sorry to bother but i was wondering how you did the interactable buttons in the middle of the passages? for example, choosing your hair and eye colour in the beginning of the game!
those are called <<cycle>> choices, and are one of my favorite things about using Twine versus choicescript
you set it to a specific variable and list out your options, and then whenever you click on the word it cycles through them and automatically saves whichever result you've picked when you go to the next passage
so if you were using it for something like eye color it would be like:
Your eyes are <<cycle "$eyecolor" autoselect>>
<<option "blue">>
<<option "brown">>
<<option "green">>
<</cycle>>
so clicking on the cycle twice would set the $eyecolor variable to "green"
you can also use a second set of quotes inside the <<option>> tags to change the flavor text. so changing up that above example a little:
You have <<cycle "$eyecolor" autoselect>>
<<option "blue" "blue eyes">>
<<option "brown" "brown eyes">>
<<option "green" "green eyes">>
<</cycle>>
with that, the sentence reads "You have blue eyes" but the $eyecolor variable would only be set to "blue"
@idrellegames does a wonderful job of explaining it in this tutorial here and goes into a lot more detail about the different uses for it, I highly recommend checking it out! I've learned a lot about coding from their tutorials
Will there be any kind of flavor text involving the customization of the MC? Like will certain aspects of the MC be acknowledged once or twice in he story?
Yes! In fact, as it stands right now, the very first choice you make in the demo is purely for flavour text that will reappear throughout the game lol.
I'm not being dramatic when I say that I am obsessed with flavour text and hidden stats (i have so many planned), it's what made me fall in love with IF because *the possibilities* you know?
BUT it also really really complicates the process! Which is why my demo is taking so long to get right, I only started learning to code when I started this blog a couple of months ago, so getting my skill level up to where my ambitions began has taken time lol but I'm getting there! I'm as close to confident right now as I've ever been anyway 😂
I made a tiny calculator. It's not much, i made it from scratch, like codes and stuff and i thought hey tumblr has that weird custom page thing, i should see if i can put it online and it works, i hope u like my tiny calculator
(you might need a browser with this tho since it's a custom page thing)
heyy how do you get links in your description on tumblr mobile? like how do i get a link that redirects to another page on tumblr mobile
oohh you’re lucky anon this is literally the only line of code that I know LOL. I don’t remember exactly which tutorial I got this from, but it’s a general embed code for a link. credit goes to whoever wrote this, I definitely didn’t come up with it!
okay so this is the code: Link text
you can use this pretty much everywhere. when you go to edit your description, you put this in and put the url (so for me, if I wanted to redirect to my “about” page, i’d put http://goldenalec.tumblr.com/about-me in between the quote marks) and then put what you want the text to be where it says “link text”
you can also use this on ao3 if you want to embed a link to your blog in the notes/summary!
Heyy dear authoor, I dont know if you are taking question on these but I wanted to ask you about twine and coding. I’ve been interested in writing my own IF but vscode and twee and everything i’ve been reading so far got me super overwhelmed and I tried vscode and everything went red and error with templates I tried to use 😭 I was wondering what is your flow of coding the LAD and how did you started. How is story folders works, how do you structure the files and compile them
Anon... I'm shit at this but I'll try to help as much as I can.
Tbh, I touched a bit of everything before publishing anything. Idk how many games I started on renpy only to abandoned them because I was too lazy to continue and because I dunno how to draw and because I didn't know how to code it in a text only thing. Idk how many IF I started and are still gathering dust in my files and waiting to be rewritten properly, because I wanted to use choicescript at first but didn't understand a single thing lmaooo
I think templates are the most useful for a first IF, especially if you dunno anything about coding etc. I struggled a bit with mine at first (still am sometimes).
You also have to be sure to check if the template was updated for the latest version of twine and if you use the same story formats (SugarCube, Harlowe and... I don't remember the others). Make sure to check in the comments of the template you got too, sometimes some have answers to your potential questions.
My coding flow is a mess so anything I say will probably not help you. I knew some stuff before starting thanks to many attempt at publishing IF, even though I never published any until LAD. We're talking about maybe 2 years of attempts. So in the meantime during those attempts, I've watched some tutorials on ytb for exact stuff I needed, searched on google, on tumblr too (btw check @uroboros-if account, they have a lot of helpful stuff, that's where I found out how to deal with the pronouns, etc. and there's also @outoftheblue-if who knows much more than me (and I used one of their(?) templates! And @manonamora-if definitely will help you better if you got any question about twine!)
I think you should ask or search for the exact things you need. I did that most of the time and gathered it all somewhere in my files. Like, if you wanna know about how to code cycle choices, or how to deal with the pronouns of your ROs, or that kind of thing.
I doubt I've been helpful, but do feel free to head to my discord if you have more question about stuff!