intfiction.org

The Interactive Fiction Community Forum
It is currently Sat Feb 23, 2019 4:57 am

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Mon Feb 04, 2019 4:02 am 
Offline
User avatar

Joined: Wed Sep 01, 2010 1:50 am
Posts: 1381
Location: Sydney, Australia
I'm trying out Glulx Boxed Quotation by Eliulk Blau, version 2, in Inform 6M62. In a Glulx project. The output doesn't behave like the example I was trying to copy, which comes from Andromeda Apocalypse.

The issue, as demo'd in my code below, is that once the quote's been printed, it no longer remains centred if the user resizes the screen. It stays at its absolute position. If any or all of it goes outside the window during the resize, that part is destroyed.

In Andromeda Apocalypse, the quote appears and it stays centred, and doesn't disappear on a resize. I see that this extension was used by that game, but I know Inform and Glulx Entry Points (the only extension required by Boxed Quotation) have both changed since then.

Could anyone confirm this, or advise on how to get the better behaviour? Thanks.

Code:
"Boxed Quote"

Example Location is a room.

Include Glulx Boxed Quotation by Eliuk Blau.[includes Glulx Entry Points]

When play begins:
   display the boxed quotation
   "And 'the wabe' is the grass-plot round
   a sun-dial, I suppose? said Alice,
   surprised at her own ingenuity.
   Of course it is. It's called 'wabe,'
   you know, because it goes a long way
   before it, and a long way behind it --
   -- Lewis Carroll";


Attachments:
Glulx Boxed Quotation.i7x [6.57 KiB]
Downloaded 8 times
Top
 Profile Send private message  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 12 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