Solid behavior not working.

Get help using Construct 2

Post » Sat Dec 24, 2016 11:58 am

Message: Vodakman can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
As the title says. (Man, I'm starting a lot of topics with that sentence.)

I'm testing Asteroid based gameplay, but the Solid behaviors isn't working.
The spaceship can pass through the asteroid. I've tried fixing it with some events and using other behaviours, but it doesn't work.

.capx link: http://www.mediafire.com/file/9ddkvimjthmuru4/spacetest.capx
B
7
Posts: 34
Reputation: 345

Post » Sat Dec 24, 2016 12:53 pm

Are you using the 'Physics' behaviour on the spaceship or the asteroid? If you are you make sure you're using it on BOTH of them :)
The LEVEL GENERATOR TOOLKIT



24 functions dedicated to producing randomly generated terrain for all kinds of games.
B
25
S
7
Posts: 254
Reputation: 2,332

Post » Sat Dec 24, 2016 12:58 pm

You need to use push out solid from CustomMovement. Delete the solid-behavior from your spaceship-object and use:
Spaceship| Is overlaping Asteroid2 -> Spaceship| Push CustomMovement out of solid.

In your case I would use Reverse without any solid
Spaceship| Is overlaping Asteroid2 -> Spaceship| Reverse CustomMovement.

One hint: Physic-Behavior and Solid doesn't work very well together.
B
24
S
3
G
1
Posts: 461
Reputation: 2,185

Post » Sat Dec 24, 2016 1:00 pm

Oh, I see, thanks a lot!
B
7
Posts: 34
Reputation: 345


Return to How do I....?

Who is online

Users browsing this forum: tetuan and 33 guests