-
Notifications
You must be signed in to change notification settings - Fork 107
feat: frame info & stop at last frame #151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- feat: stop at last frame
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
api有点奇怪。而且在实现中,还强制更改loop属性。是否可以如下设计
new SpriteAnimation({
loop: false,
times: 1, // 2, 3 都可以
forwards: true // 参考css的动画animation的forwards
})
控制播放次数还是在play的时候控制,这个API先不要变化。forwards已修改 |
* fix: Object.values * release: v1.1.1-fix.0 * fix: change error to console (#155) * Feat/spine bundle (#154) * fix: iife name * release: v1.2.2-alpha.0 * release: v1.2.2-alpha.1 * fix: add _EVA_IIFE_ const * feat: spine通用 * feat: spine40 * fix: comment * fix: update example * fix: const to var in spine js file * enhance d.ts * 放宽测试用例 * release: v1.2.2-type.0 Co-authored-by: aspsnd <2546697613@qq.com> * Fix/iife (#153) * fix: iife name * release: v1.2.2-alpha.0 * release: v1.2.2-alpha.1 * fix: add _EVA_IIFE_ const * feat: frame info & stop at last frame (#151) * - feat: frame info - feat: stop at last frame * fix: use forward to stop at last frame * release: v1.2.2-alpha.0 * release: v1.2.2-alpha.2 * add localPosition on event data (#158) * add localPositino on event data * replace target with container * release: v1.2.2-type.1 * Fix/frame (#159) * - feat: frame info - feat: stop at last frame * fix: use forward to stop at last frame * fix: sprite animation forwards * Feat/ali miniprogram (#156) * release: v1.0.3-mini.1 * release: v1.0.3-mini.2 * add node resolve for miniprogram format * bundle resolve-loader to miniprogram format * release: v1.0.3-mini.3 * fix: export error in miniprogram adapter * update miniprogram export * fix: import PIXI from miniprogram-pixi * release: v1.0.3-mini.4 * fix: export pixi.js obj from miniprogram-pixi * release: v1.0.3-mini.5 * release: v1.0.3-mini.6 * fix: update miniprograme build * release: v1.1.2-mini.0 * release: v1.1.2-mini.1 * fix: update * release: v1.1.2-mini.2 * release: v1.1.2-mini.3 * fix: miniprogram autostart bug * fix: add property at pixi * release: v1.2.2-mini.0 * fix: * release: v1.2.2-mini.1 * fix: add pixi export * release: v1.2.2-mini.2 * release: v1.2.2-mini.3 * fix: reverse temp Co-authored-by: lidongjies <lidongjies@gmail.com> * fix: remove package-lock.json * release: v1.2.2-alpha.3 * fix: qrcode (#162) * fix: qrcode * fix: update * Fix/125 (#164) * fix: iife name * release: v1.2.2-alpha.0 * release: v1.2.2-alpha.1 * fix: add _EVA_IIFE_ const * feat: spine通用 * feat: spine40 * fix: comment * fix: update example * fix: const to var in spine js file * enhance d.ts * 放宽测试用例 * release: v1.2.2-type.0 * fix:#125 * test play spine * use quene to control play action * make it current when change spine.resource Co-authored-by: fanmingfei <az8641683@163.com> * fix: resource can't loaded (#165) * release: v1.2.2-alpha.4 * fix: update spine dependencies * fix: add protect (#166) * fix: protect * fix: merge condition * release: v1.2.2-alpha.5 * fix: remove symbol (#167) * release: v1.2.2-alpha.6 * release: v1.2.2 * docs: Update Readme Logo * fix: observer (#168) * test: componentObserver * release: v1.2.3 * fix: lottie destroy * fix: dragonbone ticker * fix: Keeping the behavior of v1.2.1 * fix: update comment * release: v1.2.4 * fix: throw error addComponent to a destroyed gameObject (#174) * release: v1.2.5 * docs: update changelog url * Update README.md * Update README_CN.md * fix: package keyword * release: v1.2.6-alpha.0 (#185) * release: v1.2.6 * fix: export settings/UPDATE_PRIORITY from miniprogram-pixi (#184) * Fix/bad component resource (#183) * fixbug on img * fix: #170 * 删除测试样例 * fix: remove destroyed in component * fix: gameObject.id original * fix: revert lint Co-authored-by: fanmingfei <az8641683@163.com> * Fix/stats (#178) * add stats dw and tc panel * add stats example * Update StatsSystem.ts 修复开启监控才接入hook的问题 * release: v1.2.7 * fix #200 (#201) * fix #200 * release: v1.2.8-fix.1 * fix(core): fix typo for enableScroll of RendererSystemParams (#206) * Fix/mask (#199) * fix: mask change error * fix: remove debug * fix dragonbone ticker * release: v1.1.1-fix.2 * release: v1.1.1-fix.3 * update version * fix dragonbone ticker * add clean script * add clean prebuild scripts * feat: update version * resturcturing the process of building * fix img destroy * add lerna scripts && update package scaffold script * fix conflict * release: v1.2.8-alpha.0 * release 1.2.8 * fix: In multi scene,white screen while use stats plugin #204 (#219) ok --------- Co-authored-by: aspsnd <2546697613@qq.com> Co-authored-by: aspsnd <46017470+aspsnd@users.noreply.github.com> Co-authored-by: lidongjies <lidongjies@gmail.com> Co-authored-by: Chrise <574495412@qq.com> Co-authored-by: 金擘 <terrykingcha@gmail.com> Co-authored-by: zfkun <zfkun@msn.com>
Please check if the PR fulfills these requirements
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
What is the current behavior? (You can also link to an open issue here)
What is the new behavior (if this is a feature change)?
Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
Other information: