Home
Start a new game
Explore games
Help
Log in or sign up
Log in
Username
Password (
Forgot it?
)
×
New to Playfic?
Full Name
Email
Username
Password
Password (confirm)
Are you sure about this?
Title Page
by
Lilyleaf623
Played 2,000 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."