[R200] Platform behaviour; Stuck on solids.

Bugs will be moved here once resolved.

Post » Fri Apr 24, 2015 12:38 am

Problem Description
In some circumstances of Flipping and Mirroring, instances that use platform behaviour can get stuck on corners of solids that are not positioned on straight angles.

Attach a Capx
https://drive.google.com/file/d/0B0jUjWN7LcQhQl9icUdEY1hycUE/view?usp=sharing

Description of Capx
Capx contains only 6 events responsible for automatic movement using platform behaviour, as well as stage with several solids.

Steps to Reproduce Bug
Create copy of my events, respectively one by one.

Observed Result
In my demo they do get stuck when moving to the left.

Expected Result
Instances not getting stuck.

Affected Browsers
Tested only in NW.js

Operating System and Service Pack
Specs: i5 2500, 16gb of ram, gtx 770, win 7, Focusrite Scarlett 8i6, Mackie mr8mk2, Alesis 320,

Construct 2 Version ID
R200
My professional Royalty Free Music at Scirra Assets Store
--------------------------------
Specs: i5 2500, 16gb of ram, gtx 770, win 7, Focusrite Scarlett 8i6, Mackie mr8mk2, Alesis 320, browsing the net on chrome.
B
93
S
30
G
22
Posts: 1,987
Reputation: 20,203

Post » Fri Apr 24, 2015 8:54 am

Hi megatronx. If you zoom in to a ridiculous amount you will see that the corners (where your rotated black tiled background objects meet the flat tiled background object ) are not perfectly aligned, causing jagged edges that are "catching" the bottom corner of your platformer objects.

I wish there was a setting for the platformer behavior to set how sensitive/forgiving the behavior was about such incredibly tiny details/imperfections in the terrain.

To me, this is at such a high resolution it really should be considered a bug....

However, the solution is to not use tiled objects like this for angles... you should design tiles (using the tilemap support or Sprites) that, when using snap to grid are guaranteed to line up perfectly and not cause such jagged imperfections in the terrain.

Cheers,
Mike
B
49
S
9
G
4
Posts: 426
Reputation: 7,071

Post » Wed May 13, 2015 4:33 pm

Closing since as @Brashmonkey says this appears to be an issue with the level design.

Please also always test only the latest version of C2, and as many platforms as possible, not just one.
Scirra Founder
B
402
S
238
G
89
Posts: 24,613
Reputation: 195,993


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 1 guest