game-dev

Open full view…

why 1.1f??

James Barrett
Thu, 26 Feb 2015 18:47:32 GMT

In your Level::createFixtures method, where are you getting the 1.1f? I don't understand why you chose that number.

Nathanael Weiss
Thu, 26 Feb 2015 20:20:00 GMT

1.0f would work too. I used 1.1f in order to guarantee the tiles overlap each other a bit and there's no issue getting stuck or falling through.