How do I climb walls like knuckles?

Get help using Construct 2

Post » Thu Jul 17, 2014 6:37 pm

Title is self explanatory.
B
10
S
4
G
1
Posts: 159
Reputation: 1,933

Post » Thu Jul 17, 2014 7:00 pm

Never played it, don't know how Knuckles climbs. Elaborate, please. :P
Bruno

I like to eat, but I'm no cook. Why liking to play games would make you a game designer?
B
16
S
4
G
1
Posts: 428
Reputation: 2,337

Post » Thu Jul 17, 2014 7:08 pm

It would be nice though to add a link to for instance a youtube film, so people who want to help don't have to search themselves or having to start up the game..

By the way, what does "like knuckles" mean?
Exactly the same as knuckles or something resembling it?
I don't know how Knuckles climbs and don't even know who Knuckles is, so can't help, sorry..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Thu Jul 17, 2014 7:32 pm

Presumably you're talking about Knuckles - the red-haired character from the Sonic the Hedgehog series?
I'm seeking Narnia. Who wants to come with me! Aslan is on the move!
B
139
S
22
G
8
Posts: 777
Reputation: 14,830

Post » Thu Jul 17, 2014 8:20 pm

Sorry if I wasn't clear enough. Knuckles from sonic 3 of course can climb walls when flown into them. I can probably figure out the flying part myself, but would like to know how to climb walls when colliding with them.
B
10
S
4
G
1
Posts: 159
Reputation: 1,933

Post » Thu Jul 17, 2014 8:27 pm

The wall climb mechanic has been covered in other threads. It basically involves switching from a platform behavior to the 8 direction behavior.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
134
S
30
G
84
Posts: 5,387
Reputation: 58,456

Post » Thu Jul 17, 2014 8:28 pm

On collision with wall - switch to 8 direction and move up - play climbing animation..?

Would still be a lot easier to give advice when actually seeing what you want and how you have your code set up at this time..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Thu Jul 17, 2014 8:31 pm

I don't have anything set up yet. Just wanted to know if anyone knew what to do so I don't have to sit there like an idiot trying to figure it out. Heh.
B
10
S
4
G
1
Posts: 159
Reputation: 1,933

Post » Thu Jul 17, 2014 8:45 pm

Well now you know, switch the characters behaviour to 8 direction.. :)
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Thu Jul 17, 2014 9:05 pm

^^ What he said.

-Disable platforming behavior, enable 8 direction behavior (only allow up+down)
-Run checks while moving to make sure you haven't reached the top or bottom of the wall
-Make an event to give knuckles velocity away from the wall when pressing jump, and switch back to platforming behavior.
B
11
S
3
G
1
Posts: 98
Reputation: 1,062


Return to How do I....?

Who is online

Users browsing this forum: Baidu [Spider], brunopalermo, jorgmaquoi, kiki4construct and 24 guests