Difference between revisions of "love.filesystem.getIdentity"

m
m (Clarified description wording)
Line 1: Line 1:
 
{{newin|[[0.9.0]]|090|type=function}}
 
{{newin|[[0.9.0]]|090|type=function}}
Gets the write directory for your game.  
+
Gets the write directory name for your game.  
Note that you can only get the name of the folder to store your files in, not the location.
+
Note that this only returns the name of the folder to store your files in, not the full location.
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 14: Line 14:
 
* [[parent::love.filesystem]]
 
* [[parent::love.filesystem]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=Gets the write directory for your game.}}
+
{{#set:Description=Gets the write directory name for your game.}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|love.filesystem.getIdentity}}
 
{{i18n|love.filesystem.getIdentity}}

Revision as of 03:28, 16 June 2013

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

Gets the write directory name for your game. Note that this only returns the name of the folder to store your files in, not the full 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