Difference between revisions of "love.filesystem.getIdentity"

m (See Also: Added love.filesystem.setIdentity to the list)
m (Minor improvements.)
Line 1: Line 1:
 
{{newin|[[0.9.0]]|090|type=function}}
 
{{newin|[[0.9.0]]|090|type=function}}
 
Gets the write directory name for your game.  
 
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.
+
Note that this only returns the name of the folder to store your files in, not the full path.
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 8: Line 8:
 
</source>
 
</source>
 
=== Arguments ===
 
=== Arguments ===
None
+
None.
 
=== Returns ===
 
=== Returns ===
 
{{param|string|name|The identity that is used as write directory.}}
 
{{param|string|name|The identity that is used as write directory.}}

Revision as of 12:55, 22 December 2014

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 path.

Function

Synopsis

name = love.filesystem.getIdentity( )

Arguments

None.

Returns

string name
The identity that is used as write directory.

See Also


Other Languages