frame storage

Get help using Construct 2

Post » Thu Jan 26, 2012 2:22 am

Is it somehow possible to copy (or store) the frame that the animation is currently playing?
If I try to make a copy of the original animation and simply set the frame of the copy as the current frame of the original - 1 frame, it works, but when the animation change it obviously cause trouble.
mhm.. it's a strange request maybe XD
B
5
G
1
Posts: 32
Reputation: 939

Post » Thu Jan 26, 2012 2:41 am

You can store the animation frame number in an instance variable, then retrieve it later.
Image
B
225
S
27
G
13
Posts: 1,774
Reputation: 18,024

Post » Thu Jan 26, 2012 11:55 am

mhm.. so the only (or the best) way is to store the info (frame + animation) and then retrieve them?
I see, thanks!
B
5
G
1
Posts: 32
Reputation: 939

Post » Thu Jan 26, 2012 12:12 pm

Use webstorage??
B
29
S
12
G
7
Posts: 740
Reputation: 7,849

Post » Thu Jan 26, 2012 5:11 pm

I'll give it a try, but webstorage was something else I was actually looking for :P
Thanks Smitchell!! ;)
B
5
G
1
Posts: 32
Reputation: 939


Return to How do I....?

Who is online

Users browsing this forum: Artpunk, gregorysforster, onzephyr and 2 guests