Inform 7 Snippets  


< Back Home

  • Displaying Time of Day in the Status Bar
    This example is one way to manipulate the status bar so that the time of day is displayed at all time to the player.
  • 10 Minutes of Light
    This is an example of one way to create a light source that will provide light for a limited amount of time based on the time of day. This also demonstrates how to change the status bar display. Please note this game is unwinnable.
  • Check Your Watch
    This is an example of one way to create an object such as a wristwatch that will display the time of day to the player simply by examining it.
  • Triggering a Future Event
    This example is one way to have something happen in the future after some action has been taken.

The examples and snippets were created with Inform 7.

To play the examples available here, you need an interpreter program: many are available, among them Zoom for Mac OS X and for Unix, and Windows Frotz for Windows.