edited enemy_ywing scene: timers for refire of main guns, death timer for spawning loot, and raycast to confirm angle is intersecting player before firing

This commit is contained in:
zerothelootrat
2024-06-04 22:46:42 -04:00
parent b18128e6d2
commit eb7bca8ad2
2 changed files with 10 additions and 23 deletions

View File

@@ -1,23 +0,0 @@
## SWGalaga
Star wars galaga game using godot4.
Made for fun, and to learn godot. plez no sue.
**Controls**
W/A/S/D for movement
Space to shoot
E to launch missiles (don't lock so more like rockets)
overall goal will be to add a few levels tied to a world map.
currently only have one enemy and one level up type
##todo:
- [x] Finish Y-Wing Art
- [ ] Import Y-Wing & get turret working
- [ ] Power up 2 (shield)
- [ ] locate sounds
- [ ] World Map
- [ ] Work on Boss fight
- [ ] Level 1 and boss fight

View File

@@ -40,3 +40,13 @@ offset = Vector2(0, 5.2)
[node name="turret_muzzle" type="Marker2D" parent="Turret"]
position = Vector2(0, 21)
[node name="target_confirm" type="RayCast2D" parent="Turret"]
target_position = Vector2(-1, 873)
[node name="refire_timer1" type="Timer" parent="."]
[node name="refire_timer2" type="Timer" parent="."]
[node name="death_timer" type="Timer" parent="."]
wait_time = 0.5