Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: theatrx on Thu 05/04/2007 08:30:40

Title: Printing and hyperlinks
Post by: theatrx on Thu 05/04/2007 08:30:40
Is it possible at all to print from the AGS game and hyperlink to another website?

I have these business cards that will be collected during the game (treated as individual gui's) which will end up as inventory items.  Is it possible that they can be printed by the player?

Also, can a hyperlink be attributed to a button on the gui so the player can go to the 'business cards' home page?  theatrx
Title: Re: Printing and hyperlinks
Post by: Gilbert on Thu 05/04/2007 09:04:33
Not directly unless you use (make) plugins for them.
Title: Re: Printing and hyperlinks
Post by: Candle on Thu 05/04/2007 09:15:46
here ya go theatrx.
http://www.adventuregamestudio.co.uk/yabb/index.php?topic=29358.0
Title: Re: Printing and hyperlinks
Post by: strazer on Thu 05/04/2007 17:50:09
Hypertext != Hyperlink
Title: Re: Printing and hyperlinks
Post by: Gilbert on Thu 05/04/2007 18:10:31
Well if what he wants is just to link to some screen that looks like a html page (WITHIN the game) the module would work, but if he wants to really link to an online real html page (which was what I interpreted from his original post) a plugin must be used at the moment.
Title: Re: Printing and hyperlinks
Post by: Candle on Thu 05/04/2007 18:24:44
It's a start :)
Title: Re: Printing and hyperlinks
Post by: theatrx on Thu 05/04/2007 18:56:49
Thanks everyone.  I was looking to print something from the game (something more direct than print screen) and I wasn't looking for hypertext but a hyperlink.  (a link that would take the user to someone's homepage.) It seems by your answers that the only way this could happen is with a plugin.  Is a module possible?  Since I like them a lot more than plugins.  theatrx
Title: Re: Printing and hyperlinks
Post by: Khris on Thu 05/04/2007 19:04:39
Just a thought: there are people without printers.
Why not add a password-protected archive to the game's download which contains a PDF, then tell the password to the player in-game?
Title: Re: Printing and hyperlinks
Post by: strazer on Thu 05/04/2007 19:14:28
Quote from: theatrx on Thu 05/04/2007 18:56:49Is a module possible?  Since I like them a lot more than plugins.  theatrx

In this case, no.
Modules are normal script code, just neatly packaged so it can easily be added or removed from your game. So if it can't be scripted, a module doesn't work either.
Title: Re: Printing and hyperlinks
Post by: Pumaman on Thu 05/04/2007 21:01:04
Printing is such a specialized request for an adventure game engine that it's best left for a plugin, if anyone wants to make one.

Again, allowing hyperlinks would be a bit dodgy since we don't really want games opening up advert windows and porn sites if your character gets killed ;)
Title: Re: Printing and hyperlinks
Post by: Candle on Thu 05/04/2007 21:14:58
QuoteAgain, allowing hyperlinks would be a bit dodgy since we don't really want games opening up advert windows and porn sites if your character gets killed
We have hyperlinks in Adventure maker and have no problems with that so far.
We can do email links too.
Title: Re: Printing and hyperlinks
Post by: joelphilippage on Thu 05/04/2007 22:23:52
I wanted to do something similar on my lif game where if you pick up a brochure, it will print it off but since I couldn't figure out how to do that I just put "Visit this address for your download of the brochure." in a text box.