fuzzyworld

godot-shooter / files / actors / Player.gd

Player.gd

Commits that changed this file, newest first · file

2026-10-266b68bafDeploy to apps.fuzzyworld.net with fuzzyworld-toolsPavel Safronov
2023-12-0156eea83Changed the default zoom to be slightly zoomed out.Pavel Safronov
2023-12-01f1a6c92Added zoom support. Zoom can be changed with UP/DOWN keys. The background is now the color of Godot's IDE.Pavel Safronov
2023-12-01636e522Changed how bullets now know the shooter and won't collide with that body. Fixed some issues with the game being playable after it is finished.Pavel Safronov
2023-12-01176d22dScores are now constantly being updated, they should always show the latest values. Fixed an issue where the scores weren't being sorted. Added a "no high scores yet" label if there are no high scores at the moment.Pavel Safronov
2023-12-01c39514eMinor reorg of Player code.Pavel Safronov
2023-12-01c8aa3c6Use rockets by default, lower their damage, increase their fire rate.Pavel Safronov
2023-12-010f8974bMaking enemies fire a weak gun at the player. Added a .25 second arm-time to the bullet, so it won't hit the shooter. Fixed how items are added to the world.Pavel Safronov
2023-11-30afaeaa9Fixed merge issues.Pavel Safronov
2023-11-303e350e6Moved is_invincible flag higher.Pavel Safronov
2023-11-30a575822Start the player off with no weapon at all.Pavel Safronov
2023-11-29f295bf4Remove barrel from the player class, change how the bullets are added to the scene.Pavel Safronov
2023-11-29e9f81b9Move shooting logic into the weapon class.Pavel Safronov
2023-11-293782f0cMoved the "player shoots at nearest enemy" logic into the Player class.Pavel Safronov
2023-11-29660d0c9Add some comments to the world scene and change the radar behavior so the alpha of items ranges are .2-1, instead of 0-1, where the radar item sometimes disappears.Pavel Safronov
2023-11-29a2c9533Moved scores UI into its own scene.Pavel Safronov
2023-11-29ddc6501Simplified default weapon for player.Pavel Safronov
2023-11-29023ec2fStarting to implement navigation logic using the NavigationAgend2D. Current state: works fine if there's just one enemy, but only navigates one enemy if there are multiple enemies. It's also not clear if the enemy collision bounds are being respected.Pavel Safronov
2023-11-272b4497bAdded damage labels that pop up whenever ships are damaged, or when the player is healed by HP pick-ups.Pavel Safronov
2023-11-198adb41dReplaced enemy and player health label with color progress bars.Pavel Safronov
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
2023-11-17e96078cAdded an optional setting to show all items on the radar. This is off by default.Pavel Safronov
2023-11-17e7c3ffeAdding debug that is connected to space-bar, which is hopefully only going to work in debug builds.Pavel Safronov
2023-11-17cbc328fChanged where the player destination was being stored and how we calculate that information. Renamed a generic Button to StartNewGameButton. Removed some old code.Pavel Safronov
2023-11-179bc01bdCalculate the high score times only when the pause menu is shown, not when the game starts.Pavel Safronov
2023-11-171693803Move code into appropriate folders, there are no more important files in the root.Pavel Safronov