Roughed in dynamic CRT enemy movement; tweaked parallax cloud movement
and sprites.
This commit is contained in:
parent
26803702b1
commit
661098529d
12 changed files with 134 additions and 27 deletions
|
|
@ -1,12 +1,12 @@
|
|||
[gd_scene format=3 uid="uid://dm0pkef7wmwuq"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://i0r17jo6838m" path="res://scenes/enemy_chicken.gd" id="1_0vjqj"]
|
||||
[ext_resource type="Script" uid="uid://7ls7phfcupal" path="res://scenes/enemy_crt.gd" id="1_ugdur"]
|
||||
[ext_resource type="Texture2D" uid="uid://b5pswf7r8b7j4" path="res://sprites/crt.png" id="2_emiuq"]
|
||||
[ext_resource type="Texture2D" uid="uid://cy4jggxmnohbb" path="res://sprites/chicken.png" id="2_ugdur"]
|
||||
[ext_resource type="Texture2D" uid="uid://bm7fgqwqfqmf4" path="res://sprites/explosion_pallete-swap.png" id="3_emiuq"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_4gyqm"]
|
||||
size = Vector2(45.71434, 40.000053)
|
||||
size = Vector2(32.727318, 27.272764)
|
||||
|
||||
[sub_resource type="Animation" id="Animation_h1rgn"]
|
||||
length = 0.001
|
||||
|
|
@ -32,7 +32,7 @@ tracks/1/keys = {
|
|||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [ExtResource("2_ugdur")]
|
||||
"values": [ExtResource("2_emiuq")]
|
||||
}
|
||||
tracks/2/type = "value"
|
||||
tracks/2/imported = false
|
||||
|
|
@ -56,7 +56,7 @@ tracks/3/keys = {
|
|||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 0,
|
||||
"values": [Rect2(0, 0, 84, 32)]
|
||||
"values": [Rect2(0, 0, 96, 28)]
|
||||
}
|
||||
tracks/4/type = "value"
|
||||
tracks/4/imported = false
|
||||
|
|
@ -196,18 +196,16 @@ _data = {
|
|||
}
|
||||
|
||||
[node name="EnemyCRT" type="Area2D" unique_id=1433837580 groups=["enemies"]]
|
||||
scale = Vector2(1.1, 1.1)
|
||||
script = ExtResource("1_0vjqj")
|
||||
script = ExtResource("1_ugdur")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=2115910138]
|
||||
scale = Vector2(1.44, 1.44)
|
||||
texture = ExtResource("2_emiuq")
|
||||
hframes = 3
|
||||
region_enabled = true
|
||||
region_rect = Rect2(0, 0, 96, 28)
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1841693239]
|
||||
position = Vector2(-1.8732879e-06, -1.9584381e-06)
|
||||
position = Vector2(4.334883e-07, 4.334883e-07)
|
||||
scale = Vector2(0.99999857, 0.99999857)
|
||||
shape = SubResource("RectangleShape2D_4gyqm")
|
||||
|
||||
|
|
@ -218,8 +216,11 @@ one_shot = true
|
|||
one_shot = true
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=702523492]
|
||||
active = false
|
||||
libraries/ = SubResource("AnimationLibrary_7ellt")
|
||||
|
||||
[node name="DirectionTimer" type="Timer" parent="." unique_id=2080229505]
|
||||
wait_time = 5.0
|
||||
|
||||
[connection signal="timeout" from="MoveTimer" to="." method="_on_timer_timeout"]
|
||||
[connection signal="timeout" from="ShootTimer" to="." method="_on_shoot_timer_timeout"]
|
||||
[connection signal="timeout" from="DirectionTimer" to="." method="_on_direction_timer_timeout"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue