v0.14-alpha - [Godot] "Machine Battle" Game Dev Log 12/26/2021- Improve AI path performance (Link in Description)
Demo:
Summary:
The first part of video is testing multiple player with large count of AI. The second part/third part is to test single player behavior.
Solves the issue with AI path finding slows the game down in single/multiplayer network. The main idea is to use a queue mechanism with timer to spread the load of AI path requests across different frames instead of that exact frame. As AI moving at different pace, also create a more real player like behavior.
Tested around 30 AIs all compete in same field at one moment without major slow down. Detail and analyze in https://github.com/danilko/topdown-2d-multiplayer/issues/25
This also solves the network slow down issue. It is not due to number of AI need to sync, but rather more due to server is processing AI and slow down package sending
Also introduce Spawn base (base on current captured base) during unit spawn count down for both player and AI to allow more flexible player. The map mode also has a big mode in addition to existing minimap mode.
Updates:
Update to Godot 3.4.2
Fix following issues
https://github.com/danilko/topdown-2d-multiplayer/issues/25: Improve slow down behaviors when AI are searching paths
https://github.com/danilko/topdown-2d-multiplayer/issues/24: Allow player and bots to select spawn base from available base instead of always fixed ones
https://github.com/danilko/topdown-2d-multiplayer/issues/21: Introduce setting screen (include exit option) in game
https://github.com/danilko/topdown-2d-multiplayer/issues/8: Improve network performance
Workaround:
There are some corner cases where nested Dialog (such as opening the in game option while the map mode is open, cause the mouse cursor to stay).
The current workaround is to open inventory or open esc again to correct the setup.
Files
Get Machine Battle
Machine Battle
Network Multiplayer Top Down Shooter (Against other players or bots) with Godot Engine
Status | Prototype |
Author | danil-ko |
Genre | Shooter, Action |
Tags | 2D, Godot, godot-2d, Local multiplayer, Multiplayer, Top-Down, Top down shooter |
More posts
- v0.15-alpha - [Godot] "Machine Battle" Game Dev Log 07/24/2022 - Implement Remot...Jul 05, 2022
- v0.11-alpha - [Godot] "Machine Battle" Game Dev Log 12/12/2021- Queue logic for...Dec 12, 2021
- v0.10-alpha - [Godot] "Machine Battle" Game Dev Log 09/12/2021- UI/flow update +...Sep 13, 2021
- v0.09-alpha - [Godot] "Machine Battle" Game DevLog 08/28/2021: Updated AI variet...Aug 29, 2021
- v0.08-alpha - Multi - Tunnel Missile Launcher/Breakable ShieldJul 18, 2021
- v0.07-alpha UpdateJun 03, 2021
- v0.06-alpha UpdateMar 14, 2021
Leave a comment
Log in with itch.io to leave a comment.