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
109
S
27
G
277
Posts: 4,482
Reputation: 154,924


Return to Javascript SDK

Who is online

Users browsing this forum: No registered users and 0 guests