Moving objects at slope's angle (bullet)

Get help using Construct 2

Post » Sat Feb 14, 2015 7:49 pm

Hello all,

I've been busy with C2 for a week now but this is the first time I'm asking a question. So far the support out there has been great but I couldn't find this one thing.

I was wondering how I can make an object move along solid objects with the bullet behavior applied.

I already pinned the image to a rectangle object. Now I can get it to move alongside the solid objects but it doesn't rotate its angle alongside the solid objects' angle so they match up.

Basically the player can spawn objects at command which will encounter the enemy objects at a point so I want the objects to be non-player controlled.

I found a tutorial but when I tested his .capx it didn't work 100%. It has still had bugs in them where the moving object didn't align with the solid objects.

Thanks in advance for any help.
B
12
S
4
G
1
Posts: 74
Reputation: 1,404

Post » Sat Feb 14, 2015 8:36 pm

What tutorial did you use?
B
11
S
4
Posts: 152
Reputation: 1,236

Post » Sat Feb 14, 2015 8:49 pm

Hello,

I tried this one: The .capx is in the comments. I noticed when you jumped on to the sloped area, and go back it gets buggy from there. I can't post a URL yet unfortunately.
Last edited by Rudi55 on Sat Feb 14, 2015 8:59 pm, edited 2 times in total.
B
12
S
4
G
1
Posts: 74
Reputation: 1,404

Post » Sat Feb 14, 2015 8:52 pm

Er, sorry- the forum is designed to trim URLs from new users to prevent spammers. Can you just give the name and author?
B
11
S
4
Posts: 152
Reputation: 1,236

Post » Sat Feb 14, 2015 8:59 pm

"Make a character walk on slopes and adjust angles appropriately" by Wazza
B
12
S
4
G
1
Posts: 74
Reputation: 1,404

Post » Sun Feb 15, 2015 6:12 am

Okay. So I have a .capx where objects with the bullet behavior, fired by a platformer player, follow the path of the ground, but the player does not.
You do not have the required permissions to view the files attached to this post.
B
11
S
4
Posts: 152
Reputation: 1,236

Post » Sun Feb 15, 2015 10:50 am

It has a few problems- majorly that it handles concave but not convex ground.
B
11
S
4
Posts: 152
Reputation: 1,236

Post » Tue Feb 17, 2015 3:38 pm

Hello,

I can't open the .capx it says I don't have that version. I'm using the latest stable version.
B
12
S
4
G
1
Posts: 74
Reputation: 1,404

Post » Tue Feb 17, 2015 11:36 pm

Are you familiar with the beta versions?
B
11
S
4
Posts: 152
Reputation: 1,236


Return to How do I....?

Who is online

Users browsing this forum: ChesVCF, Colludium, radhaw, voitii and 22 guests