fuzzyworld

godot-shooter / files / actors / Enemy.tscn

Enemy.tscn

Commits that changed this file, newest first · file

2023-11-306a08f6bEnemy sprite is 64x64, so setting nav radius to 35.Pavel Safronov
2023-11-306ad40ceEnemies now avoid colliding with each other and with the player. Other changes: - changed the "enemy rams player and destroys itself, dealing damage to player", since soon the enemies will be shooting the player (and maybe close proximity will just cause an explosion of enemy) - the target on the enemies is now faded - removed a bunch of log callsPavel Safronov
2023-11-301702badGot the object avoidance working for a single enemy.Pavel Safronov
2023-11-30de59c05Got navigation working, but with caveats: - Needed to add a big NavigationPolygonInstance to world scene, and this determines where the enemies can travel. This needs to be either an infinite polygon, or it has to be adjusted in real-time, or something. - the enemies aren't avoiding each other yetPavel Safronov
2023-11-294c85b9cFixed issue with enemies not following the player.Pavel Safronov
2023-11-29023ec2fStarting to implement navigation logic using the NavigationAgend2D. Current state: works fine if there's just one enemy, but only navigates one enemy if there are multiple enemies. It's also not clear if the enemy collision bounds are being respected.Pavel Safronov
2023-11-272b4497bAdded damage labels that pop up whenever ships are damaged, or when the player is healed by HP pick-ups.Pavel Safronov
2023-11-198adb41dReplaced enemy and player health label with color progress bars.Pavel Safronov
2023-11-171693803Move code into appropriate folders, there are no more important files in the root.Pavel Safronov