Platform Behavior Bug

Bugs will be moved here once resolved.

Post » Sat Nov 12, 2016 6:28 pm

Message: Shaspio can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
Problem Description
____ When X is pressed the color of the background changes, disabling "platform" from all the same colored sprites. When you do it on top of one of these platforms, it still works as one, until you get off of where it was, it works as expected from then. ____

Attach a Capx
____ https://www.dropbox.com/s/2awcu0ibl8wiloj/Palette%27s%20Choice%200.0.2.capx?dl=0 ____

Description of Capx
____ Platformer game, the main focus is colors and how the player manipulates them to go through the level. Objects that have the same color as the background "disappear", and stop affecting the player until they can be seen again ____

Steps to Reproduce Bug
  • Step 1: Step on a visible platform (either red or green).
  • Step 2: Press X.

Observed Result
____ You dont fall through after the platform "disappears". ____

Expected Result
____ After you change the color's background, the objects should lose their "platform" properties. If you are standing on it, as you change color, you should fall down. ____

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

Operating System and Service Pack
____ Windows 10, 1607 x64 bits____

Construct 2 Version ID
____ 293 ____
B
5
S
1
Posts: 2
Reputation: 396

Post » Sun Nov 13, 2016 1:58 pm

Can confirm there is an issue when disabling the solid behavior while being on it (the issue being that you stay on it)

https://1drv.ms/u/s!AjkoCSebIn9Ji1Aq6dwwy51jvSAG

I have done a 1 event capx showing it if it can help focusing on the bug

Step1: move with the arrow keys, you can jump if you want with the up arrow but stay between the walls
Step2: stay on the ground, press space, all platform will turn transparent, and will lose their solid behavior, you can pass through the walls but you'll still be on the floor
Step3: jump to see you are falling through

C2 version 293, windows 10 x64, occurs on opera as well
Game design is all about decomposing the core of your game so it becomes simple instructions.
B
54
S
22
G
18
Posts: 2,123
Reputation: 17,150

Post » Sun Nov 13, 2016 4:44 pm

Aphrodite wrote:Can confirm there is an issue when disabling the solid behavior while being on it (the issue being that you stay on it)

https://1drv.ms/u/s!AjkoCSebIn9Ji1Aq6dwwy51jvSAG

I have done a 1 event capx showing it if it can help focusing on the bug

Step1: move with the arrow keys, you can jump if you want with the up arrow but stay between the walls
Step2: stay on the ground, press space, all platform will turn transparent, and will lose their solid behavior, you can pass through the walls but you'll still be on the floor
Step3: jump to see you are falling through

C2 version 293, windows 10 x64, occurs on opera as well




i know its not a normal fix and should not work like this, as i patched it, however its working on my side.

patched bug the bug is due to the fact, and i might be mistaken, but C2 i think it checks for overlapping points at offset by 1 pixel, so u suddenly disabling it, it wont change the fact in C2 "eyes" u still on the platform since detection is still present. so in order to patch it, i pushed the player 1 pixel up, and gravity platform takes the obvious action.
B
78
S
23
G
69
Posts: 1,354
Reputation: 44,027

Post » Mon Nov 14, 2016 3:39 am

Managed to solve it by disabling collisions at the same time as the platform disappears!
B
5
S
1
Posts: 2
Reputation: 396

Post » Wed Dec 21, 2016 12:56 pm

Thanks @Aphrodite for the minimal repro. Should be fixed in the next build.
Scirra Founder
B
403
S
238
G
89
Posts: 24,653
Reputation: 196,143


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 0 guests