Collision trigger mistake?

Discussion and feedback on Construct 2

Post » Thu Jul 09, 2015 10:29 am

Message: rodimus111 can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
Someone can explain why the action event seem to be executed two times?
https://www.sendspace.com/file/4yyqjn
Last edited by rodimus111 on Fri Jul 10, 2015 9:57 am, edited 1 time in total.
B
10
S
1
Posts: 33
Reputation: 625

Post » Thu Jul 09, 2015 10:34 am

Your URL doesn't work.
B
6
Posts: 38
Reputation: 338

Post » Fri Jul 10, 2015 9:57 am

Message: rodimus111 can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
sory. here is it
https://www.sendspace.com/file/4yyqjn
B
10
S
1
Posts: 33
Reputation: 625

Post » Fri Jul 10, 2015 11:07 am

I tried your capx file and it works fine....
B
6
Posts: 38
Reputation: 338

Post » Sat Jul 11, 2015 1:04 pm

On tick count 10, event 1 sets the green sprite y to 85 so it's overlapping the bottom purple sprite.
Then event 2 checks for collisions between each pair of green and purple sprites. First it checks if the green sprite is overlapping the bottom purple sprite (which it is) so it sets y to 45 and appends the UID. Then it checks if the green sprite is overlapping the top sprite (which it now is) so it sets y to 45 and appends the UID again.
B
55
S
29
G
19
Posts: 1,520
Reputation: 25,650


Return to Construct 2 General

Who is online

Users browsing this forum: Lancifer, mihirolover, whitephon and 23 guests