Tuesday, 19 August 2025 01:37:27

This commit is contained in:
2025-08-19 01:37:30 -04:00
parent a47a6331ee
commit dfbad40739
30 changed files with 333 additions and 80 deletions

30
Gameplay/desk.tscn Normal file
View File

@@ -0,0 +1,30 @@
[gd_scene load_steps=4 format=3 uid="uid://demwh8ek37mnx"]
[ext_resource type="Texture2D" uid="uid://w4cxyhjvmkq1" path="res://art/desk.png" id="1_21bwm"]
[ext_resource type="Script" uid="uid://pxi753iie75t" path="res://Gameplay/Desk.cs" id="2_15p4t"]
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_fw0uc"]
radius = 88.5
height = 566.0
[node name="Desk" type="Sprite2D"]
scale = Vector2(2, 2)
texture = ExtResource("1_21bwm")
script = ExtResource("2_15p4t")
[node name="StaticBody2D" type="StaticBody2D" parent="."]
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="StaticBody2D"]
polygon = PackedVector2Array(34.5, -87.5, 60.5, -87.5, 131.5, -87, 245, -78.5, 251, -77, 265, -55.5, 273, -16, 272.5, 0.5, 269.5, 31, 264, 58, 251, 76, 220.5, 81.5, 144, 85, 54, 87, 0, 87, -88.5, 85, -167, 84.5, -246, 77.5, -260, 62.5, -271.5, 22.5, -272, -0.5, -271.5, -25.5, -266, -47, -257, -70.5, -248, -79, -186.5, -84, -105, -87, -17.5, -87.5, 34.5, -87.5, 35, -335, -418.5, -337, -421, 448, 439, 445, 438.5, -357.5, 35, -334.5)
[node name="Gravity" type="Area2D" parent="."]
visible = false
gravity_space_override = 1
gravity_point = true
gravity_point_center = Vector2(0, 0)
gravity_direction = Vector2(0, 0)
gravity = 100.0
[node name="CollisionShape2D" type="CollisionShape2D" parent="Gravity"]
rotation = 1.5708
shape = SubResource("CapsuleShape2D_fw0uc")