60 individual sprites or 1 with 60 frames?

Discussion and feedback on Construct 2

Post » Wed Apr 10, 2013 6:33 am

Like the topic says, which should I use for an interactive list? The list will be up to 60 items that will be the sprite or animation frame that you will be able to select and do a few things with. Thanks!


B
11
S
1
Posts: 10
Reputation: 1,315

Post » Wed Apr 10, 2013 6:42 am

I would go with frames because we have for each "ordered", and object(index).
Image Image
B
161
S
48
G
91
Posts: 7,358
Reputation: 67,271

Post » Wed Apr 10, 2013 7:05 am

Thanks for you reply!

I'm pretty new to construct still so I'm not to sure how to use what you mentioned above, is there any examples or other topics that would show how to use them? or how to display the different frames for copies of a sprite with the 60 frames?
B
11
S
1
Posts: 10
Reputation: 1,315

Post » Wed Apr 10, 2013 8:21 am

SO you create up your sprite with the 60 frames.

Set the animation speed to 0 and no loop

Now just set the initial frame (sprite property) to the frame you want displayed.
B
31
S
8
G
5
Posts: 436
Reputation: 5,836

Post » Wed Apr 10, 2013 8:23 pm

@newt , was you who has a dog gravatar? I'm missing it, was hilarious the dog face!

@brentcee23, like @czar said, the easiest way is setup an sprite with all the frames you need and them place it on the canvas and set his first animation for what you want. It's a bit useless if you have a barrel with animation and want put more type of sprites inside it, but for static objects, it works great!

Also, you can change them via code, using the action "set animation frame".
ImageImageImageImageImageImage
B
93
S
20
G
13
Posts: 1,215
Reputation: 18,990


Return to Construct 2 General

Who is online

Users browsing this forum: zenox98 and 13 guests