fuzzyworld

godot-shooter / files / scenes / World.gd

World.gd

Commits that changed this file, newest first · file

2023-12-0156eea83Changed the default zoom to be slightly zoomed out.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-01bfa99fbFixed issue where teleported bombs were creating explosions in their original location. We're no longer storing the bomb location as data, but instead the callback gets the entire PowerUp object, which can be used to figure out the position or extract data from.Pavel Safronov
2023-12-01a45831aA few behavioral changes: - all items (not just enemies) now get moved to be closer to the player - shooting range for basic enemy is now shorter, so the enemy is actually on the screen when they start shooting - health pickups now heal more - picking up an objective (golden pick up) now entirely replenishes the player's lifePavel Safronov
2023-12-01c65ec26Add more health to the world.Pavel Safronov
2023-12-01c8aa3c6Use rockets by default, lower their damage, increase their fire rate.Pavel Safronov
2023-11-30afaeaa9Fixed merge issues.Pavel Safronov
2023-11-306a08f6bEnemy sprite is 64x64, so setting nav radius to 35.Pavel Safronov
2023-11-306ad40ceEnemies now avoid colliding with each other and with the player. Other changes: - changed the "enemy rams player and destroys itself, dealing damage to player", since soon the enemies will be shooting the player (and maybe close proximity will just cause an explosion of enemy) - the target on the enemies is now faded - removed a bunch of log callsPavel Safronov
2023-11-307929daaChanged how we're generating items, made it possible to set the starting positions for items.Pavel Safronov
2023-11-30afb9a0aMove the possible movement area around the player.Pavel Safronov
2023-11-301702badGot the object avoidance working for a single enemy.Pavel Safronov
2023-11-30de59c05Got navigation working, but with caveats: - Needed to add a big NavigationPolygonInstance to world scene, and this determines where the enemies can travel. This needs to be either an infinite polygon, or it has to be adjusted in real-time, or something. - the enemies aren't avoiding each other yetPavel 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-29a2c9533Moved scores UI into its own scene.Pavel Safronov
2023-11-294c85b9cFixed issue with enemies not following the 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-2962151b9Enemies are targeted out of the process band, by a dedicated timer in the world scene.Pavel Safronov
2023-11-175320761Changed some weapons characteristics.Pavel Safronov
2023-11-17f85124dAdded particles to the bomb explosion.Pavel Safronov
2023-11-1793d8676Added bombs.Pavel Safronov
2023-11-176b8f57bGetting the objectives gives 5, 10, ... points. And picking up a health gives 1 point.Pavel Safronov
2023-11-170386b89Debug action now gives the player 10 rockets.Pavel Safronov
2023-11-17ede9acdFix issue where destination sprite wasn't showing up while dragging.Pavel Safronov
2023-11-17e96078cAdded an optional setting to show all items on the radar. This is off by default.Pavel Safronov
2023-11-175be558dTrying to avoid using `$Player` or similar code in GDScript, and instead rely on something like `onready var player: Player = $Player`, and then always use `player`.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-171693803Move code into appropriate folders, there are no more important files in the root.Pavel Safronov