Jump sticks to ceiling?

For questions about using Classic.

Post » Sun Mar 21, 2010 7:34 pm

I'm having a problem with platform movement when I jump and hit a low ceiling. The sprite seems to stick to the ceiling though I can move left and right. Is there a checkbox or something that I'm missing? Example cap (v99.84): [url:29bwekqu]http://www.louisferina.com/games/jump_test.cap[/url:29bwekqu]. Ill report this as a bug if there's no solution.

Thanks!
B
77
S
49
G
25
Posts: 346
Reputation: 17,409

Post » Mon Mar 22, 2010 10:12 am

same here: cap was fully working with 99.8

with 99.82 the ceiling behavior started for me, 99.84 same ceiling problem.
another thing - in 99.84 the jumpheight doesnt seem to be stable(fluctuating) with inbuilt platform movement with the same cap which was working in 99.8.

on a sidenote: i tried some testgames which i made in older construct versions and often got
more fps when compiled with older versions.
is it safe to say that the program gets most fps when created and compiled with the exact same version or is construct somehow getting slower with newer versions ?!?
i ask that because i have experienced several gameengines that got slower with new versions and enhancements sometimes to the point i prefered to keep older versions to work with (100fps loss because "unneeded" fx as an example or "gimmick")

big thanks for:
[FIX] Crash drawing Sprites on non-SSE2 processors (R0J0hound)
B
4
S
1
G
4
Posts: 36
Reputation: 1,649

Post » Mon Mar 22, 2010 10:47 am

[quote="UberLou":2r13km17]I'm having a problem with platform movement when I jump and hit a low ceiling. The sprite seems to stick to the ceiling though I can move left and right. Is there a checkbox or something that I'm missing? Example cap (v99.84): http://www.louisferina.com/games/jump_test.cap. Ill report this as a bug if there's no solution. [/quote:2r13km17]

I tested this in 0.99.7 (which is still my favorite unstable version) where it still works fine. In 0.99.82 and 83 however (don't have 84 installed) it sticks to the ceiling like you described. There are numerous platform behavior fixes that are already done and may very well be in the next release. So hopefully it'll be fixed soon.

Meanwhile you can use a "Ceiling just above" condition and set the vertical speed to a higher value like 60. That should prevent the player from sticking at least.
B
21
S
6
G
10
Posts: 1,024
Reputation: 7,445

Post » Tue Mar 23, 2010 12:59 am

Ok thanks for checking that out guys. Ill post it to the tracker.

makedit: I haven't noticed the jump height changing on flat terrain, but I just saw that the jump height changes when i run and jump off a slope. If I stand still it seems to be consistent.
Also, I haven't noticed any slowdown across different Construct versions and my game has gone through several of them.

PixelRebirth: Thanks for that tip about the "Ceiling just above" condition. I'll try that out for now.
B
77
S
49
G
25
Posts: 346
Reputation: 17,409

Post » Tue Mar 23, 2010 1:07 am

On further investigation this seems to happen when the platform behavior controlled sprite and the solid object it collides with are BOTH set to bounding box collision. If one of them is set to per pixel, it will work.

In your example Uberlou youre using a tiled background which would be automatically bounding box collision. Try setting the player hitbox to per pixel collision and it'll work again... heh. Or just use the workaround. :wink:
B
21
S
6
G
10
Posts: 1,024
Reputation: 7,445

Post » Wed Mar 24, 2010 3:07 am

Here you go. I added no stick spray. LOL Actually I used a normal sprite instead of the tiled background.
Construct v.099.84
http://www.box.net/shared/oa0zzna7jm


Also noticed that you do not need solid on your Jump Guy


Oops PixelRebirth already noticed the tiled background.
B
28
S
8
G
8
Posts: 530
Reputation: 7,154

Post » Wed Mar 24, 2010 3:37 am

You guys are right, setting the collision to per pixel does work. Still hoping it gets fixed, at least to be consistent. Thanks for the help!
B
77
S
49
G
25
Posts: 346
Reputation: 17,409

Post » Wed Mar 24, 2010 12:24 pm

[quote="UberLou":3gvzxfy9]You guys are right, setting the collision to per pixel does work. Still hoping it gets fixed, at least to be consistent. Thanks for the help![/quote:3gvzxfy9]

It's on the tracker and David is looking into it, so cross fingers toes and other appendages.
B
3
S
2
G
3
Posts: 628
Reputation: 2,531


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 5 guests