fuzzyworld

godot-shooter / meteor / files / Utils.gd

Branch meteor · default branch · all branches

Utils.gd

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-10-31614e7fbSlightly reworked bullet and how it flies. Adding a Utils script that can be used to log time-stamped messages.Pavel Safronov