wave update
This commit is contained in:
parent
1a2b9290c5
commit
bb871371b6
13 changed files with 374 additions and 22 deletions
120
bullet-tar.tscn
Normal file
120
bullet-tar.tscn
Normal file
|
@ -0,0 +1,120 @@
|
|||
[gd_scene load_steps=16 format=3 uid="uid://b75dkyryn0qnb"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://c6ybtahxwpukd" path="res://bullet.tscn" id="1_kjw43"]
|
||||
[ext_resource type="Texture2D" uid="uid://foqvx0qb0gic" path="res://tar_bullet.png" id="2_cgmk6"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_ykf7j"]
|
||||
atlas = ExtResource("2_cgmk6")
|
||||
region = Rect2(0, 0, 64, 64)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_kjnwa"]
|
||||
atlas = ExtResource("2_cgmk6")
|
||||
region = Rect2(64, 0, 64, 64)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_jus8a"]
|
||||
atlas = ExtResource("2_cgmk6")
|
||||
region = Rect2(128, 0, 64, 64)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_rxw5c"]
|
||||
atlas = ExtResource("2_cgmk6")
|
||||
region = Rect2(192, 0, 64, 64)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_angk7"]
|
||||
atlas = ExtResource("2_cgmk6")
|
||||
region = Rect2(256, 0, 64, 64)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_j4ckd"]
|
||||
atlas = ExtResource("2_cgmk6")
|
||||
region = Rect2(320, 0, 64, 64)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_5rrvv"]
|
||||
atlas = ExtResource("2_cgmk6")
|
||||
region = Rect2(384, 0, 64, 64)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_j3w1s"]
|
||||
atlas = ExtResource("2_cgmk6")
|
||||
region = Rect2(448, 0, 64, 64)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_nrj3w"]
|
||||
atlas = ExtResource("2_cgmk6")
|
||||
region = Rect2(512, 0, 64, 64)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_dwrya"]
|
||||
atlas = ExtResource("2_cgmk6")
|
||||
region = Rect2(576, 0, 64, 64)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_1ebs7"]
|
||||
atlas = ExtResource("2_cgmk6")
|
||||
region = Rect2(640, 0, 64, 64)
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_78fjs"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_ykf7j")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_ykf7j")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_ykf7j")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_ykf7j")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_kjnwa")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_jus8a")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_rxw5c")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_angk7")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_j4ckd")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_5rrvv")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_j3w1s")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_nrj3w")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_dwrya")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_1ebs7")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"default",
|
||||
"speed": 10.0
|
||||
}]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_q18vg"]
|
||||
radius = 45.0
|
||||
|
||||
[node name="Bullet" instance=ExtResource("1_kjw43")]
|
||||
linear_damp = 1.0
|
||||
|
||||
[node name="Sprite2D" parent="." index="1"]
|
||||
position = Vector2(2, 2)
|
||||
scale = Vector2(2, 2)
|
||||
sprite_frames = SubResource("SpriteFrames_78fjs")
|
||||
animation = &"default"
|
||||
autoplay = ""
|
||||
offset = Vector2(-0.854763, 1.21806)
|
||||
|
||||
[node name="Explosion" type="Area2D" parent="." index="2"]
|
||||
rotation = -1.5708
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Explosion" index="0"]
|
||||
shape = SubResource("CircleShape2D_q18vg")
|
||||
|
||||
[connection signal="animation_looped" from="Sprite2D" to="." method="explode"]
|
Loading…
Add table
Add a link
Reference in a new issue