I have a text-only project I want to load on Itch in the game window. I saved it as html and uploaded it, and it shows just fine in the embedded game window. But when I click the fullscreen button in the corner, it’s just a black screen.
I chose “book” as the type of project even though it’s not a book. I don’t know if that matters here.
Any ideas on how to get rid of that black screen on pressing the fullscreen button?
Have you looked at the styling? And do you use black text? I have noticed the background color is white normally, but if you go into fullscreen mode it turns into black for some reason. You can set that manually with CSS and it should work.
OK, so here’s where I explain that I don’t know what any of this means, because I’m totally computer illiterate. Like, totally and completely. I know what CSS is, but not how to use it at all. I can copy something and tinker with it if directed to the right place, and that’s about it.
If there’s not a super-easy fix on Itch, like just toggling a switch, I’ll figure something else out. It’s a tiny project that’s not worth fussing over a lot.
The best is to change the Embeded to Click to FullScreen in the itch.io page setting (Edit Game). Then the background will be a lighter version of the colour on your page.
Nope, the html selector applies the background color to the <html> element, so the root of the page. Doesn’t matter where you put that block, it just has to be somewhere inside the <head> or <body> elements.
Maybe one day I’ll learn Twine, too. Everywhere I look there are things to learn and it’s difficult to prioritize them or decide if I really want to do any of it. The perils of not learning a single computer-related thing until age 50.
The only thing I’ve noticed on occasion is some Twine games when in fullscreen cut off the bottom of the page - which may hide choices. I don’t know if that’s using “click to launch in fullscreen” or embed with the full-screen icon. it might be something to do with an odd aspect ratio? The solution for that is you have to CTRL-minus to zoom out in your browser to see the entire page.
Sugarcube is very powerful for almost any game. I do find Chapbook the easiest mid-ground - especially if you’re a parser-experienced author looking to make a prose choice-based narrative with just standard text formatting tricks like delayed/reveal/cycling text, but don’t need all the glitter/fade/shake major text crafting that Harlowe allows.