dynamic behaviour switch

Discussion and feedback on Construct 2

Post » Tue Nov 12, 2013 9:52 pm

hello..

i need to switch between platform and the car behaviour.

basically ive got a pengiun jumping around who goes into the water. the car behaviour seems pretty good for simulating swimming around.

of course you cant disable either behaviour.

im thinking maybe i create 2 objects and keep one hidden until i dive in then place it dynamically at same place as platform penguin.

or maybe theres somehting i could do with the customMovement behaviour.

any ideas what might work well. not liking the idea of trying to recreate the platform behaviour with custom...if thats possible
B
6
S
1
Posts: 23
Reputation: 427

Post » Tue Nov 12, 2013 10:34 pm

Give the penguin both behaviors and enable/disable as needed. There is an action & property for it.
Image
B
243
S
30
G
13
Posts: 1,787
Reputation: 18,770

Post » Wed Nov 13, 2013 1:45 pm

are u sure? that was my first idea but I found no disable on those behaviours.....u can do that with physics no problem
B
6
S
1
Posts: 23
Reputation: 427

Post » Wed Nov 13, 2013 5:00 pm

Yup, they can both ben enabled/disabled independently.

simply switch them when he hits the water!

B
87
S
44
G
16
Posts: 1,002
Reputation: 17,932


Return to Construct 2 General

Who is online

Users browsing this forum: Tinimations and 7 guests