Jump to content
Sign in to follow this  
Laksekjønn

Sprite Animation with tweening

Recommended Posts

As you know sprite animations can be drawn on HTML5 canvas with SmartMS, I'd like to move the sprite animation through the screen using tweening (we can apply smart built-in tweening functions on smart component that inherits from TW3MovableControl).

 

The problem is the sprite animation is rendered on canvas using the drawImage method, I can not find a way how to tween elements of the canvas context, 

Does anyone can shed some light how to animate (a non based TW3MovableControl element using tween)?

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  

×