Snake...a different way ???

Get help using Construct 2

Post » Thu Feb 25, 2016 6:28 pm

Hi guys, a have a question...today I was all the day in fron of the pc... to manage a snake.... I found many samples...a few good, but too many settings...so after hours I had an idea. We could create a HEAD + many segments that pinned... the idea was to apply to the segments a turret behavior...so that they follow or the head or the segments. My low knowledge about coding does not permit me to go beyond. How can i first manage the gap between each segment...and how can i make the the last follow the previous ( trogh turret rotation) and so on ? I know...here are many genius-coding-masters. Maybe one of u can create a capx with a super simple snake... where the segments are smoothly following the head...without arrays and too many stuff....
B
37
S
16
G
2
Posts: 447
Reputation: 4,865

Post » Thu Feb 25, 2016 8:20 pm

Hi, there is a sample project already in C2 (that could spark a idea)

There is one with *rope* in it's name, but another one that is even better for you - where they make a group and pin the body to themselves (for that you would need the paid version of C2)

  • System > On start of layout | system > load game from slot "brain"
  • System > On load failed | system > scroll to obj_Forum
B
17
S
8
G
5
Posts: 340
Reputation: 4,707

Post » Thu Feb 25, 2016 8:31 pm

thanks...I need something a bit more soffisticated ...any help guys ?
B
37
S
16
G
2
Posts: 447
Reputation: 4,865


Return to How do I....?

Who is online

Users browsing this forum: evillair, Google [Bot], marcinkowski, unicornspitfire, zenox98 and 10 guests