Files
hotdesking/Gameplay/tchotchke.tscn

35 lines
1.2 KiB
Plaintext

[gd_scene load_steps=5 format=3 uid="uid://6gr5saa81qdh"]
[ext_resource type="Script" uid="uid://qmgo5eukvn6y" path="res://Gameplay/Tchotchke.cs" id="1_c08fi"]
[ext_resource type="Texture2D" uid="uid://c1tv50tj5cprl" path="res://art/coffee.png" id="2_gl5mj"]
[sub_resource type="CircleShape2D" id="CircleShape2D_d82wc"]
radius = 31.1448
[sub_resource type="CircleShape2D" id="CircleShape2D_gl5mj"]
radius = 65.0
[node name="Tchotchke" type="StaticBody2D"]
input_pickable = true
script = ExtResource("1_c08fi")
[node name="Sprite2D" type="Sprite2D" parent="."]
scale = Vector2(0.1, 0.1)
texture = ExtResource("2_gl5mj")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("CircleShape2D_d82wc")
[node name="Area2D" type="Area2D" parent="."]
gravity_space_override = 1
gravity_point = true
gravity_point_center = Vector2(0, 0)
gravity_direction = Vector2(0, 0)
gravity = 50.0
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
shape = SubResource("CircleShape2D_gl5mj")
[connection signal="mouse_entered" from="." to="." method="OnMouseEntered"]
[connection signal="mouse_exited" from="." to="." method="OnMouseExited"]