fuzzyworld

godot-shooter / meteor / files / Enemy.tscn

Branch meteor · default branch · all branches

Enemy.tscn

Commits that changed this file, newest first · file

2023-11-055222000A few tied-up changes: - added pause functionality, though there's no background in the pause screen yet, for some reason - once an enemy is killed, its collision shape is disabled - moved some code around from the world to the HUD, so restart and exit will continue to work even during pause - added Utils.filter to filter an array of items - closest living enemy is now targetedPavel Safronov
2023-11-0250483a8Added a character theme, which uses the same common font, but has a smaller font size.Pavel Safronov
2023-11-02adab6dcSimplified enemy fade-out and ensured that the enemy is properly deleted after the animation is done.Pavel Safronov
2023-11-021d4ba5aIdentify the currently-targeted enemy.Pavel Safronov
2023-11-02cf2013fApply smoke on enemy damage.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-015b18ed8Added HUD with score, which gets incremented by 1 for each killed enemy. Implemented signals for this, so it's easy to know when an enemy died and to act on that. Also did some minor renames, starting to use `Explosion` for the imported scene, and `explosion` for its instance. Also did a move of resources, which created a huge change, but it was all just to add a new assets folder and a place for the font.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