Create your own Interactive Fiction

ADRIFT - Interactive Fiction  
Home   |   News ADRIFT News RSS   |   Screenshots   |   Download   |   Games ADRIFT Reviews RSS   |   Forum   |   Help   |   Links
Welcome Guest Register | Login
Popular Games
Skybreak v. 1.4
Skybreak v 1.3
The Angel, the Devil and the Human
Skybreak v 1.2
The Fortress of Fear
Lost Coastlines
Starship Quest
the virtual human
Jacaranda Jim
Latest Forum Posts
Happy birthday ElliotM
Running a System task
A question for programmers about save-files (.tas)
Where do you get your ideas from?
Adrift’s map
Introducing ourselves - Share a little about yourself
Moving static object from hidden to inside an object?
The IFDB Awards officially announced
Latest Reviews
Lost Coastlines
The Lost Labyrinth of Lazaitch
October 31st (Post comp.)
The Euripides Enigma
Hint System Library - Release 1
The Dead of Winter
The Odd Competition
Grandpa's Ranch - Play Online Version
The Dwarf of Direwood Forest

Make a donation

Cursor  New text functions: Cycle/Loop, Once, and Unique Random OneOf

Issue Type: Status: Priority: Date Submitted: Votes:
Enhancement New High Thu 3rd May 2018 1 vote Vote Up Vote Down
Found in version: Last Updated: Completed in version: Date Completed: Track Changes: Mon 7th Jan 2019 Log In
ElliotMThu 3rd May 2018 02:03
I'm interested in some additional Text functions similar to to OneOf and Either.

Cycle/Loop(text1, text2, text3) : Return text sequentially, starting over once the last text has been shown.

Once(t1, t2, t3) : Non-looping cycle. Displays last item permanently instead of looping but which could be set to "".

OneOf(t1, t2, t3) : Adrift 5 already has this but I suspect that is random instead of unique random.
LazzahMon 7th Jan 2019 08:50
The first one you describe above already exists. You right-click a text box and select the "Display Once" option. Then on the last message in the cycle you select "Return to Start".
ElliotMMon 7th Jan 2019 15:41
If you are only creating small text effects though then a text function such a cycle or loop would improve readability during development because it would keep everything on one tab.
© 2013 Campbell Wild. All rights reserved. | Contact the Webmaster