48 minutes ago, desertfish said:
A 2d physics multi-object collision engine on an 8 bit system, that's actually pretty darn nice even though it's not entirely realistic behavior. I always find it fun to play around with anything having physics simulation. It's always more fun when it's less realistic !
haha, I agree that non-realistic physics can be lots of fun, but this is more broken-physics than cartoon-physics! I'm pretty happy with how it turned out though, very surprised how much I could pack into a frame. When I started I wasn't even sure if I'd be able to get two or three balls bouncing at 60fps. By the time I got all the physics more or less working on 16 balls it still wasn't missing frames, and I managed to pack the whole thing 5 times into *most* frames. (it misses some frames when there's lots of collisions, but I haven't found it to be particularly noticeable).
The physics engine does a lot better when you turn down the velocities and the friction, but then it's not fast enough to feel anything like pool. There's a lot that could probably be done to make the physics engine more efficient though.