PLATFORMER: Edge grab

Get help using Construct 2

Post » Sun Oct 30, 2011 8:01 am

This is a simple example where I used the "Pin" behavour to give the player an effect of grabbing to something.
Sudgestions and examples with other ideas for this topic are welcome!




Example contains:
-Basic description in eventsheet
-Grabing on objects with pin behavour
-Releasing the grabed object with "jump" button that makes a jump effect and "down" button to fall off the grabed object

File: http://dl.dropbox.com/u/5214903/GM/EdgeGrab.zip


-------------------------------------------------------------

EDIT: i made one small additional change in event3 to prevent the player droop rapidly
File: http://dl.dropbox.com/u/5214903/GM/EdgeGrabFix.zip

-------------------------------------------------------------

EXAMPLE2: In this example are basicaly familiar events and actions used to perform attach to the wall and jump away in oposite direction.


Example contains:
-Grabing on side of wall
-Releasing the wall with jump to oposite side of the wall

File: http://dl.dropbox.com/u/5214903/GM/WallAttachJumpOff.zip

------------------------------------------------------------------
EXAMPLE3
heres a lil more advanced with animation

File: http://dl.dropbox.com/u/5214903/GM/advclimb.capx





Miu32012-01-07 10:08:29
B
43
S
9
G
5
Posts: 231
Reputation: 7,291

Post » Sun Oct 30, 2011 8:33 am

Ingenious. I've been looking for a good way to do this, this is great as it snaps the player to the edge... all that's missing is a smooth transition from freefall to the snapped location.
B
28
S
7
G
7
Posts: 102
Reputation: 6,483

Post » Sun Oct 30, 2011 1:44 pm

Thanks, I was figuring out how to make the "grabbing edge" system. This is the best way, because if you make angled walls, your Hero don't necessary will grab the edge that way.
ImageImageImageImageImageImage
B
93
S
19
G
12
Posts: 1,192
Reputation: 18,301

Post » Sun Oct 30, 2011 4:45 pm

[QUOTE=plauk] Ingenious. I've been looking for a good way to do this, this is great as it snaps the player to the edge... all that's missing is a smooth transition from freefall to the snapped location.[/QUOTE]



Hm if I understand right, you can try add action "system wayt 0.1" in the first event as first action.
It is a really small detail but it gives the player time to move closer to the "Overlaper" before it snaps.
Sofar i didnt came up with other solution to this yet ^^;
B
43
S
9
G
5
Posts: 231
Reputation: 7,291

Post » Mon Oct 31, 2011 7:59 am

THANKS!! That's really great!
B
17
S
4
G
4
Posts: 94
Reputation: 3,058

Post » Mon Oct 31, 2011 2:36 pm

[QUOTE=Miu3]Hm if I understand right, you can try add action "system wayt 0.1" in the first event as first action.[/QUOTE]

Ideally I'd want it to pull the player toward the snapping location, essentially changing the trajectory mid flight. I've tried tinkering to no avail.
B
28
S
7
G
7
Posts: 102
Reputation: 6,483

Post » Tue Nov 01, 2011 11:23 am

I still got no real proper smooth pulling to snaping location but i though this could be also a nice example, inspired by an example for construct classic

http://dl.dropbox.com/u/5214903/GM/Advancedgrab.zip

Note: no description made for this one....yet
B
43
S
9
G
5
Posts: 231
Reputation: 7,291

Post » Sun Jun 24, 2012 2:54 pm

Grrr, China and blocking sites, would love to see how you did the wall jumping, but can't access dropbox. I have your double jumping working (Nimtrix put up an image for me), and altered that for wall jumping (if wall to left/right), but don't know how to stop player jumping up one wall constantly or to stick for a few seconds. Any way to get your file other than dropbox?
B
6
S
1
Posts: 26
Reputation: 927

Post » Sun Jun 24, 2012 3:22 pm

@booth
Have you tried editing your HOSTS file?

http://eastasiastudent.net/china/dropbox-no-vpn/
B
27
S
8
G
8
Posts: 903
Reputation: 8,452

Post » Sun Jun 24, 2012 4:20 pm

Hiya Nimtrix,

Just gave it a shot and no joy unfortunately, maybe they have cottoned on!

Only in China for a few more weeks, but it's annoying as hell
B
6
S
1
Posts: 26
Reputation: 927

Next

Return to How do I....?

Who is online

Users browsing this forum: Bad Wolf, davides, NRABrazil, Vallar, WhosWho and 26 guests