Jump to content


Sprite Animation with tweening

  • Please log in to reply
1 reply to this topic

#1 Laksekjønn

  • Members
  • 440 posts

Posted 02 April 2016 - 01:15 AM

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)?

#2 Laksekjønn

  • Members
  • 440 posts

Posted 03 April 2016 - 04:55 AM

Unfortunately, no luck yet, I cant' tweening / animate / move individual elements WITHIN the canvas. :mellow: 

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users