Is it possible to load an image from a file?


#1

I’m new to GDevelop5 so not sure if what I’m trying to do can be done.

Is it possible to load an image from a file, for example C:\Users\SJSRM\Pictures, and set it as the background?

I want to be able to change the picture in the file location (C:\Users\SJSRM\Pictures), then press a button and load it as the background image of the game so that I can change the background during game play with new images.

Any help would be much appreciated.


#2

hi
i don’t think it is possible directly with gdevelop, maybe using JavaScript inside gdevelop