TAB - thinBasic Adventure Builder

T.A.B. is an interactive fiction/text adventure program for Windows and made with thinBasic.
 
HomeFAQSearchUsergroupsRegisterLog in
Latest topics
» TAB Version 66 Available
Mon Sep 26, 2016 12:02 pm by catventure

» TAB Version 65 Available
Mon Feb 23, 2015 12:04 pm by catventure

» Incubation pt 1
Wed Apr 24, 2013 9:24 am by Kabrinski

» Charecter movements - doors
Wed Mar 20, 2013 2:55 pm by garethfx

» Member feedback on game planning
Sun Mar 03, 2013 1:47 pm by garethfx

» Still alive - just!
Thu Feb 28, 2013 11:34 am by catventure

» TAB 64 crashes ...
Mon Aug 20, 2012 11:31 am by acko

» Idea on addition to object being container
Sat Aug 18, 2012 3:49 pm by catventure

» sizex=y action ...
Thu Aug 09, 2012 11:29 am by catventure


Share | 
 

 Doors open and close advice

View previous topic View next topic Go down 
AuthorMessage
garethfx
Experienced Adventurer


Male
Number of posts : 85
Age : 59
Location : Wales
Humor : Nothing like having a good laugh - oh and a pint!
Adventure Points : 53
Registration date : 2009-09-28

PostSubject: Doors open and close advice   Wed Jun 16, 2010 6:17 pm

Hi Guys

Just put in some doors in to a game and a thought occured (as it does)
1.Where exactly is the best place to place the code in the response table so that its caught be the parser more effectively. i.e. a section is allocated for user commands but is that the best place or before some of the default movement commands?

2. should the direction allowed also be placed in the location table ?


3. once in a room having opened the door and used the connect command this allows traffic one way but what about return through the open door - should the code have a second connect?
example:
[start]open door#room=22#flag30=0[acts]cmessYou open the door#flag30=1#connect22=eastto28#connect28=westto22#cmessThe door is open.#else#room=22#flag30=1[acts]cmessThe door is already open![end]

4. Is it best to programme the opening of each door in each location then all the closing of all door in each location OR should the doors be programmed open and closed by each location sequentially

Just interested to see what others are doing here as well...............
G
Back to top Go down
View user profile
 

Doors open and close advice

View previous topic View next topic Back to top 

 Similar topics

+
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
TAB - thinBasic Adventure Builder :: TAB FORUMS :: General Forum-
Jump to: