Difference between revisions of "love.filesystem.setSource"
Buckle2000 (talk | contribs) |
|||
(6 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | + | 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 === | ||
− | + | {{param|string|path|Absolute path to the game's source folder.}} | |
=== Returns === | === Returns === | ||
Nothing. | Nothing. | ||
Line 13: | Line 12: | ||
* [[parent::love.filesystem]] | * [[parent::love.filesystem]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
− | {{#set:Description=}} | + | {{#set:Description=Sets the source of the game, where the code is present. Used internally.}} |
+ | {{#set:Since=000}} | ||
+ | == Other Languages == | ||
+ | {{i18n|love.filesystem.setSource}} |
Latest revision as of 15:08, 17 February 2017
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
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info