Show sprite animation in editor

Get help using Construct 2

Post » Sun Apr 08, 2012 10:43 pm

I have a sprite with several different animations, how can I show a particular one in the editor instead of the first one?

Thank you
B
29
S
9
G
6
Posts: 525
Reputation: 8,294

Post » Sun Apr 08, 2012 11:34 pm

There's no way to do this yet - can you get by with a 'Start of layout - set animation'?
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,498

Post » Mon Apr 09, 2012 11:37 am

@Ashley, It's not a problem of runtime, but of edittime, it would've been useful to be able to switch between animation to have a preview on the editor, just that.
B
29
S
9
G
6
Posts: 525
Reputation: 8,294

Post » Mon Jan 07, 2013 4:47 pm

Hi @Ashley, just found this topic because I need the same functionality for something I'm working on. In my particular case, I have a single object that is given multiple animations, and those animations are only set on runtime, but I'd like to pin other objects to them quite precisely.

I'm sure I could find a workaround for now but it would be very handy if this feature could be implemented.

Any idea if this could be included in a near release?
B
56
S
15
G
10
Posts: 910
Reputation: 11,942

Post » Mon Jan 07, 2013 9:07 pm

For right now, the only idea I can think of is to have a different sprite object and each object have one of the desired animations. Granted it's not the most efficient method, but it might be useful for testing purposes.
B
16
S
6
G
2
Posts: 152
Reputation: 3,764

Post » Fri Feb 01, 2013 10:09 pm

Necro-ing this again because, unless I've missed it entirely all this time, it was snuck in during a recent update.

Under object properties there's now a property called initial frame :)

Either way, this is brilliant - it might seem like a small thing but it'll make a big difference in this particular project. Thanks!GeometriX2013-02-01 22:10:50
B
56
S
15
G
10
Posts: 910
Reputation: 11,942


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 8 guests