Platform Behavior Bug

Bugs will be moved here once resolved.

Post » Sat Aug 10, 2013 1:50 am

Link to .capx file (required!):
https://dl.dropboxusercontent.com/u/105711543/SolidsBug.capx

Steps to reproduce:
Wait 2 seconds.


Observed result:
Player does not fall through platform when floor's solid attribute is disabled. Instead it floats & thinks it's falling when it isn't.


Expected result:
Player should fall through the platform as it did before r140

Construct 2 version:
r140
    MadFactory2013-08-10 01:51:50
Image
B
238
S
28
G
13
Posts: 1,787
Reputation: 18,485

Post » Sat Aug 10, 2013 4:04 am

I believe the collision isn't "checked" again.

A workaround can be to set the Sprite.Y to self.Y -1, which will be hardly visible, and make your character move through the platform as intended.

I believe it is due to some fix that was brought to the platform/jumpthru behaviors, reported in last version and fixed in r140.

At some point, you require such workarounds as @Ashley already mentioned the platform behavior was becoming a very complex one.

Should help you going until Ash comes back from his time off.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
276
S
103
G
84
Posts: 7,292
Reputation: 83,106

Post » Wed Aug 14, 2013 5:20 pm

Closing as won't fix: the Platform behavior does not keep re-checking the object it's standing on, since it is generally inefficient to do so. However in this case you do need it to re-check the position. The workaround is simple: if the player is on the object you're disabling, "nudge" them and they fall down (set the Y to Self.Y - 1 or similar and it will check the collisions again).
Scirra Founder
B
384
S
227
G
86
Posts: 24,144
Reputation: 190,816


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 1 guest