basketball-tactics/scenes/court.tscn

51 lines
2.1 KiB
Plaintext
Raw Normal View History

2026-02-11 03:01:44 +00:00
[gd_scene format=3 uid="uid://cxbu51aedxg3c"]
[ext_resource type="Script" uid="uid://bpyti0u3ig8rs" path="res://scripts/court.gd" id="1_ih5bv"]
2026-02-11 20:43:20 +00:00
[ext_resource type="Texture2D" uid="uid://qq1gvnw7an1s" path="res://assets/court/court-lines.png" id="2_ih5bv"]
2026-02-11 03:01:44 +00:00
[sub_resource type="NavigationPolygon" id="NavigationPolygon_klx28"]
2026-02-11 17:03:15 +00:00
vertices = PackedVector2Array(1500, 1400, 10, 1400, 10, 10, 1500, 10)
2026-02-11 03:01:44 +00:00
polygons = Array[PackedInt32Array]([PackedInt32Array(0, 1, 2, 3)])
2026-02-11 17:03:15 +00:00
outlines = Array[PackedVector2Array]([PackedVector2Array(0, 0, 1510, 0, 1510, 1410, 0, 1410)])
2026-02-11 03:01:44 +00:00
2026-02-11 20:43:20 +00:00
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ih5bv"]
size = Vector2(490, 585)
[sub_resource type="CircleShape2D" id="CircleShape2D_ih5bv"]
radius = 675.0
[sub_resource type="RectangleShape2D" id="RectangleShape2D_acrlw"]
size = Vector2(1350, 157.5)
2026-02-11 03:01:44 +00:00
[node name="Court" type="Node2D" unique_id=1870443472]
script = ExtResource("1_ih5bv")
2026-02-11 20:43:20 +00:00
[node name="CourtLines" type="Sprite2D" parent="." unique_id=401540171]
2026-02-11 03:01:44 +00:00
modulate = Color(1, 1, 1, 0.4627451)
2026-02-11 17:03:15 +00:00
texture = ExtResource("2_ih5bv")
2026-02-11 03:01:44 +00:00
centered = false
[node name="NavigationRegion2D" type="NavigationRegion2D" parent="." unique_id=1617904918]
navigation_polygon = SubResource("NavigationPolygon_klx28")
2026-02-11 20:43:20 +00:00
[node name="KeyArea" type="Area2D" parent="." unique_id=538903225]
unique_name_in_owner = true
2026-02-11 20:43:20 +00:00
position = Vector2(755, 292)
[node name="CollisionShape2D" type="CollisionShape2D" parent="KeyArea" unique_id=1398173864]
shape = SubResource("RectangleShape2D_ih5bv")
debug_color = Color(1, 1, 0, 0.41960785)
[node name="TwoPointArea" type="Area2D" parent="." unique_id=1591376341]
unique_name_in_owner = true
2026-02-11 20:43:20 +00:00
position = Vector2(760, 162.5)
[node name="TwoPointArc" type="CollisionShape2D" parent="TwoPointArea" unique_id=704197509]
shape = SubResource("CircleShape2D_ih5bv")
debug_color = Color(0.9843137, 0.35686275, 0.49019608, 0.41960785)
[node name="TwoPointBox" type="CollisionShape2D" parent="TwoPointArea" unique_id=1263644238]
position = Vector2(0, -78.75)
shape = SubResource("RectangleShape2D_acrlw")
debug_color = Color(0.9843137, 0.35686275, 0.49019608, 0.41960785)