How do I stop my bounce from accelerating.

Get help using Construct 2

Post » Tue Apr 28, 2015 7:31 am

Hi Guys,

On MAJOR problem with my project is when a player touches the edge of a platform it propels them in one direction which is what I want BUT they cannot move the opposite direction because they game physics is still moving them.

Is there anyway I can give the player back control even if they hit the edge?

Thank You

Here is my project if you want reference

http://gamejolt.com/games/puzzle/super- ... nce/63124/
B
4
S
1
Posts: 56
Reputation: 464

Post » Tue Apr 28, 2015 11:48 pm

Just reset the physic forces on collision befor setting a bouce. velocity for example.
Or check position of platform and player sprite on collision. If player.y > platform.y and player x > plattfrom.x+width then the player is on the sides.
Or create helper sprites and pin it to the platform sides. so you can check if the player also overlaps / collides the helpers on the side. so you can set other physics in this case.
B
13
S
4
G
1
Posts: 107
Reputation: 1,337

Post » Tue Apr 28, 2015 11:58 pm

I think I know what you're looking for,

set the friction to all of the items to 1, the platforms, the player everything.

Angular Damping to 0, and set the player's collision mask to circle or bounding box.

This will give you more predictable physics you can adjust those properties until you get what you're looking for.
Check out my first game Axes and Arrows and vote for A&A on Steam Greenlight!
B
14
S
3
Posts: 47
Reputation: 2,163

Post » Wed Apr 29, 2015 7:43 am

@jerryfriestad where would I change this within the options?

@DAG Thanks.

Aprreciate your guys help!

EDIT: Doesn't matter found how to do it haha, Need to get it right now as I can get more control but it's still stiff.
B
4
S
1
Posts: 56
Reputation: 464

Post » Thu Apr 30, 2015 5:36 pm

Nothing is working guys arghhh :*( tried everything you have said.
B
4
S
1
Posts: 56
Reputation: 464


Return to How do I....?

Who is online

Users browsing this forum: dop2000, Yahoo [Bot] and 31 guests