Views
love.filesystem.setIdentity
Sets the write directory for your game. Note that you can only set the name of the folder to store your files in, not the location.
Contents |
Function
Synopsis
love.filesystem.setIdentity( name )
Arguments
string name
- The new identity that will be used as write directory
Returns
Nothing.
Examples
Setting the game folder name
-- Yes:
love.filesystem.setIdentity("monkey_doom_2")
-- No:
-- love.filesystem.setIdentity("c:/Users/bob/monkey_doom_2")
love.filesystem.setIdentity("monkey_doom_2")
-- No:
-- love.filesystem.setIdentity("c:/Users/bob/monkey_doom_2")