Iterating through image points of a sprite

Get help using Construct 2

Post » Fri Nov 09, 2012 9:55 am

Is there a way to iterate through or get the number of image points for a single sprite?
B
7
S
1
Posts: 38
Reputation: 833

Post » Fri Nov 09, 2012 2:02 pm

I'll see if I can add an image point count expression for the next build.
Scirra Founder
B
384
S
227
G
86
Posts: 24,144
Reputation: 190,806

Post » Mon Nov 12, 2012 2:48 am

Ashley, if possible can we get imagepoint name from the imagepoint number?
I just wanted some expression like imagepoint_name(number), if that is possible.
B
7
S
1
Posts: 38
Reputation: 833

Post » Mon Nov 12, 2012 3:01 am

@msv0001, what would you need that for? In my experience, it's good practice to refer to your image points by name, so you don't have to worry yourself about order.
B
92
S
31
G
24
Posts: 3,191
Reputation: 32,669


Return to How do I....?

Who is online

Users browsing this forum: Exabot [Bot], ismael123, newt and 4 guests