Decreased movement and shot delay of enemies based on number of enemies

remaining; increased tween speed of enemy bounce at 25% remaining.
This commit is contained in:
Henry 2025-12-31 13:34:29 +00:00
parent 7a0ea55ff1
commit f1eec30167
8 changed files with 57 additions and 5 deletions

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=18 format=3 uid="uid://pyuorpwb7lpe"]
[gd_scene load_steps=20 format=3 uid="uid://pyuorpwb7lpe"]
[ext_resource type="Script" uid="uid://dcrnf4r6c5qaw" path="res://player.gd" id="1_sweqy"]
[ext_resource type="PackedScene" uid="uid://bwxxdrdvo3le0" path="res://bullet.tscn" id="2_1jxqw"]
@ -73,6 +73,16 @@ animations = [{
"speed": 10.0
}]
[sub_resource type="CanvasItemMaterial" id="CanvasItemMaterial_dw050"]
particles_animation = true
particles_anim_h_frames = 2
particles_anim_v_frames = 1
particles_anim_loop = false
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_b26j0"]
particle_flag_disable_z = true
gravity = Vector3(0, 98, 0)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_op7ga"]
size = Vector2(14, 14)
@ -93,6 +103,20 @@ sprite_frames = SubResource("SpriteFrames_u1c27")
animation = &"forward"
autoplay = "forward"
[node name="BoosterBurst" type="GPUParticles2D" parent="Ship/Boosters"]
texture_repeat = 2
material = SubResource("CanvasItemMaterial_dw050")
amount = 10
texture = ExtResource("3_1jxqw")
lifetime = 0.75
interp_to_end = 1.0
preprocess = 1.83
speed_scale = 15.69
draw_order = 2
trail_lifetime = 1.8499999999999999
trail_sections = 2
process_material = SubResource("ParticleProcessMaterial_b26j0")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("RectangleShape2D_op7ga")