New Inform authors: are you planning to enter Spring Thing? Have you made your website yet?
It was nearly two years ago today. I had waited until the last minute to make a website for my game. The documentation made it sound so easy! But files were out of date, the images weren’t displaying, and I had different ideas about the layout/font/colors.
I was in a panic!
If you, like me, don’t understand CSS or HTML at all but want to have a basic, styled website, don’t panic! This thread is for you. It’s going to involve some fiddling with files and folders, but don’t worry! We can get through this.
(a lot of this content simplified/extracted from this excellent thread by B.J. Best).
NOTE: Our styling only appears in websites. It can’t be viewed within the IDE.
getting started
These are Windows-specific instructions, but hopefully Mac or Linux users will be able to use them, too.
- Let’s grab Mathbrush’s “Bisquixe”. It’s located here.
- First, download “bisquixe.zip”. That contains an interpreter (software required to play Inform games).
- Next, get the extension for your compiler version (this is not the same as the version installed on your computer!). Not sure about this? Have a look at the title banner for your game. For instance:
Marbles, D, and the Sinister Spotlight
A new What-Do-I-Do-Now story by Drew Cook
Release 0 / Serial number 250327 / Inform 7 v10.1.2 / D
See that stuff at lower left? “Inform 7 v10.1.2 / D”? That’s the compiler information.
- If your game has a v10.1.2 compiler, download “Simple.Multimedia.Effects.for.v10.i7x”.
- Otherwise, download “Simple.Multimedia.Effects.i7x”
-
Let’s get everything in the right place. You might want to make a special “staging area” folder in your projects directory, just so you have a place to keep everything straight. Starting with “bisquixe.zip”, unzip it. Note that Windows will add a “bonus” folder by default. What you are looking for is a folder called “bisquixe” that contains files. No folders within folders. Something like this, in other words:
-
This might take a little digging. First, copy your new folder. We need to place a copy where Inform expects to look for it. In newer installations, this is usually (in Windows that’s …\Documents\Inform\Templates. Just drop the folder in the templates directory! Again, the folder, not the zip file. Hang on to that zip, though, just in case.
-
Next, the extension. Start by extracting the zip for “Simple Multimedia Effects” either version. This time, we just want the file inside. Once it’s extracted, you can install it from within the IDE. Just click “file>install extension” from the top-left drop-down.
-
Browse to the newly-unzipped file. That’s it! Now, we add it to our project. Just paste one of these near the top of your project:
- for v10:
include simple multimedia effects for v10 by mathbrush.
- otherwise:
include simple multimedia effects by mathbrush
Still with me? Ok. Let’s add some styling to our website.
(continued)