-- ui/story.lua

UIEvents ("ui/story-Events.lua");

CreateComp ("Label", "bg");
SetProperty ("label.bitmap", "ui/gfx/storybook-bg.jpg");

CreateComp ("Label", "top");
SetProperty ("parent", "bg");
SetProperty ("label.bitmap", "ui/gfx/screenborder-top.png");

CreateComp ("Label", "left");
SetProperty ("parent", "bg");
SetProperty ("label.bitmap", "ui/gfx/screenborder-left.png");

CreateComp ("Label", "right");
SetProperty ("parent", "bg");
SetProperty ("position", 768, 1);
SetProperty ("label.bitmap", "ui/gfx/screenborder-right.png");

CreateComp ("Label", "bottom");
SetProperty ("parent", "bg");
SetProperty ("position", 1, 566);
SetProperty ("label.bitmap", "ui/gfx/screenborder-bottom.png");

CreateComp ("Label", "title");
SetProperty ("parent", "bg");
SetProperty ("position", 403, 17);
SetProperty ("align", "HCENTER");
SetProperty ("label.font", "fonts/big.mft");
SetProperty ("label.text", "Episode Name");

CreateComp ("Label", "story");
SetProperty ("position", 214, 97);
SetProperty ("label.bitmap", "story/square-temple.png");

CreateComp ("Label", "story_text");
SetProperty ("inherit", "SmallLabel");
SetProperty ("localize", 0);
SetProperty ("position", 412, 407);
SetProperty ("align", "HCENTER");
SetProperty ("label.textbox_width", "626");
SetProperty ("label.text", "Your journey starts here. The great mountains are towering around you when you start making your way up from the valley. The journey will be both challenging and rewarding. The ultimate goal is to change the faith of your unfortunate team...");

CreateComp ("Button", "Continue");
SetProperty ("parent", "bg");
SetProperty ("position", 399, 520);
SetProperty ("align", "HCENTER");
SetProperty ("button.text", "Continue");

