2d Physics Engine - Pool Demo
#1
This is yet another physics demo I wrote a while back that is a minimal implementation of a Pool game.

It currently has a poorly implemented multiplayer. Its currently setup only for local host, but that can be changed in "poolSceneBuild.bas"



All assets were CC0.


Attached Files
.zip   QBPOOL.zip (Size: 826.98 KB / Downloads: 73)
Reply
#2
Photo 
I've added a screenshot of the the game.


Attached Files Image(s)
   
Reply
#3
Thumbs Up 
This is a huge effort! A whole folder system of files. Fun to compare to my 600+ LOC and one lonely bas source file ;-)) Looks like yours can do English, very fine!

You definitely have a better looking cue stick! But I am using a different way to aim cue, down the path with cue ball size circle to see exact place of contact.

That's a power bar below the table.


Attached Files Image(s)
   
b = b + ...
Reply
#4
I suppose it was, but I'm shooting for a more general purpose engine that I will use for multiple projects.

It started out as a huge monolithic program, but code organization became an issue, and IDE got laggy.
Reply
#5
@bplus I like you work on the pool game, Is it playable?
Reply
#6
You can hit balls into pockets and it will rerack when last ball down but there is no game because no opponent to play against.

Did you manage to figure out how to aim and shoot?

I thought it much easier to code drawing the cue line directly towards the way you want the cue ball to go, I did same with a bowling game.
b = b + ...
Reply




Users browsing this thread: 1 Guest(s)