Push/Pull doesn't work suddenly.

Get help using Construct 2

Post » Sun Jun 19, 2016 8:11 am

Message: Versanthus can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
Hey,

I tried following tutorials of push/pull mechanics for my platform game. It works fine until I changed the collision of the crate. It doesn't work anymore.

My game involve character switching forms. Each form is its own sprite object.

Game File:
https://www.mediafire.com/?y64a4aveobsqpua
B
7
S
1
Posts: 13
Reputation: 401

Post » Mon Jun 20, 2016 5:41 am

May I know what kind of tutorial is that ?
I have a low connection so i cant view any video or download for now
B
13
S
5
G
4
Posts: 119
Reputation: 3,353

Post » Mon Jun 20, 2016 8:08 am

fathijack1999 wrote:May I know what kind of tutorial is that ?
I have a low connection so i cant view any video or download for now

Something like this:

System Every Tick | Overlapper Set position to Player


Overlapper is overlapping Crate | Crate Set Platform maximum speed to 30
Player Y > Crate.Y |
Mouse Right button is down (for pull) |

Player X < Crate.X | Crate simulating pressing Right
Keyboard (Right) is down |

^vice versa
B
7
S
1
Posts: 13
Reputation: 401

Post » Mon Jun 20, 2016 8:45 am

I think you should put this,, This is from my way. for me not mirror at player mean it is face to the right
-Player on collusion with Crate > Crate.X + 2
Player mirror is invert or Player go right (another condition)

if the player is from right and your character is not mirror
-Player on collusion with Crate > Crate.X - 2
Player is mirror or Player go left(another condition )

when player is mirror
here -2 and +2 just to make the crate move smothly also dont forget the crate need to be solid
B
13
S
5
G
4
Posts: 119
Reputation: 3,353

Post » Mon Jun 20, 2016 10:53 am

Update: It's fixed.
B
7
S
1
Posts: 13
Reputation: 401


Return to How do I....?

Who is online

Users browsing this forum: 25games, Artcadev, brunopalermo, MaxxMunnn, mcscooter, Soluna Software and 27 guests