load an image that Isn’t part of the “project resources” but instead is in a folder next to the game executable.
Reading .lua files as text would be cool too.
load an image that Isn’t part of the “project resources” but instead is in a folder next to the game executable.
Reading .lua files as text would be cool too.
Lua is unsupported by the engine, but you can load text files on desktop OSes using the filesystem events.
Look up the documentation to learn about building the path expressions
So lua cant even be loaded as a .txt file? like renaming the extension or something?
by “load an image” I mean import an image during runtime and set it as a sprites image
You could load the typed code of Lua from a text file, yes. You’re not going to be able to do anything with it in the GDevelop engine, though.
At least not via standard events since the engine is javascript based.
Not lua and ive not personally tested it…but you may want to have a look here
also i tried doing this with online method using the url extension but i dont remember much anymore…i guess bcs without success
thx! sad about lua but ill figure it out some day lol