Need some tips to animate "moving" infinitely

Get help using Construct 2

Post » Sun Mar 08, 2015 4:07 am

I need some tips on how to animate this like I intended to.

It's like for design purposes only. I want the chain to "move infinitely from left to right" via animation without changing the position

I tried this method (below) to make it seem like a moving animation but it's not a smooth animation:
cut a few pixels from the left side, paste that cut part at the end of the right side, copy new frame, repeat, until first frame is reached (then set loop animation to yes)
You do not have the required permissions to view the files attached to this post.
B
16
S
7
Posts: 301
Reputation: 2,706

Post » Sun Mar 08, 2015 5:18 am

how many frames you have?
Image
B
59
S
23
G
7
Posts: 1,450
Reputation: 10,614

Post » Sun Mar 08, 2015 5:26 am

How far apart are the links in the chain?

Divide the distance between the links by the number of frames you want, and offset the chain by that many pixels for each frame. By the final frame, your chain should have almost moved forward one link, so when it loops back to the beginning, it looks like the beginning was the next frame.
B
14
S
5
G
1
Posts: 189
Reputation: 1,536

Post » Sun Mar 08, 2015 5:32 am

Ok. So from how I understood the replies, I only need to adjust the pixels I cut and transfer but it is the correct method? I also need to do this same concept to some other non-symmetrical sprites though, so I would hope for a more generally applicable to all answer

@korbaach
@bladedpenguin
B
16
S
7
Posts: 301
Reputation: 2,706

Post » Sun Mar 08, 2015 7:13 am

Anything you want to make an "infinitely moving animation" has to be tilable, at least in the direction you are moving it.
Just make sure the last frame lines up with the first in a reasonable way.
B
14
S
5
G
1
Posts: 189
Reputation: 1,536

Post » Sun Mar 08, 2015 7:39 am

@sgn15 ............. Animation vs TiletBackgraund ........... :D
You do not have the required permissions to view the files attached to this post.
Image
B
59
S
23
G
7
Posts: 1,450
Reputation: 10,614

Post » Sun Mar 08, 2015 8:23 am

bladedpenguin is correct. If it moves infinitely, it needs to be tileable in that direction.

If you want a very smooth animation, you'll need to cut off one pixel at a time.
You can do this with a single link (a small image) and then repeat the same image across the screen. Much less work than dealing with a large image, if that's what you've been doing.
B
9
S
2
G
1
Posts: 48
Reputation: 710

Post » Sun Mar 08, 2015 10:28 am

Why not apply an effect. Check out this thread..

nearly-daily-effects-by-somebody-neat-things-big-gifs_t123401
B
46
S
16
G
9
Posts: 1,096
Reputation: 11,153


Return to How do I....?

Who is online

Users browsing this forum: fierce25 and 8 guests