Javascript float/hover animation for HTML5 Canvas

Community Beginner ,
Mar 16, 2022 Mar 16, 2022

Copy link to clipboard

Copied

Hello there,
Currently working on an HTML5 banner ad. The folder of working files can be downloaded here.

At the ~7 second mark, I'd like for the "balloon cat" to gently float up and down above the button.
I've found inspiration for the floating movement here.

We need to do this with javascript so that the animation will loop infinitely. I have some code already written for the background, but am having difficulty connecting the dots on this particular piece.

I'd appreciate any help I can get.
Cheers!



TOPICS
ActionScript , Ad development , Code , Download and install , Other

Views

53

Likes

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 Beginner ,
Mar 16, 2022 Mar 16, 2022

Copy link to clipboard

Copied

LATEST

TLDR; I'm sure we'd be able to do this in pure actionscript, too. But no flash please 🙂

Likes

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