I've got a ball. It is dropping. Also, it's being drawn with a bounding box at the moment.
I decided I was going to take the idea of Bolo Ball and expand on it by implementing it with simulated physics instead of making a straight clone. It might end up looking something more like a marble machine than the original.
I'm using LÖVE as the base of the game engine.
Implemented so far:
- Ball droping, with physics.
- Taking a screenshot with the screenshot key.
If you want to try it for some reason, here's the .love file:
http://p1b.us/files/dropballs/dropballs-1.loveThe LÖVE physics module is a bit weird and sparsely documented. None of the documentation mentions what units anything is in, except for the "pixels per meter" option. It seems like it uses pixels in most cases. I'm not sure what units gravity is supposed to be in, but setting it to 9.8 sure doesn't seems like it's anything close to proper Earth gravity, and I had to set the bounds of the physics world to be twice the pixel size of the screen to get the sizes to match up. Before I did that, the ball was stopping in the middle of the screen for no apparent reason.