V
V
Valery Albertovich Zhmyshenko2021-02-21 19:45:16
Lua
Valery Albertovich Zhmyshenko, 2021-02-21 19:45:16

Love2d how to let the user choose an image to draw?

It is necessary that the user can somehow select a picture, for example, enter the path to the file or drag the file onto the window. How to do it?
love.graphics.newImage('C:\pictures\1.png') doesn't work

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
voproser45654, 2022-03-07
@voproser45654

love.filedropped(file)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question