This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
Hi all!
I have a code in a footer passage that reads as follows:
(change: ?passage's chars, via (t8n-delay: 1.5s) (t8n-delay: pos * _lngth) (t8n:'blur') (t8n-skip: 0.2s))
where _lngth
is equal to
(set: _lngth to (1 / length of (passage:)'s source) * 2500)
The (passage:)'s source
is the closest thing I could find that allows me to detect how many characters are in a passage (I know this includes HTML and hidden code but so far it's the only thing I could find after scouring the Harlowe manual for a solution). I might be doing something wrong with my arithmetic but I figured that this would allow me to display pages of different lengths in the same amount of time (preferable about 2 and a half seconds) but instead longer passages are taken longer (because the math is definitely wack, I'm now realizing). I'm notoriously bad at math, so does anyone else have any ideas on how to do this? Any help is deeply appreciated!!
Subreddit
Post Details
- Posted
- 1 year ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/twinegames/...