Page 1 of 1

New demo uploaded: Pool Table Simulator

Posted: Wed Dec 23, 2020 11:37 pm
by lamb-duh



Pool Table Simulator




View File






Play a game of pool on your commander X16. Click inside the light green circle to hit the white ball around the table.






 

New demo uploaded: Pool Table Simulator

Posted: Thu Dec 24, 2020 2:16 am
by desertfish

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 !


New demo uploaded: Pool Table Simulator

Posted: Thu Dec 24, 2020 3:43 am
by lamb-duh


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.


Re: New demo uploaded: Pool Table Simulator

Posted: Thu Nov 02, 2023 4:52 am
by Xiphod
Hey trying to find the original developer of this, to dust it off and revise for the newer R45 ROMs.

Looks pretty slick, and had mouse support? Neato.