Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(4 edits) (+1)

Also, I’m noticing changed variables aren’t reflecting in special pages.

Like if I start with VAR test = 1

and

=== specialPage ===

# Special_Page: Page Test

{test}

it will show 1

but if at some point I add one to the stat (I’ve tried both the typical ~alter(test,1) and the base ~test += 1) but it doesn’t change in the special page. This is the same for adding to lists, but I haven’t checked other kinds of variables yet.

Am I missing something?

(+1)

Hey ambrolen!

Thanks for catching that special pages bug! You’re absolutely right, the values aren’t updating as they should.

Special pages are tricky to handle since they need to pause the main story flow while still showing current variable values. It’s one of those features that seems simple but has some complex state management under the hood.

I appreciate your examples with ~alter() and direct assignment, that’ll help me track down exactly where things are going wrong.

For the image placement, it’s actually handled by the JavaScript that processes the IMAGE tag, not pure CSS, so it’s not that easily customizable right now. But you’re right that it would be nice to have more control over where images appear. I could look into adding something a position parameter to the tag so you can decide where the image appears directly in the ink script.

I’ll dig into both of these this week and see what I can do!

(+1)

Hey ambrolen,

Just pushed v1.2.2 with both fixes!

  • Images now display inline wherever you place the # IMAGE tag—much more intuitive than always appearing at the top.
  • Special pages now correctly reflect current variable values. I added a test in the demo under the Special Pages menu so you can verify it’s working.

You’ll need to download the updated template files and replace them in your project to get these fixes.

Thanks again for the detailed bug reports!

(+1)

Oh man thank you so much! I wasn’t expecting such a quick turn around on fixes, and I super appreciate it!