kuuuurija Posted July 5, 2014 Share Posted July 5, 2014 Hi, What techniques are you guys using to create Flash like animations? I am having hard time with this.Creating animation with code is sometimes painful. I tried to convert all the frames in Flash into a separate PNGs and then use these images in PIXI.Movieclip, animation looked good but spritesheet got too heavy. any solution is appreciated.. Quote Link to comment Share on other sites More sharing options...
IvanK Posted July 5, 2014 Share Posted July 5, 2014 Try compressing your PNGs with https://tinypng.com/ . I don't know how they do that, but output PNG is 3 times smaller. Quote Link to comment Share on other sites More sharing options...
kuuuurija Posted July 6, 2014 Author Share Posted July 6, 2014 I do compress the SpriteSheet, I use pngquant, It is part of my build process.. (tinypng.com also uses pngquant) Quote Link to comment Share on other sites More sharing options...
lewster32 Posted July 6, 2014 Share Posted July 6, 2014 Just to be clear, file size of the png doesn't impact performance at all, only bandwidth usage when loading it. I believe people are using Spine do do skeletal animations such as these: http://www.goodboydigital.com/pixijs/examples/12-2/http://www.goodboydigital.com/pixijs/examples/12/Someone else has posted an implementation of DragonBones too: http://www.html5gamedevs.com/topic/7546-pixi-dragonbones/ Quote Link to comment Share on other sites More sharing options...
lukaMis Posted July 6, 2014 Share Posted July 6, 2014 You can use Flash ide and then export to html5 and js (canvas). Not all features are supported (mainly filters like blur and drop shadows ) but as far as simple tweens go you can export that with no problem. Quote Link to comment Share on other sites More sharing options...
kuuuurija Posted July 6, 2014 Author Share Posted July 6, 2014 ok, great.. thanks for the input all.. Quote Link to comment Share on other sites More sharing options...
doctorWho Posted November 16, 2016 Share Posted November 16, 2016 (edited) On 7/5/2014 at 3:44 PM, kuuuurija said: Hi, What techniques are you guys using to create Flash like animations? I am having hard time with this. Creating animation with code is sometimes painful. I tried to convert all the frames in Flash into a separate PNGs and then use these images in PIXI.Movieclip, animation looked good but spritesheet got too heavy. any solution is appreciated.. how i can get images from flash to pixi.js? Edited November 16, 2016 by doctorWho Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.