How do I snake mouvement like arrow game ?

Get help using Construct 2

Post » Sat Jul 04, 2015 7:20 pm

@alextro
thanks for you help

how ever i used same method but the mouvement of the segment is bad
can you take a look on my new .capx https://www.dropbox.com/s/ay4xwgvyecgat ... 3.rar?dl=0

or any others can help me please ?
B
45
S
16
G
8
Posts: 792
Reputation: 8,306

Post » Sun Jul 05, 2015 1:03 am

up bump :D
B
45
S
16
G
8
Posts: 792
Reputation: 8,306

Post » Sun Jul 05, 2015 4:54 pm

any suggestion?
that not work with pin behaviour !!!!
B
45
S
16
G
8
Posts: 792
Reputation: 8,306

Post » Sun Jul 05, 2015 5:56 pm

chrisbrobs
Last edited by chrisbrobs on Mon Jul 06, 2015 5:27 pm, edited 1 time in total.
B
21
S
6
G
8
Posts: 1,215
Reputation: 7,881

Post » Mon Jul 06, 2015 7:04 am

Done some workaround of your file. Not as smooth as you may expect, due to obstacle pattern concern.
https://dl.dropboxusercontent.com/u/659 ... e_rev.capx

I was able to make the segments follow correctly, but it will not be suits the game you want to achieve.
ImageImage
B
105
S
46
G
23
Posts: 778
Reputation: 22,226

Post » Mon Jul 06, 2015 1:48 pm

I would use an array to record the head's position and angle, and use that data to set the body segments.

example
B
63
S
19
G
8
Posts: 341
Reputation: 12,130

Post » Mon Jul 06, 2015 2:41 pm

@all thanks a lot for your contribution

@zatyka
but this was great
B
45
S
16
G
8
Posts: 792
Reputation: 8,306

Previous

Return to How do I....?

Who is online

Users browsing this forum: blue visionary, OBLIVION and 16 guests