• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How can i implement the scratch capability in my html canvas

Explorer ,
Oct 04, 2018 Oct 04, 2018

Copy link to clipboard

Copied

I would like to implement such a fuctionlity on my banner does anyone know how i can do this. kindly click the link

https://business.eskimi.com/ads/#ad=Trailfinders_scratch_01

Message was edited by: João César de Lima

Views

193

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 04, 2018 Oct 04, 2018

Copy link to clipboard

Copied

Hi.

There two main steps required.

- The first one is a mask reveal. You can find out how to do it here:

https://createjs.com/demos/easeljs/alphamaskreveal

- The second one is to set a delay. Because it seems that the banner expects the user to click once then it waits for about 3 seconds to change the screen. You can do this by calling a window.setTimeout function inside of a click handler function.

Regards,

JC

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Oct 04, 2018 Oct 04, 2018

Copy link to clipboard

Copied

LATEST

do you by chance ave a video link of a step by step process

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines