Zurück ins Wunderland (1): Mehr über Twine

Auch wenn in den letzten Tagen auf diesen Seiten nicht viel darüber zu lesen war, ich habe intensiv an meiner Rückkehr ins Wunderland mit Twine, Ren’Py und eventuell auch Tuesday JS gearbeitet. https://kantel.github.io/posts/2026022601_wunderland_1/ #InteractiveFiction #GameDev #VisualNovel #Twine #Harlowe #Chapbook #SugarCube

Oh, mais ça fait longtemps que je n'ai pas #VendrediVortex 😉 Il faut dire que je travaillais sur une toute nouvelle version du portage de Bruxelles Vortex en ligne 🥳 Cette fois, on oublie les cartes dans H5P : bienvenue au jeu interactif qui gère tout seul les variables grâce à #Twine et à #SugarCube ! C'est gratuit, ça respecte vos données personnelles et c'est ici : https://babeleur.be/bv/ 🎉

#Bruxelles #LVDH

It took me two hours, but I learned how to manipulate the sidebar in a #Sugarcube #Twine story.

It's another story that I don't want to make all the changes I learned. At least now I know how to do it next time.

The sidebar used to be the default black-gray with a gray border. Now, it has the border and background color of the rest of the story.

So an update to sugarcube-2 (the twine 'language' that Im writing Legends of the Hardwood Isles in) just broke several of the javacript plugins/macros that I've downloaded to make writing the game easier.

I don't really know javascript beyond some basics, and the section of the game that I'm working on now relies extremely heavily on some of that third-party javascript. As in: every single passage in chapter 3 (something like 150 now) is now completely broken.

So my choices are: hope the people who wrote the macros fix them quickly (unlikely), figure out javascript to fix the new incompatibilities, or basically rewrite chapter 3's background code from scratch using the original method I started with months ago before deciding it took too much effort and gdtting the macros.

#twine #twinegame #sugarcube-2

Hey #Twine #Sugarcube users, I wrote a test configuration management doohickey! It's over at https://git.chromaticdragon.app/kistaro/sugarcube-test-config-manager/src/branch/main/test-config-manager.js -- paste it into your Story Javascript (like other Sugarcube add-ons) to use it.

Twine has a "Test From Here" button, but it doesn't have a built-in way to configure variables and history for a test run. You can write a passage to configure variables and add a link to where you want to start, but you have to rewrite it for every different start point and it doesn't edit your history.

To use Test Config Manager, create "test config" passages that do all the variable assignments you want for your test run. Tag test configs "test-config". Then whenever you start a test run, you'll have the option to "load" one test config -- Test Config Manager will "run" it and then reload the page you started on. So you can set up different player states and recycle them on many different start pages more easily. In-engine "Restart" will restart from your test start point and let you load a different config.

I also added a new macro, <<touch "passagename">>, which is only valid in test configs. This will insert "passagename" into your history, as though you had visited it. (It does not load or execute that page.) You can use <<goto>> macros (yes, multiple if you like!) inside your test config to actually visit and execute a page invisible during setup; you'll get redirected to your specified start page anyway.

The history tampering isn't perfect -- if you use `touch` or `goto` you'll wind up with a history that says you visited the starting page twice, which will affect various "have you only been here once?" things, and the starting page will always execute again after loading a config (so other calculated state changes will repeat). I can imagine a more complicated startup flow that would fix these; if there's demand for it I'll give it a try.

Anyway, feel free to use this in your Twine projects, and let me know if you run into any trouble -- I'd also love to know if you don't, I'm just curious to see if people use it! My partner has drafted a sci-fi Twine novel, which is novel-length, and I wrote it for zir because testing and stabilization has been a chore. But I'd love for more than zir to get use out of it! Folks better at JavaScript or jQuery than me (which is likely a lot of folks, I'm not a frontend dev at all) are also invited to suggest fixes or improvements.

sugarcube-test-config-manager/test-config-manager.js at main

sugarcube-test-config-manager - An system to make testing Sugarcube-V2-based Twine games more convenient. After adding this to your story JS, create passages with "test-config" tags to add them to the "test config" menu that appears on the first passage when you load test mode. If you pick a test config off the menu, it (silently) executes, then the page reloads. This allows you to configure scenarios by creating pages full of variable assignments. It also defines the touch macro, for use in test configs, to put passages in your history so visited() checks will find them.

Gitea
Passer une variable dans #Twine (#Sugarcube) à #Javascript : la mission impossible du jour. Rien de ce qui est proposé dans les forums ou par les IA génératives à ma disposition ne semble fonctionner (https://shorturl.at/mtyH8)
ChatGPT

A conversational AI system that listens, learns, and challenges

Devlog: Smashing Pumpkins mit Twine und SugarCube (Teil 3)

Wie ich gestern schon schrieb, ist die aktuelle Version 0.3 alpha meines kleinen Twine-Spiels über eine kleine Hexe, der ich den Namen »Emmy« gegeben habe, nicht nur die erste spielbare Fassung, sondern auch die erste, in der ich im großen Stil SugarCube-Makros einsetzte. Daher ist es an der Zeit für ein weiteres Devlog: https://kantel.github.io/posts/2023111901_smashing_pumpkins_devlog_3/ #Twine #InteractiveFiction #SugarCube #GameDev #Devlog

Der Schockwellenreiter - Devlog: Smashing Pumpkins mit Twine und SugarCube (Teil 3)

Version 1.2.3 - OCTOBERWEEN - Dungeon of Power by Starsickle

Nope, no pumpkins or spooky ghosts or skeletons - although maybe I'll consider making a few events for such. After launching and getting the starting dash for OHYAD done during The International, I re...

itch.io
Excited to say that basic loot generation is working. I am in the zone, this week! #OHYAD #Game #Twine #SugarCube
One Hundred Years Amazonian Dungeon by Starsickle

Amazon goddess forces you to keep a shop in her dungeon!

itch.io