• Announcements
  • How to cut your assets for animation

If you're diving into the world of 2D skeletal animation with Spine for the first time, you might have come across a common question: How should I prepare my assets for animation? Find some tips to help you get started and make the most of your animation process in our blog post!

Related Discussions
...
एक महीने बाद में
Nate ने चर्चा को चिपका दिया
5 दिन बाद में

Give Erika a piece of advice.
The hyphen (-) is not safe in a development environment. The underscore (_) is a safe character, so it is generally used instead. :♥

Which part that uses hyphen would affect code?

Personally I greatly dislike underscore. It's too large and makes things ugly, particularly with variable width fonts, but I also don't use it in code with fixed width fonts. In Spine projects I use hyphen and encourage it. All our examples use hyphen. The names of things in your Spine project don't appear in code verbatim and camel case is better IMO. 🙂

Space is also OK in Spine projects and I would prefer space to underscore, even with the drawback that you can't see it.

  • इस पर Thora ने जवाब दिया।

    Nate
    In terms of personal experience, it's - better. I'm not exactly sure why, but almost all large-scale projects require the use of _. For instance, Nikke, Arknights, Brown-Dust-Asset, and even Cult of the Lamb are no exceptions.

    It's not better though. Which character to use in your naming is purely subjective. Use whatever looks good to you: hyphen, space, underscore, or anything else. The choice has no affect on code. What other large projects use doesn't matter.

    Yes, so it's just a suggestion. Because I like watching Erika's videos. But then I saw some actual job requirements and felt a bit disconnected. Don't worry about this issue. - More aesthetically and linguistically.

    • Nate ने इसे लाइक किया।