fuzzyworld

godot-shooter / change-html-template / files / HUD.tscn

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

HUD.tscn

Commits that changed this file, newest first · file

2023-11-06e2c013dSlight change to instructions, to make them shorter, to fit on new screen.Pavel Safronov
2023-11-06610a86bSimplified HUD a bit.Pavel Safronov
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-02748f09dSlowed things down, removed the debug label from the HUD, changed the background to a nice blue.Pavel Safronov
2023-11-018c2ffd3Fixed some errors about variable usages. Adding a debug label, so it's possible to get some debug info on mobile.Pavel Safronov
2023-11-011e610e5Proper death screen positioning.Pavel Safronov
2023-11-01d5d1043Added fading instructions at the beginning.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-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