Get animation name from layout grid

Get help using Construct 2

Post » Fri Feb 14, 2014 1:36 am

Not sure how to put this but here goes....

Lets say I created a grid of sprites on my layout tab, in a 10 x 10 grid.

From my events sheet can I get the animation name from the sprite form a certain co-ordinates? lets say X:300, Y:200

What I'm basically trying to do is populate an array at the start of my game with the animation names of the sprites, so I would end up with an array like this

Array(0,0) = 'animation name from square 0,0'
Array(1,0) = 'animation name from square 1,0'

Hope this makes sense

Thanks
B
11
S
2
G
1
Posts: 68
Reputation: 777

Return to How do I....?

Who is online

Users browsing this forum: Yahoo [Bot] and 16 guests