Looking for help with path movement

For questions about using Classic.

Post » Fri Sep 02, 2011 1:03 pm

Hi, I'm trying to make a clone of the arcade game 1942. Most of the enemy I've sorted, but there are some that follow a path in a line. I've installed the path movement addon and this works perfect for a single sprite, but the only way I can get them all to follow the same path is to re-draw the path for each sprite, which is a pain.

If I clone the first sprite with the path it takes the path movement with it but if I shift the sprite over to the left of the first sprite, the whole path moves with it so they don't move in a line.

Hope you're still with me.

So, I was wondering if anyone had any ideas how I can create a 'snake' like chain of enemy that move along a path. The video below is of 1942 to give you an idea, around 30+ seconds the red planes come in from the left, that's the effect I want.

Thanks for any help.

http://www.youtube.com/watch?v=2FXaw4Ev7Gwvandinz2011-09-02 13:16:38
B
19
S
5
G
4
Posts: 208
Reputation: 3,960

Post » Fri Sep 02, 2011 1:34 pm

The timeline object would work well for this, if you don't draw the path.
Like on timeline A system create object redplane, redplane clear all nodes, redplane add node at firstx,firsty, add node at secondx,secondy, add node at thirdx,thirdy, redplane set position on path to 0, redplane start path movement.
On timeline B system create object redplane, redplane clear all nodes, redplane add node at firstx,firsty, add node at secondx,secondy, add node at thirdx,thirdy, redplane set position on path to 0, redplane start path movement.

Then make sure the path is set to curves, etc.
Image Image
B
161
S
48
G
89
Posts: 7,347
Reputation: 66,249

Post » Fri Sep 02, 2011 10:27 pm

Cheers, I'll give that a go :)
B
19
S
5
G
4
Posts: 208
Reputation: 3,960


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 1 guest