I need some help with object collision.

Get help using Construct 2

Post » Wed Mar 18, 2015 10:24 am

I just started making a Legend of Zelda clone. Here's the event sheet: Image

The Zelda sprite is placeholder, ripped from a rom hack.

I'm having trouble with object collision. When I walk into a wall, I start sliding sideways along it instead of just stopping. Is there a way I can make myself just stop when I hit a wall?

h t t p s : //vine.co/v/OVF9PK7FHI0

EDIT: Okay I found a solution on my own! Thanks anyway folks! Image
Last edited by twoshoelaces on Wed Mar 18, 2015 2:48 pm, edited 7 times in total.
B
7
S
1
Posts: 15
Reputation: 355

Post » Wed Mar 18, 2015 11:11 am

Try this demo
You do not have the required permissions to view the files attached to this post.
B
238
S
35
G
14
Posts: 1,916
Reputation: 39,078

Post » Wed Mar 18, 2015 11:20 am

Thanks, but this doesn't seem like what I'm looking for.
B
7
S
1
Posts: 15
Reputation: 355

Post » Wed Mar 18, 2015 11:28 am

Try this...
might not be the best or most elegant solution but might just give you better results,,

Image


set max speed back to what ever value you were using..
B
17
S
4
Posts: 19
Reputation: 1,826

Post » Wed Mar 18, 2015 11:35 am

Nope, it's still the same :/
B
7
S
1
Posts: 15
Reputation: 355

Post » Wed Mar 18, 2015 12:21 pm

made a vine

h t t p s : //vine.co/v/OVF9PK7FHI0
B
7
S
1
Posts: 15
Reputation: 355

Post » Wed Mar 18, 2015 1:09 pm

twoshoelaces wrote:I just started making a Legend of Zelda clone. Here's the event sheet: Image

The Zelda sprite is placeholder, ripped from a rom hack.

I'm having trouble with object collision. When I walk into a wall, I start sliding sideways along it instead of just stopping. Is there a way I can make myself just stop when I hit a wall?

h t t p s : //vine.co/v/OVF9PK7FHI0


very easy to fix, I suggest you to read the manual and start to read some post from this forum:

beginner-s-questions_f178

anyway, I suggest you to post a capx and use different events logic, same for @hyenaman
B
21
S
9
Posts: 298
Reputation: 2,967

Post » Wed Mar 18, 2015 1:43 pm

Message: twoshoelaces is not yet permitted to post plain text URLS (300 rep required). 1 URLS removed. Why?
very easy to fix, I suggest you to read the manual and start to read some post from this forum:



anyway, I suggest you to post a capx and use different events logic, same for @hyenaman



This does not help me in any way.
B
7
S
1
Posts: 15
Reputation: 355

Post » Wed Mar 18, 2015 2:57 pm

you mean like this twoshoelaces
You do not have the required permissions to view the files attached to this post.
B
238
S
35
G
14
Posts: 1,916
Reputation: 39,078

Post » Wed Mar 18, 2015 4:43 pm

Well sort of! I found a solution (included in an edit to the top post) where I made it so that my character doesn't keep walking after they've stopped moving.
B
7
S
1
Posts: 15
Reputation: 355


Return to How do I....?

Who is online

Users browsing this forum: inbong, Yahoo [Bot] and 12 guests