Jump to content
Sign in to follow this  
JensenBreck

How to drag an image within canvas as well as draw on the same canvas ?

Recommended Posts

Hi All,
Here I'm trying to draw on a html5 canvas as well as upload some images and drag them within the same canvas. The problem is I can not drag every uploaded image, at the moment I can only drag the last one rest become part of background image. I know I need to instantiate each image but It doesn't seem to work. Can anyone point me to right direction please.
 

 

 

 

I didn't find the right solution from the internet.
References:

https://forums.digitalpoint.com/threads/how-to-drag-an-image-within-canvas-as-well-as-draw-on-the-same-canvas.2796494/

teaser trailer

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×