You are viewing our Forum Archives. To view or take place in current topics click here.
[Release] Scrolling Credits
Posted:

[Release] Scrolling CreditsPosted:

SmerF
  • Challenger
Status: Offline
Joined: Apr 27, 201014Year Member
Posts: 199
Reputation Power: 11
Status: Offline
Joined: Apr 27, 201014Year Member
Posts: 199
Reputation Power: 11
I know scrolling credits where released before but my code is A LOT shorter.

If you don't know how to add these just use my menu maker.. You can find that Here

//You need to thread both of these for all players..
Credits()
{
   self.Credits = []; self.SubCred = [];
   self.Credits[0] = "^1Game Over";
   self.SubCred[0] = "";
   self.Credits[1] = "^4Lobby hosted by";
   self.SubCred[1] = "^5"+get_players()[0].playername;
   self.Credits[2] = "^4Thanks for joining";
   self.SubCred[2] = "^5I hope you enjoyed it";
   self.Credits[3] = "^4";
   self.SubCred[3] = "^5";
   self.Credits[4] = "^4";
   self.SubCred[4] = "^5";
   self.Credits[5] = "^4Credits Made by SmerF";
   self.SubCred[5] = "";
   self.Credits[6] = "^4Bye Bye";
        //you can add more if you want...
}
Text()
{
   self.Creds = [];
   for(i=0;i<=self.Credits.size;i++)
   {
      self.Creds[i] = self createFontString("objective", 2, self);
      self.Creds[i] setPoint("CENTER", "CENTER", 0, i*50+200);
      self.Creds[i].sort = 50;
      self.Creds[i] setText(self.Credits[i]);
      self.Creds[i] MoveOverTime(20);
      self.Creds[i] setPoint("CENTER", "CENTER", 0, i*50-500);
   }
   self.SubCreds = [];
   for(i=0;i<=self.SubCred.size;i++)
   {
      self.SubCreds[i] = self createFontString("objective", 1.5, self);
      self.SubCreds[i] setPoint("CENTER", "CENTER", 0, i*50+220);
      self.SubCreds[i] setText(self.SubCred[i]);
      self.SubCreds[i].sort = 50;
      self.SubCreds[i] MoveOverTime(20);
      self.SubCreds[i] setPoint("CENTER", "CENTER", 0, i*50-480);
   }
   wait 20;
   self thread maps\_cooplogic::endGame("");
}
#2. Posted:
TTG_iRaaTeD
  • TTG Contender
Status: Offline
Joined: Aug 06, 201014Year Member
Posts: 3,718
Reputation Power: 187
Status: Offline
Joined: Aug 06, 201014Year Member
Posts: 3,718
Reputation Power: 187
Nice release thanks. +Rep
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.