Category:Tidbits and Snippets: Difference between revisions
Jump to navigation
Jump to search
→Assorted
m (Reverted edits by RolcoActal (Talk); changed back to last version by Strazer) |
|||
Line 4: | Line 4: | ||
'''CJ''': When crossfading, '''GetCurrentMusic will always return the newest track''' (i.e. the one that is fading in). [http://www.bigbluecup.com/yabb/index.php?topic=26252.msg335041#msg335041] | '''CJ''': When crossfading, '''GetCurrentMusic will always return the newest track''' (i.e. the one that is fading in). [http://www.bigbluecup.com/yabb/index.php?topic=26252.msg335041#msg335041] | ||
Using '''special symbols / characters''' in '''string formatting''': | |||
* To use the '''%''' symbol in strings: | |||
** <code>Display("The %% is the percent symbol.");</code> | |||
*To use '''quote marks''' in strings: | |||
** <code>Display("The \" is a quote mark.");</code> | |||
*To use '''line breaks''' in strings: | |||
** <code>Display("The [ is a line break.");</code> | |||
*To use the '''[''' symbol in strings: | |||
** <code>Display("The \[ is a left brace.");</code> | |||
---- | ---- | ||
[[Category:Adventure Game Design]] | [[Category:Adventure Game Design]] |