Giter VIP home page Giter VIP logo

Comments (3)

pharan avatar pharan commented on June 3, 2024

Implementation idea:

  • It's just a dopesheet mode. No changes to serialization or object model.

  • Beside the loop button, maybe there's a Sync-edge-keys toggle button (or whatever we want to call it)

  • Whenever it's enabled, any keys you add/change at time 0, are automatically applied to the end of the animation, and any keys you change/add at the end time, are automatically applied to the start.

  • Forces ALL keyed timelines to have a key at time 0 and animation end.

  • If you add a new key that extends the duration of the animation, it will enforce the timelines-must-have-last-keys rule. (Optionally, it will remove the previous key if it was between two keys with similar values.)

The above idea sort of has the same danger-level as having Auto key on, in terms of overwriting values.

An alternative is to have manual Copy-start-to-end or Copy-end-to-start buttons/hotkey shortcuts.

from spine-editor.

erikari avatar erikari commented on June 3, 2024

Suggestion from the forum:

Simply add a checkbox option in the animation interface for Seamless loop.
It would only have an effect if the loop end time was set to a time after the last key frame. If the option was checked, the animation would play as though there were keys identical to the keys at time zero at the loop end time.
The checkbox could just be made inactive if there's a frame after the loop end time or if looping was disabled.
Forum post

My tiny opinion:
have a "Loop adjust" button that keeps in sync the first and last frames if active, so that if you modify one, the one at the end is modified as well.
(which is very similar to what Pharan said!:D)

from spine-editor.

erikari avatar erikari commented on June 3, 2024

Additional suggestion: add a hotkey to put the first keys on the last frame of an animation.

from spine-editor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.