4 way PUSH/PULL OBJECT help

Get help using Construct 2

Post » Wed May 01, 2013 1:51 am

Hey guys, hope you all are well. I have a bit of an issue with this mechanic I'm trying to create. I've crawled through the forum in search of a four way push/pull object, but only managed to find platformer push and pull so I created my own with the references.

It works for the most part, except I can't figure out how to create it so that when you're in contact with the left/right face of a box, you can only push or pull it horizontally as opposed to being multi-dimensional. I'm terrible at explaining but essentially what I need help with is keeping vertical push/pull restrained to the north and south of a box and horizontal push/pull to the east and west of a box.

Here's the capx: https://www.dropbox.com/s/mzxcjhjnswy3zae/pushpull4way.capx

I look forward to your help! Thanks!
B
4
Posts: 11
Reputation: 274

Post » Wed May 01, 2013 3:42 am

I've just spent the last week on this issue myself, on and off. I'll take a look at yours when I get home and make it so it works.
Using R238 for all examples
B
60
S
17
G
6
Posts: 363
Reputation: 9,125

Post » Wed May 01, 2013 11:36 am

Hey, thanks emoaeden, I look forward to what you come up with. Also, I realize that it's not efficiently coded. Still a lot of work needed. That begs the issue; it seems that Construct 2 is better suited for a platformer as opposed to top-down. Why?
B
4
Posts: 11
Reputation: 274

Post » Thu May 02, 2013 2:01 am

https://dl.dropboxusercontent.com/u/108799982/Capx%20Demos/SimpleBox.capx Give that a shot. You can drag multiple boxes at the same time, but I'm sure you can fix that,as I've got to run to uni. If you can't get it, you'll have to wait until tonight for me to fix it
Using R238 for all examples
B
60
S
17
G
6
Posts: 363
Reputation: 9,125

Post » Thu May 02, 2013 6:15 am

Hey thanks buddy, I can't access it since apparently it's saved in a version higher 127, which I find bizarre. I'll just patiently wait.

I also take it you're in the UK or AUS/NZ?
B
4
Posts: 11
Reputation: 274

Post » Thu May 02, 2013 11:56 am

I'm in Australia, why do you ask ? Is it 'cause we use Uni instead of College ?
Using R238 for all examples
B
60
S
17
G
6
Posts: 363
Reputation: 9,125

Post » Thu May 02, 2013 2:45 pm

Yep! My Oceania friends refer to college as Uni. Also, time difference is noticable.
B
4
Posts: 11
Reputation: 274

Post » Sun May 05, 2013 2:32 pm

Okay, so I was able to download and access it via Beta and used your piece as a reference. It works for the most part except for one final snag.

On the right side push or pull, it won't stick but instead up and down works for some reason. I have a feeling a condition is off somewhere.

In anycase here's the CAPX:
smynty2013-05-13 12:57:00
B
4
Posts: 11
Reputation: 274


Return to How do I....?

Who is online

Users browsing this forum: Ethan, makkancs, Marxally, pierre244 and 19 guests