remove file
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
remove file
I made a file and want to remove it in löve2d. when I use the love.filesystem.remove("wow.lua") it doesn't delete the file
lua,contrary to other language,give you as much space as moon
Re: remove file
Re: remove file
closed? Does the file have to be opened first?darkfrei wrote: ↑Tue Jan 16, 2024 9:06 pmhttps://love2d.org/wiki/love.filesystem.remove
Be sure that the file is closed.
lua,contrary to other language,give you as much space as moon
Re: remove file
Check that you are referring to the same path as the filesystem module is:
https://love2d.org/wiki/love.filesystemThis module provides access to files in specific places:
The root folder of the .love archive (or source directory)
The root folder of the game's save directory.
The folder containing the game's .love archive (or source directory), but only if specific conditions are met.
My boat driving game demo: https://dusoft.itch.io/captain-bradley- ... itius-demo
Re: remove file
when I create the file, it automatically put it in appdata, so remove doesn't go there automatically?
lua,contrary to other language,give you as much space as moon
Re: remove file
It does, yes.
My boat driving game demo: https://dusoft.itch.io/captain-bradley- ... itius-demo
Who is online
Users browsing this forum: Bing [Bot] and 19 guests