LoadMode

Available since LÖVE 12.0
This enum is not supported in earlier versions.


Possible load modes for love.filesystem.load. This is equivalent to 3rd parameter (mode) in Lua 5.3 load

Constants

b
Only load the file if it's binary pre-compiled chunk.
t
Only load the file if it's plain text file.
bt
Always loads no matter if it's plain text or pre-compiled chunk.

Notes

For now, load modes other than "bt" is not supported in vanilla Lua 5.1.

See Also


Other Languages