I'm not sure what I did wrong here, but my player sprite falls straight through the floor. When I enable debugging, it appears the bodies are only being created for some tiles and not others.

I've uploaded the code to https://github.com/dave-kennedy/Platformer.
I'm not sure what I did wrong here, but my player sprite falls straight through the floor. When I enable debugging, it appears the bodies are only being created for some tiles and not others.
I've uploaded the code to https://github.com/dave-kennedy/Platformer.