intfiction.org

The Interactive Fiction Community Forum
It is currently Thu Apr 26, 2018 2:12 pm

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Thu Feb 01, 2018 11:21 am 
Offline

Joined: Thu Apr 03, 2014 9:44 am
Posts: 137
Hmm, I'm trying to make a link to an external website from my ink game. I feel like I must be missing something simple, but I can't figure out how.

Thanks for any help!


Top
 Profile Send private message  
Reply with quote  
PostPosted: Thu Feb 01, 2018 2:25 pm 
Offline

Joined: Sat Jan 23, 2010 4:56 pm
Posts: 5620
I believe the idea is that your game (Unity or whatever) is responsible for presentation. Ink just generates text output. You could include some kind of tag formatting in the output, and then scan that for strings to display as hyperlinks.


Top
 Profile Send private message  
Reply with quote  
PostPosted: Thu Feb 01, 2018 2:35 pm 
Offline

Joined: Thu Apr 03, 2014 9:44 am
Posts: 137
So far I'm not messing with unity -- I have inky compiling the game as a website. I guess what I need to do is open the javascript portion of the output and put the link directly in there, but there are unknown unknowns, as they say, and I'm not sure if that makes sense/is bad/is good/how to do it, anyway. (I know nothing about javascript.)


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: No registered users and 4 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