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
46
S
16
G
8
Posts: 794
Reputation: 8,335

Post » Sun Jul 05, 2015 1:03 am

up bump :D
B
46
S
16
G
8
Posts: 794
Reputation: 8,335

Post » Sun Jul 05, 2015 4:54 pm

any suggestion?
that not work with pin behaviour !!!!
B
46
S
16
G
8
Posts: 794
Reputation: 8,335

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
5
G
8
Posts: 1,215
Reputation: 7,834

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
111
S
51
G
24
Posts: 787
Reputation: 23,394

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
64
S
19
G
8
Posts: 341
Reputation: 12,185

Post » Mon Jul 06, 2015 2:41 pm

@all thanks a lot for your contribution

@zatyka
but this was great
B
46
S
16
G
8
Posts: 794
Reputation: 8,335

Previous

Return to How do I....?

Who is online

Users browsing this forum: AlexiarTW and 20 guests