Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] Finishing Game?
Linus Ågren Offline
Senior Member

Posts: 309
Threads: 58
Joined: Jan 2011
Reputation: 5
#1
[SOLVED] Finishing Game?

Well, if you want your game to end at a certain point, and making your own credits come, how do you script that? Smile

Creator of The Dark Treasure.
(This post was last modified: 01-30-2011, 03:22 PM by Linus Ågren.)
01-29-2011, 06:47 PM
Website Find
rmdashrf Offline
Junior Member

Posts: 7
Threads: 3
Joined: Jan 2011
Reputation: 0
#2
RE: Finishing Game?

// Game
void  StartCredits(string& asMusic, bool abLoopMusic, string& asTextCat, string& asTextEntry, int alEndNum);

In your extra_english.lang file you can do something like
<CATEGORY NAME="Misc">
<Entry Name="Credits">Credits go here</Entry>
</CATEGORY>

Then when you call StartCredits, use "Misc" for asTextCat and "Credits" for asTextEntry

Check out the Orb Chamber map for reference.
(This post was last modified: 01-29-2011, 07:57 PM by rmdashrf.)
01-29-2011, 07:56 PM
Find




Users browsing this thread: 1 Guest(s)