Difference between revisions of "love.filesystem.getSource"
(Created page with "{{newin|0.9.0|090|type=function}} Returns the full path to the the .love file or directory. If the game is fused to the LÖVE executable, then...") |
m (Fix mismatched (and wrong) description) |
||
Line 16: | Line 16: | ||
* [[love.filesystem.getSourceBaseDirectory]] | * [[love.filesystem.getSourceBaseDirectory]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
− | {{#set:Description=Returns the full path to | + | {{#set:Description=Returns the full path to the .love file or directory.}} |
== Other Languages == | == Other Languages == | ||
{{i18n|love.filesystem.getSource}} | {{i18n|love.filesystem.getSource}} |
Latest revision as of 11:31, 13 September 2017
Available since LÖVE 0.9.0 |
This function is not supported in earlier versions. |
Returns the full path to the the .love file or directory. If the game is fused to the LÖVE executable, then the executable is returned.
Function
Synopsis
path = love.filesystem.getSource( )
Arguments
None.
Returns
string path
- The full platform-dependent path of the .love file or directory.
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