void AddCreditedLine(string thing, string person) { console.AddPrompterToQueue("^Cw" + thing, .1f, true); string[] persons = person.Split('|'); int i = 0; for (; i < persons.Length; ++i) { console.AddPrompterToQueue("^Cr" + persons[i], (persons.Length <= 1)?.1f : .75f, true); } if (i % 2 == 0) { console.AddEmptyLine(.1f); } console.AddEmptyLine(2f); }
public APPcredits() : base("") { super = SHGUI.current.GetASCIIartByName("supersmall"); hot = SHGUI.current.GetASCIIartByName("hotsmall"); columns = new List <string>(); GetColumnsFrom(super); columns.Add(""); columns.Add(""); GetColumnsFrom(hot); APPFRAME.hidden = true; Randomize(); console = new APPscrollconsole(); console.y = 16; console.maxlines = 6; AddSubView(console); console.AddWait(2f); AddCreditedLine("game director", "Piotr Iwanicki"); console.AddWait(1f); AddCreditedLine("art director", "Marcin Surma"); AddCreditedLine("programming", "Krzysztof Tracz"); AddCreditedLine("programming", "Jakub Ziembiński"); AddCreditedLine("story", "Cezary Skorupka"); AddCreditedLine("business", "Tomasz Kaczmarczyk"); AddCreditedLine("PR", "Marek Bączyński"); AddCreditedLine("level design", "Panos Rriska"); AddCreditedLine("3d art", "Tomasz Bolek"); AddCreditedLine("3d art", "Piotr Kosmala"); AddCreditedLine("sound", "Artur Walaszczyk"); AddCreditedLine("additional animations", "fragOut Studio"); AddCreditedLine("additinal credits", "Łukasz Spierewka|Dawid Adamkiewicz|Konrad Kacperczyk|Maciej Nabiałczyk|Rafał Romanowicz|||||"); //AddCreditedLine("^Cz(those are just basic credits", "^Czmade quickly for the beta)"); console.AddEmptyLine(.01f); console.AddEmptyLine(.01f); console.AddEmptyLine(.01f); console.AddEmptyLine(.01f); console.AddEmptyLine(.01f); console.AddEmptyLine(.01f); console.AddEmptyLine(.01f); console.AddEmptyLine(.01f); console.AddEmptyLine(.01f); console.AddPrompterToQueue("^Cw" + "Huge thanks to all you guys, our beta backers :)!", .1f, true); console.AddEmptyLine(.1f); console.AddEmptyLine(.1f); console.AddEmptyLine(.1f); console.AddWait(3f); AddBackers(Resources.Load("backerlist").ToString()); console.AddEmptyLine(.5f); console.AddEmptyLine(.5f); console.AddEmptyLine(.5f); console.AddEmptyLine(.5f); console.AddEmptyLine(.5f); console.AddPrompterToQueue("THANKS FOR YOUR SUPPORT. YOU ARE AWESOME.", .1f, true); console.AddPrompterToQueue("THIS GAME WOULDN'T BE POSSIBLE WITHOUT YOU.", .1f, true); console.AddPrompterToQueue("SUPERHOT TEAM SALUTES YOU.", .1f, true); console.AddEmptyLine(.1f); console.AddEmptyLine(.1f); console.AddWait(1000000f); this.AddSubView(new SHGUIrect(0, 0, SHGUI.current.resolutionX, console.y - 1, '0', ' ')); this.AddSubView(new SHGUIrect(0, 0, SHGUI.current.resolutionX, console.y - 2, 'r', '░')); }