zeOxx / StudentGame

A continuation of the previous repo (https://github.com/zeOxx/Perihelion)
4 stars 1 forks source link

Player gets stuck at outer edge of map. #15

Closed snorrewb closed 11 years ago

snorrewb commented 12 years ago

See title.

Nilzone commented 12 years ago

I wrote the code for that (the player being unable to go outside the bounding-box). When me and Inge tested it, it worked fine.

zeOxx commented 12 years ago

Can you give some context as to how this happened? I've tried multiple times and haven't gotten it to stick

snorrewb commented 12 years ago

On both my pcs I go up until I hit edge of map, and then I cant go back down.Might have something to do with my gamepad?

zeOxx commented 12 years ago

I'll fix it tomorrow

zeOxx commented 11 years ago

turns out i didn't fix it

snorrewb commented 11 years ago

Simen assigned, for great justice.

Slokken commented 11 years ago

The bug was caused by reverting the player back to a position that was colliding with the bounding box of the level. This would continue to revert position ad infinitum.

It's now being reset to a correct prePosition