How do I - Collision with layout edge

Get help using Construct 2

Post » Thu Nov 12, 2015 2:15 pm

Hi guys! :)

Do you know if it is possible to set up a object so it collides with the edge of the layout instead of a 'solid wall sprite'? If yes could you please help me out?

Thanks for your attention! :mrgreen:
B
7
S
1
Posts: 16
Reputation: 464

Post » Thu Nov 12, 2015 2:41 pm

Would using the bound to layout behaviour work for you?
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 Nov 12, 2015 2:51 pm

I tried that but i need objects to bounce as they collide :( ... A solution to my problem might be around giving the bound to layout behavior though! Any ideas? :s
B
7
S
1
Posts: 16
Reputation: 464

Post » Thu Nov 12, 2015 2:58 pm

What is the problem with creating objects at the edges of your layout?
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 Nov 12, 2015 3:13 pm

I just want to know if it is possible to do otherwise :)
B
7
S
1
Posts: 16
Reputation: 464

Post » Thu Nov 12, 2015 3:18 pm

I guess the problem is, that if you want to bounce of solids, there should be solids..

You could try to create events to detect the position of your sprite and change the angle of it based on the current angle of movement..
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 Nov 12, 2015 3:29 pm

Yeah i though in that aswell, but probably setting a solid wall would be 'cleaner' than setting up all that. I was looking for a process that would run faster than setting up a wal spirte and set collision, etc... :)
B
7
S
1
Posts: 16
Reputation: 464


Return to How do I....?

Who is online

Users browsing this forum: rayolf and 19 guests