SupaLidlGame/Entities/Torch.tscn

92 lines
2.5 KiB
Plaintext
Raw Normal View History

2023-11-09 16:22:52 -08:00
[gd_scene load_steps=12 format=3 uid="uid://c1w7t6irnohfx"]
2023-07-19 01:25:02 -07:00
[ext_resource type="Texture2D" uid="uid://har1bd5u4dq3" path="res://Assets/Sprites/Misc/torch.png" id="1_14bgb"]
2023-07-31 01:12:47 -07:00
[ext_resource type="Texture2D" uid="uid://coarr28adgo1u" path="res://Assets/Sprites/Particles/point-light.png" id="2_hotvd"]
2023-07-19 01:25:02 -07:00
[sub_resource type="AtlasTexture" id="AtlasTexture_js1l1"]
atlas = ExtResource("1_14bgb")
region = Rect2(0, 0, 8, 12)
[sub_resource type="AtlasTexture" id="AtlasTexture_gdxtl"]
atlas = ExtResource("1_14bgb")
region = Rect2(8, 0, 8, 12)
[sub_resource type="AtlasTexture" id="AtlasTexture_da7fw"]
atlas = ExtResource("1_14bgb")
region = Rect2(16, 0, 8, 12)
[sub_resource type="AtlasTexture" id="AtlasTexture_rpccx"]
atlas = ExtResource("1_14bgb")
region = Rect2(24, 0, 8, 12)
[sub_resource type="AtlasTexture" id="AtlasTexture_crwu1"]
atlas = ExtResource("1_14bgb")
region = Rect2(32, 0, 8, 12)
[sub_resource type="AtlasTexture" id="AtlasTexture_r3kxc"]
atlas = ExtResource("1_14bgb")
region = Rect2(40, 0, 8, 12)
[sub_resource type="AtlasTexture" id="AtlasTexture_225la"]
atlas = ExtResource("1_14bgb")
region = Rect2(48, 0, 8, 12)
[sub_resource type="SpriteFrames" id="SpriteFrames_gf7ku"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_js1l1")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_gdxtl")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_da7fw")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_rpccx")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_crwu1")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_r3kxc")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_225la")
}],
"loop": true,
"name": &"default",
2023-07-21 02:54:13 -07:00
"speed": 10.0
2023-07-19 01:25:02 -07:00
}]
2023-11-09 16:22:52 -08:00
[sub_resource type="CircleShape2D" id="CircleShape2D_ljsf5"]
radius = 4.0
2023-07-19 01:25:02 -07:00
[node name="Torch" type="Node2D"]
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
texture_filter = 1
2023-07-31 01:12:47 -07:00
position = Vector2(0, -10)
2023-07-19 01:25:02 -07:00
sprite_frames = SubResource("SpriteFrames_gf7ku")
autoplay = "default"
2023-07-21 02:54:13 -07:00
frame_progress = 0.337799
2023-07-19 01:25:02 -07:00
[node name="PointLight2D" type="PointLight2D" parent="."]
2023-07-31 01:12:47 -07:00
color = Color(1, 0.976471, 0.92549, 1)
2023-07-19 01:25:02 -07:00
blend_mode = 2
shadow_enabled = true
shadow_filter_smooth = 3.0
2023-07-31 01:12:47 -07:00
texture = ExtResource("2_hotvd")
2023-07-19 01:25:02 -07:00
offset = Vector2(0, 2)
2023-07-31 01:12:47 -07:00
texture_scale = 0.25
2023-11-09 16:22:52 -08:00
[node name="Area2D" type="Area2D" parent="."]
position = Vector2(0, -8)
collision_layer = 128
collision_mask = 0
monitoring = false
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
shape = SubResource("CircleShape2D_ljsf5")