QB64 Phoenix Edition
Pool - Printable Version

+- QB64 Phoenix Edition (https://qb64phoenix.com/forum)
+-- Forum: QB64 Rising (https://qb64phoenix.com/forum/forumdisplay.php?fid=1)
+--- Forum: Code and Stuff (https://qb64phoenix.com/forum/forumdisplay.php?fid=3)
+---- Forum: Games (https://qb64phoenix.com/forum/forumdisplay.php?fid=57)
+---- Thread: Pool (/showthread.php?tid=2306)

Pages: 1 2 3 4 5


RE: Pool - a740g - 11-19-2024

Works fine for me. Confused


RE: Pool - Petr - 11-19-2024

Nice billiards BPlus. I've played it now without any problems (QB64Pe 3.14.1 x64)


RE: Pool - bplus - 11-19-2024

Ah so it works in 3.14+, so 3.13.1 is only place it doesn't, good!

Thanks for your reports Petr and a740g.

I guess it's past time for update.


RE: Pool - NakedApe - 11-20-2024

Nice pool game, bplus! And it ran for me on v.3.13.1 - on a Mac.


RE: Pool - Dav - 11-20-2024

Working fine & dandy here in Linux. version.   Great pool game!

- Dav


RE: Pool - bplus - 11-20-2024

NakedApe so Pool compiled by 3.13.1 even works in Linux!?!

After your report I tested once again in Windows 10 with verion QB64pe 3.13.1 and again the program just hangs and I can neither click in the cue ball "behind-the-line" nor do a normal shutdown of .exe.

Thanks for your feedback Dav.

The good thing to come from this is I have 3.14.1 ready to install. So that must mean the next version is going to come out tomorrow, Murphies Law Corollary #47 Smile


RE: Pool - bplus - 11-20-2024

It's true it works fine in QB64pe v 3.14.1 just installed and tested today.


RE: Pool - JRace - 11-20-2024

It hung for me, too, maxing out one of my CPU cores.

Added a _Limit 30 to the BallInHand mouse poll loop at line 319-320, and now it works.

Code: (Select All)
    While mb1UpX = -1 'wait for click
        _Limit 30
    Wend



RE: Pool - bplus - 11-20-2024

+1 Wow that fixed it in 3.13.1 that's amazing you could find that!


RE: Pool - JRace - 11-20-2024

That seemed to be the neighborhood of the hangup, and that unlimited loop was an easy suspect to test.