Category:Tidbits and Snippets: Difference between revisions

From Adventure Game Studio | Wiki
Jump to navigation Jump to search
*>SSH
No edit summary
 
(11 intermediate revisions by 5 users not shown)
Line 1: Line 1:
The following are articles based on information on Strazer's tidbits and snippets page
The following information is based on [[AGS tidbits & snippets|strazer's tidbits and snippets]] page.
 
==Assorted==
 
'''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 {{link|String formatting||String Formatting}}:
----
To use the '''%''' symbol in strings:
Display("The %% is the percent symbol.");
----
To use '''quote marks''' in strings:
Display("The \" is a quote mark.");
----
To use '''line breaks''' in strings:
Display("The [ is a line break.");
----
To use the '''[''' symbol in strings:
Display("The \[ is a left brace.");
----
 
[[Category:Adventure Game Design]]

Revision as of 00:04, 27 March 2010

The following information is based on strazer's tidbits and snippets page.

Assorted

CJ: When crossfading, GetCurrentMusic will always return the newest track (i.e. the one that is fading in). [1]


Using special symbols / characters in String Formatting:


To use the % symbol in strings:

Display("The %% is the percent symbol.");

To use quote marks in strings:

Display("The \" is a quote mark.");

To use line breaks in strings:

Display("The [ is a line break.");

To use the [ symbol in strings:

Display("The \[ is a left brace.");

Pages in category ‘Tidbits and Snippets’

The following 10 pages are in this category, out of 10 total.