Can I set a sprite animation in the layout editor?

0 favourites
  • 5 posts
From the Asset Store
Ninja char for your game! Make your own Shinobi game with this art.
  • Hey guys

    In my game I have a sprite called "buttons" that has 5 different button types. I'd like to keep them all as one sprite so that they all get exported to a single sprite-sheet.

    What I would like to do is have each button be its own animation, so I have "Back" with its own frames, "Close" with its own frames etc. The limitation I've run into though is that the editor will let me set a frame number in the properties, but not an animation type.

    <img src="" border="0" />

    I can do this through events on startup, but it gets rather messy picking and setting several buttons and UI elements.

    Is there a way to set an animation type through the editor, not just a frame number?

  • Simple, make one object for each button...

  • Simple, make one object for each button...

    Warning : Bad puns

    We need a simple button around here ...

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Mmm, so I guess that's a no?

    Ashley - If this isn't possible at the moment, could this be added in? It would make managing sprite-sheets much easier.

  • I would also like to see the ability to set the default animation. It's easier to group certain elements together in one object, things like UIs or animated scenery.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)