ScratchCard
ScratchCard copied to clipboard
ScratchCard is a js lib to simulated a scratchcard in browser with html5 and canvas.
Guys please help... I'm trying to add a scratching sound effect while scratching but the browser gives policy error: `Uncaught (in promise) DOMException: play() failed because the user didn't interact...
Is there a way to undo/refill/reset the scratched area in the callback function?
When working with ScratchCard.js I noticed that the scratch area is always a square so I decided to try to round the container so the scratch area would be round...
Hello, there is no problem when I create the cards 1 time, but when I try to create them the 2nd time, I get this error. Is there any way...
How to set Pre cleared when opening page??
Hi, I have tried to add click function inside the html tag but it is not calling the function..... It is required to copy the code given in scratch card....
Hi, I use multiple sc in same page, and I would like to deactivate the scratch on multiple sc, but is not possible at the moment, For further version, possible...
If you wish to allow only certain portions of a background image to be scratched, you might want to define clipping regions. This is practically can be achieved via loading...
Unchangeable image.crossOrigin setting causes some problems on restricted policies. `image.crossOrigin = 'Anonymous'; // Work only if the server response headers contains [Access-Control-Allow-Origin: *]` Is it possible for this setting to...