fuzzyworld

godot-shooter / files / utils / Constants.gd

Constants.gd

Commits that changed this file, newest first · file

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