Need help with blocks falling when disconnected

Get help using Construct 2

Post » Fri Jul 31, 2015 2:47 am

Message: taborgreat can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
I am making a sidescrolling survival game, where you build shelter from materials around you, and i want to implement destrucion, like when a group of blocks are disconected and suspended above nothing, it activates physics, and they all fall.

Heres a great example
https://www.youtube.com/watch?v=w9RsKeIqbkg
B
9
S
1
Posts: 42
Reputation: 622

Post » Fri Jul 31, 2015 3:29 am

My approach would be to use multiple behaviors on the blocks. Like the video, I would use physics in combination with pin behaviors. When a block is removed and the Y position of any block changes, pin can be disabled and physics can be enabled. It also depends on the specifics of your game.
Image
B
75
S
23
G
3
Posts: 673
Reputation: 9,293

Post » Fri Jul 31, 2015 4:19 am

TheDom wrote:My approach would be to use multiple behaviors on the blocks. Like the video, I would use physics in combination with pin behaviors. When a block is removed and the Y position of any block changes, pin can be disabled and physics can be enabled. It also depends on the specifics of your game.



I dont get when the y position changes. How would it change if physics isnt enabled
B
9
S
1
Posts: 42
Reputation: 622


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 9 guests