It occured to me that if somebody could figure out how to do it, we could make a link to Part II of a game at the end of Part I. That link could have at the end of it
?strength={strength}&stamina={stamina}&whatnot={whatnot}
Unfortunately, ChatGPT isn't smart enough to make var queryString = window.location.search
not break Squiffy. Anybody wanna take a stab at it?
Commenting here to keep its relevance. This would be sick.
On a side note, it really is a shame that there is a dwindling amount of activity ever since the squiffy editor broke down. We really need an update. So much stuff has improved and so many games have broken its boundaries. But alas, this is the case.
That's an interesting idea to leverage URL parameters as a way to transfer game attributes, especially considering the potential for integrating elements of the rice purity test. It could be a handy technique, though you may want to consider how 'pure' that implementation would be. As with most design choices, there are likely pros and cons to weigh. But if it helps create a seamless sequel experience for players, it could be well worth exploring further.
Great! There's interest besides my own.
So far this kinda works:
//Get value after "strength=" from URL into squiffy attribute {strength}.
var strength = (window.location.href).split("strength=")[1];
if (strength){squiffy.set("strength", decodeURI(strength));}
But only after clicking Restart. I have no idea why.
So much stuff has improved and so many games have broken its boundaries. But alas, this is the case.
Here's the unofficial Squiffy 5.4.1 with great improvements by mrangel. If you've got something to add to squiffy.template.js or style.template.css you could post it on the forum as Squiffy 5.4.2.
BTW, I think The World Ends Today, I Think... is worthy of all the praise.