fuzzyworld

godot-shooter / change-html-template / files / Bullet.gd

Branch change-html-template · default branch · all branches

Bullet.gd

Commits that changed this file, newest first · file

2023-11-06969fd5aA number of changes: - bullets last longer - player now has a shooting range, which defines how far away an enemy has to be to be targeted - changed how the Enemy animation works, fixed it and separated some actions - implemented a scheme in World where items (enemies, health and speed powerups) will replace themselves when one of them leaves - if any items are too far from the player (screen radius * 2), then that item will be removed, and due to the above scheme, it will be replaced with a closer versionPavel Safronov
2023-11-02ad6f22aRemoved a lot of logging statements and added logging statements for setting the destination. Speeding up enemies. Random changes to filtering.Pavel Safronov
2023-11-01f398dcbShip is now shooting automatically at the closest enemy. Enemies now hurt the player for 2 points and self destruct when they contact the player.Pavel Safronov
2023-11-01e9f8f8fGot the background parallax stars working, mostly. Removed some commented-out code. Changed the enemy addition code to use call_deferred, so we're not modifying the physics system while the collisions are being processed.Pavel Safronov
2023-11-01236d167Added a small explosion that appears when a bullet hits a body and does damage.Pavel Safronov
2023-10-31c727f3bMake bullets slightly faster.Pavel Safronov
2023-10-31614e7fbSlightly reworked bullet and how it flies. Adding a Utils script that can be used to log time-stamped messages.Pavel Safronov
2023-10-29b856550Initial commit of Godot 3 game where you can pilot a starship and shoot down enemies. Those are all the current features.Pavel Safronov