Kayotime, The Reader

Member Since

7/10/2016

Last Activity

10/10/2022 5:46 PM

EXP Points

32

Post Count

41

Storygame Count

0

Duel Stats

0 wins / 0 losses

Order

Warden

Commendations

0

Hey! I'm Kayotime! Welcome to my page!

I support mustaches and Muggles.

Any friend of the flock is a friend of mine.

"You... are... a... fridge... with... wings! We're... freaking... ballet... dancers!&" ~Fang, Maximum Ride Series

And.... yeah, that's it. Thanks for visiting!

Storygames

Enter The Inner Realms
unpublished
This text-based adventure is a recreation of the world within my dreams, which has been a nightly experience for me since childhood. After trying and failing to recreate this vast and wonderful world in 3D format, I decided it would be faster and easier to return to this old site that I've loved since middle school and build my beautiful dreamscape through an interactive, free roam story adventure. All I've ever wanted was to share the wonder and magic of my dreams with the world, and with this full-length experience, now everyone can enjoy the fantastical, magical world that is the Inner Realms. Thank you for joining me on this journey, and I hope you enjoy it as much as I do!

Recent Posts

Change Default Font Size Depending On Variable on 10/8/2022 6:19:45 PM
Oh okay got it! Thanks!

Change Default Font Size Depending On Variable on 10/6/2022 7:24:56 PM
Yeah that's what I did... or tried to do anyway, by which I mean I finally gave up and scrapped the concept. Was still a good experiment though and got me more experience with the scripting, so there's that at least. I swear if Bradin finds a way to pull this off like the madlad scripting God he is, Imma be so done! XD

Change Default Font Size Depending On Variable on 10/6/2022 6:54:51 PM
That's what I was afraid of. Eh, it's only 5 numbers, I fan plug that in easily, and remove the entire feature later if I change my mind. Thanks for the help, everyone!

Change Default Font Size Depending On Variable on 10/6/2022 6:34:36 PM
Just checked and no it doesn't translate the variable. It just says "{font-size: '%FONT';}" instead. So at least we know the problem is with the variable not working properly in that sense. Is there a way to fix it?

Change Default Font Size Depending On Variable on 10/6/2022 5:55:46 PM
The script shows up in the source, yes, but isn't... colored like the other scripts. The beginning and ending style tags are colored, but the script in between in plain black text... I said I was rusty in my HTML, and by that I mean I'm a Novice so I can't even begin to tell what's going on in the source.

I edited the code a little to group everything together neatly, and everything still works as intended except for the font size script. I thought the initial problem was that I had my FONT variable set too high (apparently the limit is 3 to 7) so I changed the min and max to fit within this and edited the links so that the value of the variable never went outside those parameters. But it still doesn't work! Here's what I have now, all cleaned up and neatly divided:

$PAGETEXT := "[style]
ul {
list-style-type: none;
padding: 0;
text-align: center;
}
body {
background: url('https://chooseyourstory.com/resources/images/user/58838?58838') center/cover fixed;
font-size: '%FONT';
} [/style]" + "[center]" + $PAGETEXT × "[/center]"

Everything works perfectly EXCEPT the font size script, and again, this script shows up as plain black text in the source code.

Change Default Font Size Depending On Variable on 10/6/2022 11:45:15 AM
Okay, added the hyphen and cleaned up the script. It now looks something like this:

$PAGETEXT := "[style] body {font-size: '%FONT';} [/style]" + $PAGETEXT

I have it so that the FONT variable is displayed, and that changes just fine, but the actual size of the font on the page still doesn't change... am I missing some more spaces or is there something else going on here? Reminder that all of this is in the Global Page Script.

Edit: Tried adding the font-size to my other body setting for the background. Now the entire GP script looks like this:

$PAGETEXT := "[center]" + $PAGETEXT + "[/center]"
## Centers the body text

$PAGETEXT := "[style]
ul {
list-style-type: none;
padding: 0;
text-align: center;
}
[/style]" + $PAGETEXT
## Deletes the bullet points and centers the links

$PAGETEXT := "[style]
body {
background: url('https://chooseyourstory.com/resources/images/user/58838?58838') center/cover fixed;
font-size: '%FONT';
}
[/style]" + $PAGETEXT
## Sets the background image and changes the font size depending on the variable

Does this help figure out the problem? All of these scripts work perfectly like this EXCEPT the change font size one.

Change Default Font Size Depending On Variable on 10/6/2022 11:26:25 AM
Got it lol, lemme try fixing that

Change Default Font Size Depending On Variable on 10/6/2022 11:05:20 AM
Alright I specified the body of the document to be affected by the font size change. This is what I have now: $PAGETEXT := "[style]body{font size: '%FONT';}[/style]" + $PAGETEXT But it's still not working. What else am I missing?

Change Default Font Size Depending On Variable on 10/6/2022 10:46:23 AM
True, true. It's still a good thing to know though, for other projects in other engines/sites.

Change Default Font Size Depending On Variable on 10/6/2022 10:44:07 AM
Got it! Lemme try that!