Function
love.filesystem.setIdentity( name )
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.
Synopsis
love.filesystem.setIdentity( name )
Parameters
name string The new identity that will be used as write directory
Examples
Setting the game folder name
  1. -- Yes:
  2. love.filesystem.setIdentity("monkey_doom_2")
  3. -- No:
  4. -- love.filesystem.setIdentity("c:/Users/bob/monkey_doom_2")
Copyright © 2006-2010 LÖVE Development Team.