Files
hotdesking/Gameplay/tchotchke.tscn

33 lines
1.0 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_gl5mj"]
radius = 32.0
[sub_resource type="CircleShape2D" id="CircleShape2D_d82wc"]
radius = 32.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_gl5mj")
[node name="Gravity" type="Area2D" parent="."]
gravity_space_override = 1
gravity_point = true
gravity_point_unit_distance = 32.0
gravity_point_center = Vector2(0, 0)
gravity_direction = Vector2(0, 0)
gravity = 5.0
[node name="CollisionShape2D" type="CollisionShape2D" parent="Gravity"]
shape = SubResource("CircleShape2D_d82wc")