Platform Movement Change

New releases and general discussions.

Post » Fri Oct 10, 2008 1:45 am

I know this has been mentioned as a possibility before(just recently, actually), but I just wanted to make sure it doesn't fall off the radar. It would be nice if the platform objects pushed out in the direction it came from rather than straight up. It would greatly help for when an object with the physics movement(that's also solid) intersects it out of the blue and just pushes it straight to the top. Any chance this could be changed soon?
Moderator
B
98
S
37
G
19
Posts: 1,584
Reputation: 17,817

Post » Fri Oct 10, 2008 2:05 am

I agree.
This would be specially helpful with moving platforms.
B
2
S
1
G
4
Posts: 92
Reputation: 1,384

Post » Fri Oct 10, 2008 2:32 am

agreed
B
2
S
2
G
4
Posts: 254
Reputation: 1,958

Post » Fri Oct 10, 2008 2:32 am

/sign
B
2
S
2
G
4
Posts: 239
Reputation: 1,928

Post » Fri Oct 10, 2008 3:32 am

/sign

this would allow me to express object "knockback" (like a character getting knocked slightely backwards when hit by an object without using sloppy physics...)
B
2
G
4
Posts: 17
Reputation: 1,084

Post » Fri Oct 10, 2008 3:50 am

[quote="acegi":4ndihg48]this would allow me to express object "knockback" (like a character getting knocked slightely backwards when hit by an object without using sloppy physics...)[/quote:4ndihg48]

That would require some new conditions to be added to the platform behavior. Something like "Object is pushed away" with a dropdown for "From left," "From top," etc.

I think if this method of pushing platform objects away from solids rather than up through solids is implemented, I think "Object is trapped" -> "Horiz," "Vert" would be a useful condition to have. Like it's intersecting on both the left and right and can't be pushed either way. You could make squishing traps and stuff that way.
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Sat Oct 18, 2008 12:56 pm

orr you could make a custom movement

but yea i agree this should exist
B
52
S
7
G
6
Posts: 1,945
Reputation: 7,610

Post » Sat Oct 18, 2008 7:36 pm

[quote="deadeye":2pfqvb3p][quote="acegi":2pfqvb3p]this would allow me to express object "knockback" (like a character getting knocked slightely backwards when hit by an object without using sloppy physics...)[/quote:2pfqvb3p]

That would require some new conditions to be added to the platform behavior. Something like "Object is pushed away" with a dropdown for "From left," "From top," etc.

I think if this method of pushing platform objects away from solids rather than up through solids is implemented, I think "Object is trapped" -> "Horiz," "Vert" would be a useful condition to have. Like it's intersecting on both the left and right and can't be pushed either way. You could make squishing traps and stuff that way.[/quote:2pfqvb3p]
How about "Acts as physics object" with a variable that determines the force it can exert and can be exerted on it before it gets pushed away? Also, "Destroy if clips object" option for squishing.
B
1
G
4
Posts: 2
Reputation: 1,029

Post » Thu Oct 23, 2008 8:54 pm

my game allows the player to quickly dash, and i do that by having the player activate a bullet behavior. i had found a workaround for this collision issue by stopping the object before deactivating bullet behavior so that it would just fall from where it was, rather than teleporting to the top of the object. but i recently started converting my events to timeDelta/time dependent, and the less exact collision detections has rendered my workaround a lot less useful. players can now, once again, dash into a wall and have a chance of teleporting to the top of that object. this is game breaking.
B
2
S
2
G
4
Posts: 254
Reputation: 1,958

Post » Fri Oct 24, 2008 4:16 am

A better way to do it would be to deactivate the controls of the platform movement, and set a variable of some sort (or if animation dash is playing), set x velocity to (speed). That way the platform movement doesn't reactivate partway through a solid, teleporting it to the top.
Moderator
B
88
S
32
G
33
Posts: 3,005
Reputation: 27,432

Next

Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 3 guests