-- ui/story-intro.lua

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

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

CreateComp ("Label", "frames");

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

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

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

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

CreateComp ("Label", "zoomin");
SetProperty ("position", 418, 327);
SetProperty ("angle", 0.05);
SetProperty ("scale", 0.58);
SetProperty ("align", "CENTER");
SetProperty ("label.bitmap", "story/square-view1-big.png");

CreateComp ("Label", "note");
SetProperty ("position", 160, 60);
SetProperty ("label.bitmap", "ui/gfx/shamantalk.png");

CreateComp ("Label", "label1t");
SetProperty ("inherit", "SmallDarkLabel");
SetProperty ("parent", "note");
SetProperty ("position", 253, 29);
SetProperty ("align", "HCENTER");
SetProperty ("label.textbox_width", "454");
SetProperty ("label.textbox_align", "HCENTER");
SetProperty ("label.text", "The relic we brought back from Far Asia has changed me in a profound way. Now I'm going back hoping to resolve my mysterious condition.");

CreateComp ("Button", "Continue");
SetProperty ("position", 409, 518);
SetProperty ("align", "HCENTER");
SetProperty ("button.text", "Continue");

CreateComp ("Label", "note1");
SetProperty ("position", 201, 450);
SetProperty ("label.bitmap", "ui/gfx/pergament-small.png");

CreateComp ("Label", "label1t_clone");
SetProperty ("inherit", "SmallDarkLabel");
SetProperty ("parent", "note1");
SetProperty ("position", 208, 10);
SetProperty ("align", "HCENTER");
SetProperty ("label.textbox_width", "384");
SetProperty ("label.textbox_align", "HCENTER");
SetProperty ("label.text", "I start here where I first started long ago.");

CreateComp ("Label", "note1_clone");
SetProperty ("position", 207, 24);
SetProperty ("label.bitmap", "ui/gfx/pergament-small.png");

CreateComp ("Label", "label1t_clone");
SetProperty ("inherit", "BigLabel");
SetProperty ("parent", "note");
SetProperty ("position", 255, -29);
SetProperty ("align", "HCENTER");
SetProperty ("label.text", "My Story");

