ZIM Capture: 27. Sprites and SpriteSheets - #HTML #Canvas #JavaScript, #CreateJS, #ZIMjs

preview_player
Показать описание
ZIM Capture: 27. Sprites and SpriteSheets

07:20 coding spritesheet
12:02 example of rocket explosion in 2 seconds (not anymore milliseconds)
12:41 new Aud().play() for a sound now
15:19 ZIM.animate() scroller 1 and scroller2
22:20 coding explosion spritesheet with ZIM DUO parameters image:.. , cols:.. , rows:..
28:10 example with explosion with loop
28:33 example with loopCall
29:20 call: function S.removeChild()
29:40 loopCount: 2 explosions
30:00 rewind:true to rewind the animation to startposition
30:24 startFrame end endFrame setting
Рекомендации по теме
Комментарии
Автор

Dan, can ZIM still not use complex spritesheets with more than one animation per spritesheet and sprites of different dimensions in 1 spritesheet? TexturePacker can create them and export createjs data. I know this video is a couple of years old so maybe this is now possible somehow?

Trivimania
Автор

If it would not yet work in ZIM directly, can I then mix code between createjs and zim and use the function of multiple non equally sized sprite animations in 1 textureatlas by calling the createjs code betty = new createjs.Sprite(spriteSheet, "RunRight"); ? This would be a very welcome feature for any possible game creation using a lot of small sprites and sprite animations...

Trivimania
Автор

Hi! How i can use json file (which i generate in Texture Packer) for spritesheets ? Can i use atlas in ZIM

МихаилМулюкин-лб
welcome to shbcf.ru