Family movement

For questions about using Classic.

Post » Mon Sep 01, 2014 4:42 am

I put custom movement but it doesn't work for any of the objects in the family. It only works if I do it one object at a time
here is example:

[ Key left arrow is down ] Friendly:Accelerate speed :200 towards left
Friendly:speed: 2 towards left

it doesn't do the movement...seems weird but it works if I do

[ Key left arrow is down ] TheWaterHero:Accelerate speed :200 towards left
TheWaterHero:speed: 2 towards left

(TheWaterHero is the object and Friendly is the family) (TheWaterHero is IN the family Friendly)
B
22
S
9
G
6
Posts: 72
Reputation: 4,750

Post » Mon Sep 01, 2014 4:46 am

Attributes are literally exactly the same
B
22
S
9
G
6
Posts: 72
Reputation: 4,750

Post » Mon Sep 01, 2014 3:57 pm

Did your objects have the behavior before being added to the family, or after?
"Construct 4 lets YOU make advanced games! (but not play them)" Construct Classic - Examples Kit Dropbox is a pile of trash and if you need my old files PM me! :)
B
116
S
41
G
17
Posts: 2,204
Reputation: 19,545

Post » Mon Sep 01, 2014 11:50 pm

I HAVE to put in the behaviours before adding the family. it's impossible to add the family before adding the behaviour because the behaviour is custom movement. The objects need custom movement behaviour so the Family can adjust custom movement behaviour (speed, accelerate)
B
22
S
9
G
6
Posts: 72
Reputation: 4,750

Post » Sun Sep 07, 2014 4:31 am

Try adding a "For Each Object" to the top event with "For Each Friendly" and see if that helps (at the top before any other conditions)!
"Construct 4 lets YOU make advanced games! (but not play them)" Construct Classic - Examples Kit Dropbox is a pile of trash and if you need my old files PM me! :)
B
116
S
41
G
17
Posts: 2,204
Reputation: 19,545

Post » Mon Sep 08, 2014 12:52 am

nothing happened... even if I put "for each family" before all the conditions
B
22
S
9
G
6
Posts: 72
Reputation: 4,750


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 1 guest