Giter VIP home page Giter VIP logo

Comments (5)

Seanba avatar Seanba commented on June 4, 2024 1

Hello, @aschearer. I just pushed out version 1.2.0 of Aseprite2Unity which includes support for animation events. Further, the MegaDad example now uses animation events to play sound effects. See the example for further details and let me know how this works out for you.

https://seanba.itch.io/aseprite2unity/devlog/351816/aseprite-version-120

from aseprite2unity.

Seanba avatar Seanba commented on June 4, 2024

Hi there, @aschearer. I can take a look at this. I don't currently use userData for anything but it seems it can be done. I'd have to find a way to attach the proper event to the proper clip but I don't expect it to be too bad.

from aseprite2unity.

aschearer avatar aschearer commented on June 4, 2024

Cool! Quickly dabbling I found the above code snippet will add an event to the designated time in the animation clip -- I tested with start and end. So the main thing is just how to get the userData during import. How did you figure out how many bytes to read, etc.?

from aseprite2unity.

aschearer avatar aschearer commented on June 4, 2024

Wow you're a boss! 🎉

from aseprite2unity.

MabLuxx avatar MabLuxx commented on June 4, 2024

This is a great addition. Do events happen to support arguments?

from aseprite2unity.

Related Issues (10)

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.