Platformer Physics?

Get help using Construct 2

Post » Mon Mar 26, 2012 8:12 pm

I have a player with the Platform Behavior and physics Behavior, so that is reacts to touching physics...

The ground is physics Behavior(immovable set to true)

My question is my player is vibrating on the ground??? any Ideas? :/
B
5
Posts: 23
Reputation: 446

Post » Mon Mar 26, 2012 8:12 pm

I want to fix the Vibrating?(Clarifying)
B
5
Posts: 23
Reputation: 446

Post » Mon Mar 26, 2012 8:18 pm

Don't use the physics, use platformer behavior and solid behavior for the ground.
When you need the specific physic interaction "switch" your player to a "fake player" with physics behavior.

Have a look at the elements listed in the how do I FAQ in the "platformer game" section and in the "platformer behavior" section too, there are example that show you how to manage platformer and physics.
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,999
Reputation: 57,793

Post » Mon Mar 26, 2012 9:43 pm

Yeah, platform and physics are NOT DESIGNED to work together.
B
90
S
30
G
24
Posts: 3,189
Reputation: 32,400

Post » Thu Mar 29, 2012 10:28 pm

They should make it so that they work together....
B
5
Posts: 23
Reputation: 446

Post » Mon Apr 02, 2012 1:53 am

Could you show an example of what you're trying to do, upload the game to somewhere as an exported HTML to show it if you don't want to share the CAPX.

Assuming you're already using an invisible box as the actual platform behvior object, you can swap it dynamically at runtime quite easily.

An abandoned project I made a while back did this.




Press down to change the ball from platform mode to physics mode.

The only difficulty I encountered was having to duplicate all the blocks to set physics behavior on one, and solid on the others.

Image
B
27
S
9
G
5
Posts: 487
Reputation: 11,939


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 21 guests