intfiction.org

The Interactive Fiction Community Forum
It is currently Thu Nov 23, 2017 10:50 pm

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Gradual Text?
PostPosted: Wed Sep 06, 2017 8:13 pm 
Offline

Joined: Wed Sep 06, 2017 8:08 pm
Posts: 1
Hello!
I'm wondering if it would be possible to implement gradual text, like a typewriter where each letter is placed onto the screen one-by-one. I suspect Basic Real Time by Sarah Morayati would be required, but apart from that I'm not sure where to start.
Any advice is appreciated.


Top
 Profile Send private message  
Reply with quote  
 Post subject: Re: Gradual Text?
PostPosted: Wed Sep 06, 2017 8:28 pm 
Offline

Joined: Fri Oct 18, 2013 10:13 am
Posts: 2470
Location: The Midwest
It's certainly possible, though a word of warning: make sure it's not annoying for your players, and have an option to switch it off for people who are using screen readers.

The basic way you'd do this is to make a "say gradually" phrase which takes some text and puts it into an internal buffer, and use a Glulx timer extension to take one character from the buffer every however many milliseconds and print it to the screen.

_________________
Daniel Stelzer


Top
 Profile Send private message  
Reply with quote  
 Post subject: Re: Gradual Text?
PostPosted: Wed Sep 06, 2017 9:08 pm 
Offline
User avatar

Joined: Thu Feb 11, 2010 1:51 pm
Posts: 745
Location: Chicago, Illinois, USA
Outside of the fact that most players will hate it, there's an old printslow.h Inform6 extension.

_________________
David C.
http://www.plover.net/~dave/blog
http://www.ifpress.org

"It boots nothing to avoid his snares, for they are ever beset by other snares." - The shade of High Lord Morham, The Wounded Land - Second Chronicles of Thomas Covenant.


Top
 Profile Send private message  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot] and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group