Searched the whole web for this and to no avail. I’m trying to to do following for a image puzzle/jigsaw kind of game. There’s the following html page with the structure you see in the pic below. I want the possibility to drag and drop a predefined image to the canvas in order to load it there. How can I do this? Basically, when you drag and drop one of the 3 images into the game canvas, it loads your image there (and then I can do the rest, like splitting the image into pieces etc)

Thanks in advance!

Post image



Source link

Write A Comment