Home
Explore games
Help
Log in
Playfic is now in read-only mode.
You can still play existing games, but new signups and game editing is disabled.
Read the announcement.
Log in
Username
Password (
Forgot it?
)
Login
Title Page
by
Lilyleaf623
Played 2,202 times
View game source
(spoilers!)
Download the
.z8 file
Source Code
"Title Page" by "Lilyleaf623, from http://inform7.com/extensions/Jon%20Ingold/Title%20Page/source.html" Include Menus by Emily Short. Include Basic Screen Effects by Emily Short. Use menus translates as (- Constant USE_MENUS; -). Use skip intro translates as (- Constant Skip_Intro; -). [The quotation is some text that varies. The quotation is "[story headline]".] To say quotation: say story headline. The intro menu is a table-name that varies. The intro menu is the Table of Sample Options. To centre (t - an indexed text), bold or italic: let N be the number of characters in T; say spaces to centre N; if bold, say bold type; if italic, say italic type; say T; say roman type. To say spaces to centre (n - a number) -- running on: (- print "^"; spaces (((VM_ScreenWidth() - {n})/2)-1); -) The first when play begins rule (this is the title screen rule): while 1 is 1 begin; clear the screen; redraw status line; centre "[story title]", bold; centre " by [story author]"; say paragraph break; say line break; say fixed letter spacing; centre "[quotation]", italic; say roman type; say paragraph break; say fixed letter spacing; if using the menus option, say " Display help menu : M[line break]"; say " Start the story from the very beginning: (SPACE)[line break]"; say "Start from where you left off : R[line break]"; say " Quit : Q[line break]"; say variable letter spacing; let k be 0; while k is 0 begin; let k be the chosen letter; end while; if k is 13 or k is 31 or k is 32 begin; clear the screen; make no decision; otherwise if k is 113 or k is 81; stop game abruptly; otherwise if k is 82 or k is 114; follow the restore the game rule; otherwise if k is 109 or k is 77; if using the menus option begin; change the current menu to the intro menu; carry out the displaying activity; end if; end if; pause the game; end while; A procedural rule when using the skip intro option: ignore the title screen rule. The living room is a room. "The game begins. This was just my attempt at recreating John Ingold's title screen. There's also supposed to be a way to insert art / a thumbnail, but it won't work with the current 'settings'. Go north, there's a living room." The kitchen is north of the living room. "The only other room. I would tell you to try saving now, and try coming back to it later, but I still can't figure out how to use the 'restore' in the title screen. Or the 'quit' either."