Subscribe to library updates

Library / classes / tools developers: please write a short post in this thread every time you make an update (also remember to update the wiki when posting new stuff).

Users can subscribe (with the Watch button in the right side) to this thread to be notified when there are updates.
 
Last edited:

DonManfred

Expert
Licensed User
Longtime User

Informatix

Expert
Licensed User
Longtime User
Steering Behaviors

My new variant of the A* algorithm is 2x faster. I never saw anything faster among Java codes available on Internet. Only a conversion to C could perform better but it's fast enough in Java for almost all needs.
I also added a few things to customize even more the algorithm.

v2.3 (for donors only):
- I greatly improved the performance of the A* algorithm in SB_PathFinder;
- I added HEURISTIC_CHEBYSHEV to SB_PathFinder;
- I added HEURISTIC_NONE to SB_PathFinder (turns the A* algorithm into a Dijkstra algorithm);
- I added a DiagonalMove parameter to SB_PathFinder.CreateGrid;
- I added TotalCost to SB_PathFinder to get the total cost of a path;
- I replaced COST_GRID by COST_GRID_DIAG_DOUBLE, COST_GRID_DIAG_SAME and COST_GRID_DIAG_SQRT in SB_PathFinder.
 

Informatix

Expert
Licensed User
Longtime User
Google Play Game Services 29

Library: https://www.b4x.com/android/forum/threads/google-play-game-services.45245/
Demos: https://www.b4x.com/android/forum/threads/google-play-game-services.45245/#post-277922

I revised the entire code to be compatible with the current API version (29) of Google Play Game Services. I updated the deprecated code and added the new functions. I also implemented two new features: player stats (GPlayStats and GPlayPlayerStats) and nearby connections (GPlayNearbyConnections). The Nearby Connections API allows to communicate with other devices on the same local network, so you can create a real-time multiplayer game, an instant messaging tool or a remote controller (one device is used for the display, e.g. your TV, and the other is used as a controller) over a wifi network.

Special thanks to Capisx for his financial support
 
Top