kaplayjs / kaplay

🦖 A JavaScript/TypeScript Game Library that feels like a game, fun
https://kaplayjs.com
MIT License
575 stars 40 forks source link

feat: add relativeFrame to spriteComp #446

Closed amyspark-ng closed 1 month ago

amyspark-ng commented 1 month ago

fixes https://github.com/kaplayjs/kaplay/issues/171

pkg-pr-new[bot] commented 1 month ago

Open in Stackblitz

pnpm add https://pkg.pr.new/kaplayjs/kaplay@446

commit: 4f04c78

lajbel commented 1 month ago

I like more animFrame name, it's more obvious

amyspark-ng commented 1 month ago

I'll rename later and try to do a cherry pick

for cherry pick i just cherry pick both commits to the v3001 branch, push and open a second pr?