This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
show_credits [2017/05/14 15:31] – external edit 127.0.0.1 | show_credits [2021/04/21 18:52] (current) – justin | ||
---|---|---|---|
Line 2: | Line 2: | ||
---- | ---- | ||
- | Fades out and displays the credits for your game. After the credits have completed, the game will end and the player will be returned to the Main Menu. If the Main Menu is not enabled, the player will be prompted to exit the game. | + | Fades out and displays the [[credits]] for your game. After the [[credits]] have completed, the game will end and the player will be returned to the [[Main Menu]]. If the [[Main Menu]] is not enabled, the player will be prompted to exit the game. |
+ | ====Signature: | ||
<code python> | <code python> | ||
show_credits() | show_credits() | ||
Line 9: | Line 10: | ||
^Argument^Description^Type^Required^ | ^Argument^Description^Type^Required^ | ||
+ | | (No arguments for this function) | ||
====Example: | ====Example: | ||
- | < | + | < |
- | show_credits() | + | show_credits(); |
</ | </ | ||
- | // | + | // |
<WRAP center round tip 100%> | <WRAP center round tip 100%> | ||
- | Use the **Show Credits** function to ... | + | Use the **Show Credits** function to scroll through your [[credits]] after the player has completed the game. |
</ | </ | ||