Difference between revisions of "love.filesystem.getIdentity"

(Created page)
 
Line 1: Line 1:
 +
{{newin|[[0.8.1]]|081|type=function}}
 
Gets the write directory for your game.  
 
Gets the write directory for your game.  
 
Note that you can only get the name of the folder to store your files in, not the location.
 
Note that you can only get the name of the folder to store your files in, not the location.
Line 14: Line 15:
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Gets the write directory for your game.}}
 
{{#set:Description=Gets the write directory for your game.}}
{{#set:Since=081}}
 
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|love.filesystem.getIdentity}}
 
{{i18n|love.filesystem.getIdentity}}

Revision as of 14:48, 5 June 2012

Available since LÖVE 0.8.1
This function is not supported in earlier versions.

Gets the write directory for your game. Note that you can only get the name of the folder to store your files in, not the location.

Function

Synopsis

name = love.filesystem.getIdentity( )

Arguments

None

Returns

string name
The new identity that will be used as write directory

See Also

Other Languages