HTML5 Canvas - Download image from game
Hi
This is a follow up question to this post, now that I've had an oportunity to come back and improve on it - How do i save my game's ending as image?
I've been trying to find an alternative to "document.body.appendChild(image);" as means to save an image of the game I made - appending a link seems a bit low key, and may pass unnoticed (specially since the game is aimed at children).
Opening the image on a new tab/window using "window.open" won't work in Chrome, so that's useless as well - it would have been a great option!
I wonder if there is another way to do this.
- is there a way to trigger a "save image as" window so the user can do it?)
- or can i make this link appear inside the game attached to an object (maybe an image appears with "click here for image" so the user can right click to save...?)
- some other way people with more know how would know....
Thank you!
