three.js Sprite Animation - Implement a Sprite Flipbook / Sprite Mixer

preview_player
Показать описание


(00:00) - Intro
(00:33) - Create a Sprite
(01:20) - Render a Sprite Sheet Tile
(04:04) - Animate Sprite via Tile Iteration
(08:21) - Outro
Рекомендации по теме
Комментарии
Автор

This is amazing. So many useful techniques as well as very beginner-friendly approach, starting from simple things and gradually adding complex staff. Thanks a lot!!!

Vlad
Автор

amaazing formula to set => offsetX and offsetY

riza
Автор

How do I import the .ts script if I am using a separate js file for the scene?

lukarikid
Автор

dude CRAZY COOL!!!
I'am making different approuch, using body parts and changing visible and invisible child from same object, plus... i just move the parts i want... sample i have a rat monster that was made of 4 paws one tail one head and one body, to walk movimenting it, i just move the paws, it already create the ilusion of moving entity... plus, i did it in a way where not matters how fast you entity goes, foots always keep the same speed just in backwars direction or twice as fast to keep the properly end points, this make the animation faster and slower conform entity movement itself... kinda trick without attackPoints for angles movements, i miss this feature, but works greate anyway

viniciusschadeck