SeptemberGameAB/scenes/grenade.tscn

262 lines
7.2 KiB
Plaintext
Raw Normal View History

[gd_scene load_steps=38 format=3 uid="uid://x8y4fkj6fc2e"]
[ext_resource type="Script" uid="uid://cevjj6wpr5f8f" path="res://scripts/grenade.gd" id="1_cvyik"]
[ext_resource type="Texture2D" uid="uid://b8g3n1anbx0j" path="res://graphics/effects/orb_red.png" id="2_wxtds"]
[ext_resource type="Texture2D" uid="uid://dnhgsb5qqmrmr" path="res://graphics/effects/explosion.png" id="3_vhiwl"]
[sub_resource type="CircleShape2D" id="CircleShape2D_1xt3t"]
radius = 12.0
[sub_resource type="AtlasTexture" id="AtlasTexture_6xeml"]
atlas = ExtResource("3_vhiwl")
region = Rect2(448, 192, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_76ndk"]
atlas = ExtResource("3_vhiwl")
region = Rect2(0, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_snp8f"]
atlas = ExtResource("3_vhiwl")
region = Rect2(64, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_t0o0f"]
atlas = ExtResource("3_vhiwl")
region = Rect2(128, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_adlig"]
atlas = ExtResource("3_vhiwl")
region = Rect2(192, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_3xmyn"]
atlas = ExtResource("3_vhiwl")
region = Rect2(256, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_aw7j6"]
atlas = ExtResource("3_vhiwl")
region = Rect2(320, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_w6nk6"]
atlas = ExtResource("3_vhiwl")
region = Rect2(384, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_enph7"]
atlas = ExtResource("3_vhiwl")
region = Rect2(448, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_qj1y5"]
atlas = ExtResource("3_vhiwl")
region = Rect2(0, 64, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_p88er"]
atlas = ExtResource("3_vhiwl")
region = Rect2(64, 64, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_g2dys"]
atlas = ExtResource("3_vhiwl")
region = Rect2(128, 64, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_u1ydx"]
atlas = ExtResource("3_vhiwl")
region = Rect2(192, 64, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_gd6t7"]
atlas = ExtResource("3_vhiwl")
region = Rect2(256, 64, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_bpfxd"]
atlas = ExtResource("3_vhiwl")
region = Rect2(320, 64, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_uk07r"]
atlas = ExtResource("3_vhiwl")
region = Rect2(384, 64, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_cmp73"]
atlas = ExtResource("3_vhiwl")
region = Rect2(448, 64, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_apdl7"]
atlas = ExtResource("3_vhiwl")
region = Rect2(0, 128, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_okstn"]
atlas = ExtResource("3_vhiwl")
region = Rect2(64, 128, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_0su16"]
atlas = ExtResource("3_vhiwl")
region = Rect2(128, 128, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_7763c"]
atlas = ExtResource("3_vhiwl")
region = Rect2(192, 128, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_cfpe2"]
atlas = ExtResource("3_vhiwl")
region = Rect2(256, 128, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_yibsa"]
atlas = ExtResource("3_vhiwl")
region = Rect2(320, 128, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_voalo"]
atlas = ExtResource("3_vhiwl")
region = Rect2(384, 128, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_178lq"]
atlas = ExtResource("3_vhiwl")
region = Rect2(448, 128, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_mkj0l"]
atlas = ExtResource("3_vhiwl")
region = Rect2(0, 192, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_r5ebx"]
atlas = ExtResource("3_vhiwl")
region = Rect2(64, 192, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_2vejf"]
atlas = ExtResource("3_vhiwl")
region = Rect2(128, 192, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_vbgia"]
atlas = ExtResource("3_vhiwl")
region = Rect2(192, 192, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_dmkfu"]
atlas = ExtResource("3_vhiwl")
region = Rect2(256, 192, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_gvnof"]
atlas = ExtResource("3_vhiwl")
region = Rect2(320, 192, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_k432l"]
atlas = ExtResource("3_vhiwl")
region = Rect2(384, 192, 64, 64)
[sub_resource type="SpriteFrames" id="SpriteFrames_1exwd"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_6xeml")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_76ndk")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_snp8f")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_t0o0f")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_adlig")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_3xmyn")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_aw7j6")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_w6nk6")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_enph7")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_qj1y5")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_p88er")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_g2dys")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_u1ydx")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_gd6t7")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_bpfxd")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_uk07r")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_cmp73")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_apdl7")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_okstn")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_0su16")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_7763c")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_cfpe2")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_yibsa")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_voalo")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_178lq")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_mkj0l")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_r5ebx")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_2vejf")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_vbgia")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_dmkfu")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_gvnof")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_k432l")
}],
"loop": false,
"name": &"explode",
"speed": 24.0
}]
[node name="Grenade" type="RigidBody2D"]
collision_layer = 4
collision_mask = 7
contact_monitor = true
max_contacts_reported = 2
script = ExtResource("1_cvyik")
[node name="Sprite2D" type="Sprite2D" parent="."]
texture = ExtResource("2_wxtds")
offset = Vector2(0.37, 0.39)
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("CircleShape2D_1xt3t")
debug_color = Color(0.7488965, 0.6246863, 1.92523e-07, 1)
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
sprite_frames = SubResource("SpriteFrames_1exwd")
animation = &"explode"
[connection signal="body_entered" from="." to="." method="_on_body_entered"]