Inform 7 Home Page / Documentation


§9.9. Televisions and Radios

IF authors often provide clues or background information to the player by means of radio broadcasts, TV shows or video tapes because they can talk to the player without needing to listen back, or to react to what the player does. The simplest radio set, like the one in Aftershock, really only has one thing to say: which is serendipitously being broadcast just at the moment the player tunes in (regardless of when that is). The next simplest approach is to spool a broadcast on an endless loop taking several turns to play through, as in Radio Daze.

Televisions come in all shapes and sizes, and Aspect allows their shape ("aspect ratio") to be described by the player.

In Channel 1, we can also refer to the television by what it is currently showing: thus WATCH CHANNEL 4 will work if the set is indeed tuned to 4. In Channel 2, numbered channel changing is taken further: we can now TUNE TV TO CHANNEL 3, as well. Channel 2 is a reasonable base implementation of a television for many purposes.


arrow-up.png Start of Chapter 9: Props: Food, Clothing, Money, Toys, Books, Electronics
arrow-left.png Back to §9.8. Simple Machines
arrow-right.png Onward to §9.10. Telephones

*ExampleRadio Daze
A radio that produces a cycle of output using varying text.

*ExampleAspect
Understanding aspect ratios (a unit) in the names of televisions.

**ExampleChannel 1
Understanding channels (a number) in the names of televisions.

***ExampleChannel 2
Understanding channels (a number) in the names of televisions, with more sophisticated parsing of the change channel action.

***ExampleAftershock
Modifying the rules for examining a device so that all devices have some specific behavior when switched on, which is described at various times.