Intro Page Break?

Okay, this might be a dumb question, but I’m having trouble finding an answer. :blush:

You know how some games will have a page for just the intro, and then you have to tap ‘space’ to get to the actual game? How do I set that up? Is there a function or property for it?

[Useless response for wrong system deleted.]

It’s late. Oops :slight_smile:

I think showIntro() in your GameMainDef is the standard place to handle it.

gameMain: GameMainDef
	// ... other major properties snipped ...
	showIntro()
	{
		statuslineBanner.removeBanner();
		cls();
		showText();
		"<p>";
		"<i>Press any key to continue.</i>";
		inputManager.getKey(nil,nil);
		cls();
		showText();
		"<p>";
		statusLine.initBannerWindow(statuslineBanner);
		inherited();
	}

	showText()
	{
		"Replace me with your own breathless prose! ";
	}
;

I am 80% sure that the statusline stuff works even when the runtime doesn’t support banner windows, but it’s been a while since I tested it.

Thanks, bcressy! :slight_smile: