Cannot make my char climb.

For questions about using Classic.

Post » Wed Apr 29, 2009 7:01 pm

Cannot think of how my char can grapple on platforms if falling and climb up then. This is a real pain in a... head.
B
78
S
23
G
6
Posts: 234
Reputation: 7,662

Post » Wed Apr 29, 2009 7:43 pm

Something like this?

http://dl.getdropbox.com/u/529356/ledgegrab.cap

Fall against the ledge corner while pushing towards the wall to grab it. Press Jjump to hop up onto the wall. Press Down while you're clinging to the ledge to drop straight down.

If you need comments on it I can do that, but it's pretty simple so you should be able to figure it out. Also, it's just a very basic example. It will need some polishing up, and obviously you'd have to do the appropriate sprites for it.
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Thu Apr 30, 2009 10:07 am

Hehe, thanks Deadeye! I feel a bit stupid after that! :lol: Great example! I like it! Really simple but helpful! :)
B
78
S
23
G
6
Posts: 234
Reputation: 7,662

Post » Thu Apr 30, 2009 3:29 pm

One question though... Player is not fixed while hanging. How can I fix the player when he grabs on a surface?
B
78
S
23
G
6
Posts: 234
Reputation: 7,662

Post » Thu Apr 30, 2009 3:35 pm

Thanks Deadeye, that's a really cool example! :)
B
6
S
2
G
3
Posts: 520
Reputation: 2,690

Post » Thu Apr 30, 2009 4:26 pm

Seems like we think same way, Thomas! :lol:
B
78
S
23
G
6
Posts: 234
Reputation: 7,662

Post » Thu Apr 30, 2009 5:18 pm

Hey deadeye i've done something equal to yours in my game but the problem i have is with moving platforms , how can i make catching and hanging on a vertically\horizontal moving platform ?
:)
almost there
B
6
S
2
G
5
Posts: 47
Reputation: 2,024

Post » Thu Apr 30, 2009 7:23 pm

[quote="Android-Music":yjytscb4]One question though... Player is not fixed while hanging. How can I fix the player when he grabs on a surface?[/quote:yjytscb4]

I don't know what you mean by "not fixed." Could you elaborate?

[quote="pikus":yjytscb4]Hey deadeye i've done something equal to yours in my game but the problem i have is with moving platforms , how can i make catching and hanging on a vertically\horizontal moving platform ?
:)[/quote:yjytscb4]

You could give your player a PV that holds the platform's UID. Then update the player's position manually each tick relative to the platform's position. If the platform moves two pixels, set the player's position to position + 2, etc.
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Thu Apr 30, 2009 9:11 pm

HAh that would work :) thx for the tip
almost there
B
6
S
2
G
5
Posts: 47
Reputation: 2,024

Post » Thu Apr 30, 2009 9:47 pm

Deadeye, I mean char falls a lil bit through the plat after grappling.
B
78
S
23
G
6
Posts: 234
Reputation: 7,662

Next

Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 8 guests