collision!

For questions about using Classic.

Post » Thu Mar 29, 2012 8:18 pm


I haaaaaaaaaaaaaaaaaaaaaaaaate probleeeeeeeeems!
another problem I have is this:
I just want when blue1 has touched blue2,red1 become invisible and red2 become visible.this is simple.isn't it?yes it is but the program does it just 1 millisecond!!!!!!
this is my cap file:
click on red button.
http://s1.picofile.com/file/7340889351/ask.cap.html
B
14
S
4
G
2
Posts: 91
Reputation: 2,390

Post » Thu Mar 29, 2012 8:37 pm

On collision triggers one time only, not as long as the objects overlap. Change your code to

+ blue1: blue1 overlaps blue2
-> Sprite: Make Invisible
-> Sprite2: Make Visible
+ System: Else
-> Sprite: Make Visible
-> Sprite2: Make Invisible

"is overlapping another object" results to true as long as they overlap.
Image
B
23
S
8
G
10
Posts: 1,820
Reputation: 8,242

Post » Fri Mar 30, 2012 12:05 pm

thaaaaaaaaaank you a lot!!!!!
B
14
S
4
G
2
Posts: 91
Reputation: 2,390


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 9 guests