Welcome to Scribd. Sign in or start your free trial to enjoy unlimited e-books, audiobooks & documents.Find out more
Download
Standard view
Full view
of .
Look up keyword
Like this
2Activity
0 of .
Results for:
No results containing your search query
P. 1
Inform beginner´s guide

Inform beginner´s guide

Ratings: (0)|Views: 28|Likes:
Published by Idiopathos

More info:

Published by: Idiopathos on Aug 11, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

05/12/2014

pdf

text

original

 
The Inform Beginner’s Guide
Roger Firth and Sonja Kesserich
Third Edition: August 2004 
With a Foreword by Graham Nelson
 
 
The Inform Beginner’s GuideAuthors: Roger Firth and Sonja KesserichEditor: Dennis G. JerzCover:
First Steps 
(watercolour and crayon on paper, 2002) Harry Firth (2000—)This book and its associated example games are copyright © Roger Firth andSonja Kesserich 2004. Their electronic forms may be freely distributed providedthat: (a) distributed copies are not substantially different from those archived bythe authors, (b) this and other copyright messages are always retained in full, and(c) no profit is involved. Exceptions to these conditions must be negotiateddirectly with the authors (
roger@firthworks.com
and
polilla@idecnet.com
).The authors assume no liability for errors and omissions in this book, or fordamages or loss of revenue resulting from the use of the information containedherein, or the use of any of the software described herein.Inform, the program and its source code, its example games and documentation,are copyright © Graham Nelson 1993—2004.
First Edition: April 2002 
 
Second Edition (with minor revisions): August 2002 
 
Third Edition (alignment with Inform 6.30, further minor revisions): August 2004 
 
C
ONTENTS
3
Contents
Foreword by Graham Nelson
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
About this guide
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9Scope and approach 10Presentation and style 10Useful Internet resources 11Acknowledgements 12
1 • Just what is interactive fiction?
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
2 • Tools of the trade
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17Inform on an IBM PC (running Microsoft Windows) 19Inform on an Apple Macintosh (running OSX) 24More about the editor 31More about the compiler 31More about the interpreter 31
3 • Heidi: our first Inform game
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33Creating a basic source file 33Understanding the source file 35Defining the game’s locations 37Joining up the rooms 39Adding the bird and the nest 42Adding the tree and the branch 44Finishing touches 46
4 • Reviewing the basics
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49Constants and variables 49Object definitions 50Object relationships the object tree 52Things in quotes 55Routines and statements 56
5 • Heidi revisited
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59Listening to the bird 59Entering the cottage 61Climbing the tree 63Dropping objects from the tree 64Is the bird in the nest? 66Summing up 66
6 • William Tell: a tale is born
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69Initial setup 69Object classes 72

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->