fuzzyworld

godot-shooter / files / actors / Enemy.gd

Enemy.gd

Commits that changed this file, newest first · file

2023-12-010f8974bMaking enemies fire a weak gun at the player. Added a .25 second arm-time to the bullet, so it won't hit the shooter. Fixed how items are added to the world.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-30638706eCommented out a lot of enemy logs.Pavel 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-27656778eFix incorrect reference when teleporting an enemy.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-2713440f9For enemy damage, only create as many smokes as there are damage points.Pavel Safronov
2023-11-198adb41dReplaced enemy and player health label with color progress bars.Pavel Safronov
2023-11-17ee6296bAdded a constant, so the speed of all objects can be defined in terms of a common speed factor: player is 1, enemies are 1.05, bullets are 5, and rockets are 3. Meaning that the enemies are slightly faster than the player, bullets move 5 times faster, etc.Pavel Safronov
2023-11-171693803Move code into appropriate folders, there are no more important files in the root.Pavel Safronov