How do I a dropped object fall linearly without C2 behavior?

Get help using Construct 2

Post » Mon May 25, 2015 11:09 pm

I'm newbie in C2 and want to know how to make an object with dragdrop behavior fall linearly after dropped (by touch). Currently I associated platform behavior "fall through", but that way he makes a curvilinear motion before falling.

Thank you in advance the attention and collaboration of all.
B
38
S
9
G
3
Posts: 257
Reputation: 4,316

Post » Tue May 26, 2015 12:41 am

On way to do this:
Add instance variable to the object (Fall) and make the value 0

Add events:
Object on DragDrop drop ---- object set Fall variable to 1

Object Fall variable = 1 ----- object set Y to Self.Y+3
Image
B
60
S
10
G
10
Posts: 1,013
Reputation: 9,155

Post » Tue May 26, 2015 10:19 am

A0Nasser wrote:On way to do this:
Add instance variable to the object (Fall) and make the value 0

Add events:
Object on DragDrop drop ---- object set Fall variable to 1

Object Fall variable = 1 ----- object set Y to Self.Y+3


Thanks for the help, @A0Nasser!

I tried it before, but it did not work the way I imagined. :|
B
38
S
9
G
3
Posts: 257
Reputation: 4,316


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 8 guests