-- ui/story-intro.lua

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

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

CreateComp ("Label", "story1");
SetProperty ("position", 189, 140);
SetProperty ("label.bitmap", "story/square-temple.png");

CreateComp ("Label", "label1t");
SetProperty ("position", 218, 440);
SetProperty ("angle", -0.11);
SetProperty ("label.textbox_width", "349");
SetProperty ("label.text", "A few months ago in far asia we found a magnificient temple full of otherworldly treasures.");

CreateComp ("Label", "story2");
SetProperty ("position", 583, 115);
SetProperty ("label.bitmap", "story/square-statue.png");

CreateComp ("Label", "label2t");
SetProperty ("position", 585, 381);
SetProperty ("angle", 0.04);
SetProperty ("label.textbox_width", "349");
SetProperty ("label.text", "Among the treasures we found a beautiful ancient relic. Back home we realized it was cursed.");

CreateComp ("Label", "story3");
SetProperty ("position", 905, 71);
SetProperty ("label.bitmap", "story/square-hospital.png");

CreateComp ("Label", "label3t");
SetProperty ("position", 941, 374);
SetProperty ("angle", -0.11);
SetProperty ("label.textbox_width", "349");
SetProperty ("label.text", "All my fellow expeditioneers became seriously ill. I was fortunate enough to remain healthy but I must save my friends.");

CreateComp ("Label", "story4");
SetProperty ("position", 1405, 261);
SetProperty ("angle", 0.04);
SetProperty ("scale", 0.73);
SetProperty ("align", "CENTER");
SetProperty ("label.bitmap", "story/square-view1-big.png");

CreateComp ("Label", "label4t");
SetProperty ("position", 1241, 402);
SetProperty ("angle", 0.04);
SetProperty ("label.textbox_width", "349");
SetProperty ("label.text", "I don't know exactly what I have to do, but my journey starts here...");

CreateComp ("Button", "Continue");
SetProperty ("position", 690, 528);
SetProperty ("align", "HCENTER");
SetProperty ("button.text", "Continue");

CreateComp ("Button", "Reset");
SetProperty ("position", 489, 528);
SetProperty ("align", "HCENTER");
SetProperty ("button.text", "Reset");

