Quantcast
Channel: Help! with 2.0 - Twine Forum
Viewing all articles
Browse latest Browse all 1844

SugarCube 2/Twine 2 — have a div "reveal" when the player clicks/taps the screen

$
0
0
I swear I saw this implemented somewhere already but I can't remember what I read and it's driving me mad.

I'd like to structure the passage so that text is revealed as the player clicks or taps the game screen — conceptually, like revealing a paragraph (or whatever arbitrary length of text I want) at a time so the player progresses at their own pace instead of presenting them with a sudden wall of text.

I don't want the passage to change, just the text to gradually appear until the player reaches the section where they're presented with a choice to make — at which point they move on to another passage as normal.

I came across this

https://www.glorioustrainwrecks.com/node/5019

which potentially is what I want (the continue macro) but I know SugarCube 2 has its own continue macro that I think is unrelated to this completely.

I don't want to eliminate or replace text on the screen, just have a div slide into place when the player clicks.

Viewing all articles
Browse latest Browse all 1844

Trending Articles