Stats/Attributes Screen/Box

Alamor Media
I'm trying to figure out how to put a separate screen, link, or box to an attributes section where the reader can see their score, health, strength, etc. I have quite a few attributes that I keep track of all throughout the game.

I haven't found anything in the help about how to do it really, and haven't found anything on the forum (though I'm sorry if I missed something).

I'm currently using the online version, but it shouldn't be a problem to download the windows one if I need it. Is this even possible with squiffy?

Thanks!

Dennis Carlyle
Here's one idea. It simply displays a "show stats" link every time the game goes to a new section. The link embeds the contents of the "Statistics" section. You need to have the "Stats" passage in every section.

============================
@start Begin

[[]]:
[Show Stats](Stats)

[[Statistics]]:
Score: {score}<br>
Health: {health}<br>
Ammo: {ammo}

[[Begin]]:
@set score = 25
@set health = 100
@set ammo = 237

[[Start the game.]](Section 1)

[[Section 1]]:
This is Section 1 of the game. Click here to go to [[Section 2]].

[Stats]:
{Statistics}

[[Section 2]]:
This is Section 2. Click for [[Section 1]].

[Stats]:
{Statistics}
=======================================

This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums