Platform behaviour bug

Bugs will be moved here once resolved.

Post » Sun Aug 23, 2015 4:16 am

Problem Description
My character with platform behaviour clips through the ground. Hitboxes are rectangles without inclinations.

Image

Attach a Capx
https://dl.dropboxusercontent.com/u/20062568/bug.capx

Description of Capx
I have a layer with several platforms and a layer with a restart button if the player falls. Press arrows to control.

Steps to Reproduce Bug
    - Get on a platform.
    - Walk slowly to the left, press and release the left arrow very quickly.
    - When he gets to the ledge, if you are walking slowly left, he will fall form the top part of the platform to be "grabbed" inmediately again, and be able to walk through the platform if you press right.

Observed Result
Player doesn't fall if he is walking slowly to the left.

Expected Result
Player to fall when he is no longer on the platform

Affected Browsers
  • Chrome: (YES)
  • FireFox: (YES)
  • Internet Explorer: (YES)

Operating System and Service Pack
Windows 7, service pack 1

Construct 2 Version ID
V. 212.2
B
25
S
8
Posts: 84
Reputation: 1,697

Post » Sun Aug 23, 2015 8:11 am

@PapitoMyKing

Not a bug.

Your orign points for both your player and platform are set to the bottom.

If you change the origin of the platform to top, that will help.

Also the collision polygon for 'player' is wrong, which means that as it approaches the edge, there is nothing to collide with.

Why not just use bounding box for all of your collisions? For something as simple as this, that's all you really need.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
134
S
30
G
84
Posts: 5,387
Reputation: 58,456

Post » Mon Aug 24, 2015 2:14 am

zenox98 wrote:@PapitoMyKing

Not a bug.

Your orign points for both your player and platform are set to the bottom.

If you change the origin of the platform to top, that will help.

Also the collision polygon for 'player' is wrong, which means that as it approaches the edge, there is nothing to collide with.

Why not just use bounding box for all of your collisions? For something as simple as this, that's all you really need.


Thank you very much, I'll apply those fixes.
B
25
S
8
Posts: 84
Reputation: 1,697

Post » Tue Sep 08, 2015 3:17 pm

Closing as not a bug.
Scirra Founder
B
395
S
232
G
88
Posts: 24,371
Reputation: 193,772


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 2 guests