Platform Behaviour Jolty on slope?

For questions about using Classic.

Post » Mon Jun 25, 2012 4:04 am

How could one go abouts moving a sprite along a 15 degree or so slope using the platformer behaviour without it vibrating badly? Using a Circluar sprite with perpixle collision on a slope with bounding box collision iirc. Thanks in advance
B
45
S
19
G
10
Posts: 562
Reputation: 9,543

Post » Tue Jun 26, 2012 4:34 am

Not sure if you're using tiled background for the slope, but if not then the Angled box collision mode works for Sprites.

Not sure how to make them smooth though, you may need to edit the collision mask of the player sprite to round the bottom edge of it if you go for a non-circular collision object/player graphic.
"Construct 4 lets YOU make advanced games! (maybe)" Construct Classic - Examples Kit
B
86
S
28
G
13
Posts: 2,092
Reputation: 15,009

Post » Thu Jun 28, 2012 7:54 pm

You can use angled box for tiled background? Didn't know that, will be useful!
The collision for the circular sprite is perpixle, so the bottoms are rounded off :P I'm not quite sure why it's jaggedy whilst moving along a slope, I thought at first it was the sprite moves and doesn't stick to the ground and is actually floating and falling a bit, but I realised that isn't the case since you can go at immense speeds and it remains stuck to the ground.
Not sure what to do about this :(
B
45
S
19
G
10
Posts: 562
Reputation: 9,543

Post » Fri Jun 29, 2012 4:47 am

Sorry @Jase00, I said it in a confusing way. Only sprites have angled box I believe.
"Construct 4 lets YOU make advanced games! (maybe)" Construct Classic - Examples Kit
B
86
S
28
G
13
Posts: 2,092
Reputation: 15,009


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 0 guests