[Godot] Top Down Shooter/Strategy Game Dev Log 09/20/2020 - Code clean up/continuous agents wave
Описание
Summary of update:
Code clean up and utilize spawn of defeated agents behavior. After debugging/investigation, find it is network intensive to spawn a lot of agents in once, so utilize fix amounts (like 10 - 20 agents at a time) to simulate lot of agents experience (wave of incoming agents).
There is a problem in recycling old id (seem the snapshot state will be in middle of transfer), so recycle agent will come up with new ids to discard older state
The flock behavior still need to be updated
Code location:
https://github.com/danilko/topdown-2d-multiplayer
This is with Godot Engine 3.2.x with C# Implementation
Current semi - working:
Basic top down shooter can attack and record health throughout network
Basic network skeleton based on Authoritative Server network design with snapshot
Basic audio and some basic effects
Basic enemy AI base on A* search and avoid collision with each other by disable collision between enemy
Basic flocking/steer behavior (still need to improve)
Weapon switch ability and framework (to support expansion of new weapon)
The top down shooter original code is base on excellent tutorial from
KidsCanCode Godot 3.0: Top-down Tank Battle Series: https://www.youtube.com/watch?v=sQ1FpD0DYF8&list=PLsk-HSGFjnaFC8kEv6MaLXnnDcevGpSWf
The network portion referenced on excellent articles from Kehom's Forge (with adjustments, as not all approach are used) :
http://kehomsforge.com/tutorials/multi/gdMoreNetworking/
The A* implementation reference following excellent article (with adjustments):
https://medium.com/kitschdigital/2d-path-finding-with-astar-in-godot-3-0-7810a355905a
Flocking Development Reference:
https://bitbucket.org/gresille_siffle/godot2d_autonomousagents_behaviour_flock/src/master/
Place Holder Graphic (as may change in future to align with style)
Great Art Asset by Kenny: https://www.kenney.nl/assets
Sound (from GameSounds website and following authors) : https://gamesounds.xyz/?dir=FXHome/Bullet%20and%20Gun https://gamesounds.xyz/?dir=Sonniss.com%20-%20GDC%202016%20-%20Game%20Audio%20Bundle
Рекомендуемые видео



















