60 lines
2.2 KiB
Plaintext
60 lines
2.2 KiB
Plaintext
[gd_scene load_steps=10 format=3 uid="uid://dp2pw8uu3wr4d"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://cujx1a8vwxsj8" path="res://Objects/world_object.tscn" id="1_yem17"]
|
|
[ext_resource type="Texture2D" uid="uid://dwxnxgs4evudf" path="res://Objects/Museum/GiftShop/Microscope.png" id="2_mf4vs"]
|
|
[ext_resource type="Script" path="res://Objects/Museum/GiftShop/microscope.gd" id="2_uotok"]
|
|
[ext_resource type="PackedScene" uid="uid://b0bqiakec1osr" path="res://UI/Microscope/MicroscopeWindow.tscn" id="3_baa44"]
|
|
[ext_resource type="PackedScene" uid="uid://bqibe7ha6r5ls" path="res://Interactions/Interactable/interactable.tscn" id="4_rbjkk"]
|
|
[ext_resource type="PackedScene" uid="uid://c5ded8kcouyci" path="res://Interactions/Interactable/interaction.tscn" id="6_termg"]
|
|
[ext_resource type="Script" path="res://Objects/Museum/GiftShop/MicroscopeInteraction.gd" id="7_26uov"]
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_2tolx"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": ExtResource("2_mf4vs")
|
|
}],
|
|
"loop": true,
|
|
"name": &"default",
|
|
"speed": 5.0
|
|
}]
|
|
|
|
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_b0w6w"]
|
|
radius = 58.0
|
|
height = 224.0
|
|
|
|
[node name="Microscope" instance=ExtResource("1_yem17")]
|
|
script = ExtResource("2_uotok")
|
|
|
|
[node name="AnimatedSprite2D" parent="." index="0"]
|
|
position = Vector2(-0.5, -58.5)
|
|
sprite_frames = SubResource("SpriteFrames_2tolx")
|
|
|
|
[node name="MicroscopeWindow" parent="." index="1" instance=ExtResource("3_baa44")]
|
|
unique_name_in_owner = true
|
|
visible = false
|
|
|
|
[node name="StaticBody2D" parent="." index="2"]
|
|
position = Vector2(-0.5, -58.5)
|
|
|
|
[node name="CollisionPolygon2D" parent="StaticBody2D" index="0"]
|
|
polygon = PackedVector2Array(-101.5, 37.5, 109.5, 37.5, 111, 101, -101, 101)
|
|
|
|
[node name="Interactable" parent="." index="3" instance=ExtResource("4_rbjkk")]
|
|
|
|
[node name="Panel" parent="Interactable" index="1"]
|
|
offset_top = -93.0
|
|
offset_right = 109.0
|
|
offset_bottom = 25.0
|
|
|
|
[node name="Interaction" parent="." index="4" instance=ExtResource("6_termg")]
|
|
script = ExtResource("7_26uov")
|
|
|
|
[node name="CollisionShape2D" parent="Interaction/InteractionArea" index="0"]
|
|
rotation = 1.5708
|
|
shape = SubResource("CapsuleShape2D_b0w6w")
|
|
|
|
[editable path="Interactable"]
|
|
[editable path="Interactable/ActionMenu"]
|
|
[editable path="Interaction"]
|