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
Top Hat
Skybreak! v. 1.1
The Axe of Kolt
The Lost Children
The PK Girl
Starship Quest
Revenge of the Space Pirates
Magnetic Moon
Museum Heist
Alien Diver v13
Latest Forum Posts
Eamon Revived
Opinions please!
Suggestion re. Adrift main-site and Forum breakdown
Can you force library updates?
Avoiding GET ALL for hidden dynamic objects
So....the site?
[]Exception when importing a library
Crazy idea?
Error when deleting exit from location - HELP PLEASE!
take / get / pull / untie
Latest Reviews
Alien Diver v13
Museum Heist
The Spectre of Castle Coris
The Axe of Kolt
Die Feuerfaust
Penrhyn - Burning Skies #GameJam420
Dreamspun #GameJam420
Skybreak! v. 1.1
The Lost Labyrinth of Lazaitch

Make a donation

Get it from CNET!
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