Overlap issues

Get help using Construct 2

Post » Thu Jul 06, 2017 8:03 am

Image

This is the event that isn't working right

This is the "BlastDrone". The player is just a rectangular block.
It only works if the player is inside the blast drone's gray area, but when the player is overlapped by the blastdrone's red beam, nothing happens.

Image
B
4
Posts: 15
Reputation: 228

Post » Thu Jul 06, 2017 8:15 am

Check if the collision box is around the red beam. Is the BlastDrone just the grey bit, is it all one object?
B
47
S
17
G
81
Posts: 2,223
Reputation: 48,093

Post » Thu Jul 06, 2017 8:25 am

It's all one object. I saw the hitbox and it covered the red beam too.
B
4
Posts: 15
Reputation: 228

Post » Thu Jul 06, 2017 8:45 am

*shrug. Seems fine, you could share the capx I guess.
B
47
S
17
G
81
Posts: 2,223
Reputation: 48,093

Post » Thu Jul 06, 2017 5:19 pm

Hex27 wrote:It's all one object. I saw the hitbox and it covered the red beam too.


In all animation frames ?
B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950

Post » Thu Jul 06, 2017 11:24 pm

https://www.dropbox.com/s/gojwyz7vnc1vv ... .capx?dl=0
Yes, the whole thing is the same size in all frames
B
4
Posts: 15
Reputation: 228

Post » Thu Jul 06, 2017 11:28 pm

The problem is under "Stage-2-Boss-Events" and Stage-2-10
B
4
Posts: 15
Reputation: 228

Post » Thu Jul 06, 2017 11:41 pm

Ah my first idea was right, collision is only over the head, not down over the beam. You'll have to stretch the collision box all the way down to where damage should be taken.
https://www.dropbox.com/s/e456jlklao3io ... e.jpg?dl=0
B
47
S
17
G
81
Posts: 2,223
Reputation: 48,093

Post » Thu Jul 06, 2017 11:47 pm

You never checked the collision polygon.

Watch this video from the position that i linked.
https://youtu.be/JjarEli3o7Y?t=520
B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950

Post » Fri Jul 07, 2017 4:21 am

Alright, thanks. Sorry for the trouble. I took debug mode's select box as the polygon.
B
4
Posts: 15
Reputation: 228

Next

Return to How do I....?

Who is online

Users browsing this forum: brunopalermo and 7 guests