Sine behavior problem

Get help using Construct 2

Post » Sun Aug 12, 2012 12:51 am

I'm trying to use the vertical movement on a jump_through platform I made.
But whether it's very buggy or I'm doing something terribly wrong here.

While the platform is moving downward the player flickers and falls intermittently.
and while it's going up and you fall on it, you go through it.

Is there something that could be done to solve this issue?
B
42
S
11
G
5
Posts: 446
Reputation: 6,417

Post » Sun Aug 12, 2012 12:57 am

Are you perhaps using physics in any of those objects?

Also check the collision mask on both objects and try setting it to a box.
B
63
S
23
G
17
Posts: 254
Reputation: 14,342

Post » Sun Aug 12, 2012 8:34 am

It's just a regular no physics game, and the collisions boxes are all set to bounding box.
I even made a separate file to check if I had messes something up in the original file I'm working on. But it seems that the problem is in fact not my fault (I think)...

I also added some debug text to demonstrate the problem. I also tried all the wave types, and they all have the same issue. This only happens with the vertical movement.

https://dl.dropbox.com/u/20613220/Test_VerticalSine.capx

1- While the platform is moving downward the player flickers and falls intermittently (always)
2- While it's going up and you fall on it, you can go through it (9 of 10 times)
B
42
S
11
G
5
Posts: 446
Reputation: 6,417

Post » Mon Aug 13, 2012 2:25 am

Let's see if Ashley can answer tomorrow. In the meanwhile I guess you could try doing a moving platform with just events and see if the same problems are still happening. An easy way would be to create 2 platforms with the Wrap behaviour, one that goes always up and one that goes always down.
B
63
S
23
G
17
Posts: 254
Reputation: 14,342

Post » Mon Aug 13, 2012 2:47 am

No need, I found a solution on the forums and fixed my program with it =)

Here's the capx

https://dl.dropbox.com/u/20613220/sine%20fix.capx


However, I'm sure the Vertical Sine movement is not working as intended. The solution to make it work is not "intuitive" at all.
B
42
S
11
G
5
Posts: 446
Reputation: 6,417


Return to How do I....?

Who is online

Users browsing this forum: Nifl and 26 guests