How do I create game themes using the script?

Be sure to read and follow the guidelines for our forums.

Jul 9, 2022 10:08 am
1. Install the theming script. Here are the instructions.
2. Visit your game details Advanced Rules Definitions and add a new theme name (avoid spaces, leading numbers and punctuation e.g. "loop" is good, "90's" is bad).

https://i.imgur.com/vd03lNL.png
3. Edit the Game themes script from the tamper monkey menu.
https://i.imgur.com/zSfW6NL.png
4. Add your theme's CSS near the bottom of the script. Above the console.log - look at this screenshot for the format.
https://i.imgur.com/tLKo9wP.png
5. Press Ctrl+S to save your script, then F5 your page to see the changes. Repeat until bored.
6. Rest of the owl?
Great! So how do we know what that CSS should look like?!

Press F12 - this will bring up the browser's dev tools. Select the arrow, https://i.imgur.com/VSlSXE9.png then move around the page until you find something you want to style. Hack at the CSS in the browser.
https://i.imgur.com/zEGYpzC.png
When you have it closer to the way you like it, copy the result back to your script.
Once you have a theme, live with it for a bit. See how it feels. You're only changing your view at the moment, so don't worry about breaking things.

Once you're happy with it, let me know so we can look at including it for everyone.
Jul 14, 2022 6:33 pm
A new way of distributing themes to people with the script.

1. Create a post* and place your CSS in spoiler.

2. Save the post and get the post id. You can get this from the end of the post's URL (after the #p). e.g. this post has id: 1222257

3. In your game's theme put the post number (no quotes) as your theme.
https://i.imgur.com/uKguw3z.png

4. Maybe edit the spoiler's name and add your theme's id, and add a screenshot.

https://i.imgur.com/jKu6UW7.png
[ +- ] Creepy cold theme: 1222257

* The post needs to be in a thread to which the viewer has write access. e.g. for public games, an OOC thread with public access.
Last edited July 14, 2022 7:22 pm

You do not have permission to post in this thread.