Can i get animation's image points in a behavior?

For developers using the Construct 2 Javascript SDK

Post » Tue Sep 02, 2014 7:43 am

Like we do in the sprite plugin :
this.animations[i];
and the image points are in:
this.animations[7][9];

I want to use the image points to calculate the distance between two specific image points of different sprite instances.
B
4
Posts: 7
Reputation: 216

Post » Tue Sep 02, 2014 11:03 am

One solution is to reuse expression of sprite
http://c2plugins.blogspot.tw/2014/02/reuse-ace.html
B
108
S
26
G
258
Posts: 4,430
Reputation: 145,179


Return to Javascript SDK

Who is online

Users browsing this forum: No registered users and 0 guests