Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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: 496)
Reply
#2
Photo 
I've added a screenshot of the the game.


Attached Files Thumbnail(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 Thumbnail(s)
   
  724  855  599  923  575  468  400  206  147  564  878  823  652  556 bxor cross forever
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.
  724  855  599  923  575  468  400  206  147  564  878  823  652  556 bxor cross forever
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Menu Demo to be Expanded Pete 29 1,607 01-31-2026, 11:08 PM
Last Post: Pete
  A new and Exciting Demo! Cobalt 1 598 05-23-2025, 09:55 PM
Last Post: Pete
  Spinner Game Demo TerryRitchie 22 3,621 10-05-2024, 03:08 PM
Last Post: NakedApe
Tongue My 1st Demo BloodyHash 1 780 05-19-2024, 10:22 PM
Last Post: JRace
  2d Physics Engine - Driving Demo justsomeguy 1 780 04-17-2022, 01:41 PM
Last Post: justsomeguy

Forum Jump:


Users browsing this thread: 1 Guest(s)