(SOLVED) How do I destroy objects?

Get help using Construct 2

Post » Sun Nov 15, 2015 7:08 pm

I was only trying to explain that your event is trying to destroy a platform that is overlapped by the player when the player is moved 800px down..

What you would like to check is if your player is overlapping at a much smaller offset in the y-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 » Sun Nov 15, 2015 7:39 pm

i tried to give a smaller offset...but i ended with nothing better
B
37
S
15
G
7
Posts: 1,681
Reputation: 9,614

Post » Sun Nov 15, 2015 7:57 pm

Really?
For me it works perfectly with an offset of 5..
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 » Sun Nov 15, 2015 8:06 pm

OH lol 5....... i tried others bigger numbers XD it works, thanks again LittleStain :D
B
37
S
15
G
7
Posts: 1,681
Reputation: 9,614

Post » Sun Nov 15, 2015 8:14 pm

imothep85 wrote:OH lol 5....... i tried others bigger numbers XD it works, thanks again LittleStain :D


Offset virtually moves your sprite and tests if it overlaps..
Moving it 800 pixels down as you originally did is ludicrous..
You wanted to see if it overlapped something directly under it, 1 px could have been enough..
5 is already overkill, but still works..
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 » Sun Nov 15, 2015 8:39 pm

yeah :D 1 px is better :D thanks again :D
B
37
S
15
G
7
Posts: 1,681
Reputation: 9,614

Previous

Return to How do I....?

Who is online

Users browsing this forum: MassimoF, Microbex and 29 guests