• Create Account

# white_waluigi

Member Since 12 May 2013
Offline Last Active May 28 2013 12:18 PM

### Player Movement

27 May 2013 - 06:56 AM

i've got the following Problem:

im making a 2D not Tile-Based game with Collision Lines in all directions and sizes. Now when the Player moves along a 40 degree Line for example, his movment speed decreases dramaticaly, so i set down the Gravity. but then if the player moves in the opposite direction, he flies of the surface.

How could i solve thies Problem?

I thought about implementing a System, that, if the player is on a surface, lets him move along the surface, but that caused me a lot of other problems. How do other People solve this kind of Problem?

### 2d Physics

12 May 2013 - 07:37 AM

i started to make a 2d game a while ago and i encountered a lot of Problem with movment and gravitation.

I managed to make sure, that stuff can't get through walls (Line-Collision System, with the Separating axis T.) But after that the Problems started and i desparating right now. first i had the Problem with tzhe Gravitation, that when you stand on a inclined line and Gravity is on, the Player slowly slides of the surfaces. also  if you move on an inclined line you are slower than you were on even surface. next Problem is, that if you move in the opposite direction of an inclined line, you just fly in the air for a brief second. There are a lot of other Problems but i don't wanna list them all here.

Does someone have a few links for me?

PARTNERS