Gravity Plugin

New releases and general discussions.

Post » Tue Apr 06, 2010 1:00 am

This would actually be very cool. A gravity behavior that has the same controls as the gravity in the platform behavior, but something that could be applied to any object with any behavior. So you want to have a bullet that's gravity-based? Throw a bullet behavior on your object and add a Gravity Behavior on top of it.

Custom Controls and Gravity? No problem.

Right now, I don't quite see how you'd get those things without a separate gravity behavior.
B
6
S
2
G
3
Posts: 520
Reputation: 2,690

Post » Tue Apr 06, 2010 1:15 am

it exists, its called custom movement, just give some arbitrary vertical accel and voila. u can specify anything.
B
52
S
7
G
6
Posts: 1,945
Reputation: 7,610

Post » Tue Apr 06, 2010 4:40 am

Yeah that works, but its tricky when you use friction. Might be nice if the Custom Movement behavior had a gravity setting that would disregard it.
Image Image
B
161
S
48
G
90
Posts: 7,347
Reputation: 66,749

Post » Tue Apr 06, 2010 6:05 am

What I ended up doing was using platform movement on enemies while deactivating their input at the start of the layout and driving them through events. That way I still have access to all the built in gravity stuff and still have control over them.
B
6
S
2
G
3
Posts: 520
Reputation: 2,690


Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 2 guests