Randomize Unique Tiles

Get help using Construct 2

Post » Fri Jan 23, 2015 7:00 pm

AnimationFrame is a sprite expression that will give you the which of the frame is currently playing. You could also go ahead with an instance variable if you prefer.
B
78
S
32
G
27
Posts: 1,021
Reputation: 20,952

Post » Fri Jan 23, 2015 7:04 pm

ok nevermind, you CAN use the frame animation as an ID. The solution was to make an instance variable and just after the frame is called on, set the current frame to the instance variable. thanks again for this great thread!

Also thanks for confirming the frame number is itself an identifying value. i didn't realize it could be called on any time, but now that you say that it makes perfect sense.

Thanks!
Caleb
B
59
S
9
G
2
Posts: 975
Reputation: 7,121

Previous

Return to How do I....?

Who is online

Users browsing this forum: Tarkion and 21 guests