SupaLidlGame/Entities/Campfire.tscn

90 lines
2.6 KiB
Plaintext
Raw Normal View History

2023-06-10 22:15:28 -07:00
[gd_scene load_steps=13 format=3 uid="uid://dhl071rj5wyvx"]
2022-12-04 20:12:34 -08:00
[ext_resource type="Texture2D" uid="uid://yqet0b22i70d" path="res://Assets/Sprites/campfire.png" id="1_7eor7"]
[ext_resource type="Script" path="res://Entities/Campfire.cs" id="1_w4gfp"]
[ext_resource type="Texture2D" uid="uid://coarr28adgo1u" path="res://Assets/Sprites/Particles/point-light.png" id="3_lm3vq"]
2023-06-10 22:15:28 -07:00
[ext_resource type="Script" path="res://BoundingBoxes/InteractionTrigger.cs" id="4_h1bqe"]
2022-12-04 20:12:34 -08:00
[sub_resource type="AtlasTexture" id="AtlasTexture_68qj1"]
atlas = ExtResource("1_7eor7")
region = Rect2(0, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_rt0be"]
atlas = ExtResource("1_7eor7")
region = Rect2(16, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_0embb"]
atlas = ExtResource("1_7eor7")
region = Rect2(32, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_victi"]
atlas = ExtResource("1_7eor7")
region = Rect2(48, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_jg745"]
atlas = ExtResource("1_7eor7")
region = Rect2(64, 0, 16, 16)
[sub_resource type="SpriteFrames" id="SpriteFrames_o6lfi"]
animations = [{
2023-03-19 23:36:36 -07:00
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_68qj1")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_rt0be")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_0embb")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_victi")
}],
2022-12-04 20:12:34 -08:00
"loop": true,
"name": &"active",
"speed": 5.0
}, {
2023-03-19 23:36:36 -07:00
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_jg745")
}],
2022-12-04 20:12:34 -08:00
"loop": true,
"name": &"default",
"speed": 8.0
}]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ubam4"]
size = Vector2(16, 4)
2023-06-10 22:15:28 -07:00
[sub_resource type="RectangleShape2D" id="RectangleShape2D_dfj3a"]
size = Vector2(20, 10)
2022-12-04 20:12:34 -08:00
[node name="Campfire" type="StaticBody2D"]
texture_filter = 3
position = Vector2(0, -8)
script = ExtResource("1_w4gfp")
[node name="Sprite2D" type="AnimatedSprite2D" parent="."]
2023-03-19 23:36:36 -07:00
sprite_frames = SubResource("SpriteFrames_o6lfi")
2023-05-30 01:35:29 -07:00
frame_progress = 0.387757
2022-12-04 20:12:34 -08:00
[node name="PointLight2D" type="PointLight2D" parent="."]
2023-05-30 01:35:29 -07:00
color = Color(0.996078, 0.780392, 0.615686, 1)
2022-12-04 20:12:34 -08:00
energy = 2.0
blend_mode = 2
texture = ExtResource("3_lm3vq")
texture_scale = 0.25
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(0, 6)
shape = SubResource("RectangleShape2D_ubam4")
2023-06-10 22:15:28 -07:00
[node name="InteractionTrigger" type="Area2D" parent="."]
collision_layer = 64
collision_mask = 0
script = ExtResource("4_h1bqe")
[node name="CollisionShape2D" type="CollisionShape2D" parent="InteractionTrigger"]
position = Vector2(0, 5)
shape = SubResource("RectangleShape2D_dfj3a")