Any help

Get help using Construct 2

Post » Mon Sep 07, 2015 12:50 pm

hello guys, how can i create a physics object that attaches itself to a solid platform (top) on screen touched and falls to the ground when when the screen is touched again?, i used -1500 to suspend it to the ceiling but i want it to drop when the screen is touched again.
B
4
S
1
Posts: 17
Reputation: 390

Post » Mon Sep 07, 2015 1:10 pm

Hm, I don't know the best way... but you could have a variable attached to the object. Screentaps. Add one to it each time the screen is tapped... Every tick, when screenTaps = 2, set gravity to 0... or do whatever will make it fall.
B
7
S
2
Posts: 92
Reputation: 663

Post » Mon Sep 07, 2015 2:06 pm

Thanks JeremyBenson 11, your idea gave birth to what i finally used.
B
4
S
1
Posts: 17
Reputation: 390

Post » Mon Sep 07, 2015 2:20 pm

No problem, glad it helped :)
B
7
S
2
Posts: 92
Reputation: 663


Return to How do I....?

Who is online

Users browsing this forum: bilgekaan and 8 guests