Sorry if my English isn't correct.
I'm stuck creating my app. In short, I have a canvas that uses lines to create a map. I'd like to add icons to it (sprites like chests, doors, etc.). I have a list that contains the coordinates of these sprites with the image that should appear, but I don't know how to update them so that the sprites are in the right place and with the right image.
Thank you for your help.
That's almost it, yes, but since there will be several sprites, I need to find a coded solution to select a sprite that isn't yet visible and assign it the coordinates and image.
In this image, I click on the icon (1), it appears on the map, and I click "Validate" (2). From there, a list appears (Image 2) and I choose the image that should appear (e.g., door, chest, etc.), then it saves itself to a list (Image 3).
And from there, I would like these icons to appear and follow the movement when I move the map and disappear when it leaves the canvas.
I'm having trouble integrating a sprite into a canvas.
I already had a post, but I didn't get a real solution to my problem.
I'll try again.
I have a list containing sprites I've created and whether they're free or not.
I'm trying to get the procedure to take the first free sprite, give it the coordinates and image from this list, and display it in my map.
I'm trying this method to keep the option to modify it just in case.
Select a sprite image from the listview, this is added to the map.
You can then position the sprite
Select the same image from the listview to then remove the sprite
For your map/road building you could also get the images to "snap" into place