intfiction.org

The Interactive Fiction Community Forum
It is currently Sat Dec 16, 2017 12:26 am

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Sat Nov 18, 2017 10:00 am 
Offline
User avatar

Joined: Tue Apr 26, 2011 4:29 am
Posts: 65
Location: France
I just wrote some kind of extension for Inform7, replacing the parser with hyperlinks : you click on a word and the game tells you the available actions on it.

http://stephane-f.blogspot.fr/2017/11/inform-7-typing-things-name-to-see.html

This is my first post in English on this blog and it's about a small extension I just wrote, replacing the parser by another system which is very simple and meant to be modified and improved by the potential users. It tries to do something you sometimes find in traditionnal adventure games or RPG's with graphics : clicking on an object and then having a contextual menu. Here, the graphical objects will be words. You'll type « banana » and have several options such as « take », « eat » and so on - depending on the nature of the object itself.

I work with 6G60... I don't guarantee that it will work with newer builds. Maybe you'll have to adapt some parts of the code.


Last edited by StephaneF on Sun Nov 19, 2017 2:12 pm, edited 2 times in total.

Top
 Profile Send private message  
Reply with quote  
PostPosted: Sat Nov 18, 2017 1:29 pm 
Offline
User avatar

Joined: Tue Apr 26, 2011 4:29 am
Posts: 65
Location: France
Uploaded as an extension :

https://drive.google.com/file/d/1HoIEO8vCfExwB-JqVfdjnr6JwTYVOBDn/view?usp=sharing

(sorry for the multiple edits : I suppressed the part of the code which added hyperlinks, for various reasons)


Top
 Profile Send private message  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 2 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