Difference between revisions of "love.filesystem.setSource"

m
Line 1: Line 1:
Sets the source of the game, where the code is present, can only be called once, done automatically.
+
Sets the source of the game, where the code is present. This function can only be called once, and is normally automatically done by LÖVE.
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
 
<source lang="lua">
 
<source lang="lua">
love.filesystem.setSource( )
+
love.filesystem.setSource( path )
 
</source>
 
</source>
 
=== Arguments ===
 
=== Arguments ===
None.
+
{{param|string|path|Absolute path to the game's source folder.}}
 
=== Returns ===
 
=== Returns ===
 
Nothing.
 
Nothing.
Line 12: Line 12:
 
* [[parent::love.filesystem]]
 
* [[parent::love.filesystem]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=Sets the source of the game, where the code is present, can only be called once, done automatically.}}
+
{{#set:Description=Sets the source of the game, where the code is present.}}
 
{{#set:Since=000}}
 
{{#set:Since=000}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|love.filesystem.setSource}}
 
{{i18n|love.filesystem.setSource}}

Revision as of 07:39, 25 October 2013

Sets the source of the game, where the code is present. This function can only be called once, and is normally automatically done by LÖVE.

Function

Synopsis

love.filesystem.setSource( path )

Arguments

string path
Absolute path to the game's source folder.

Returns

Nothing.

See Also


Other Languages