Files
rthythm_archor_game/scenes/ground/ground.tscn
T
2026-07-06 22:59:47 -07:00

56 lines
2.0 KiB
Plaintext

[gd_scene format=3 uid="uid://cs0rhloanh2u4"]
[ext_resource type="Texture2D" uid="uid://df1i0jo40oefn" path="res://assets/art/ground/ground.png" id="1_au3k8"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_au3k8"]
size = Vector2(4105, 1)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_rrkwn"]
resource_name = "RectangleShape2D_left_boundary"
size = Vector2(32, 900)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_xmv3o"]
resource_name = "RectangleShape2D_right_boundary"
size = Vector2(32, 900)
[node name="ground" type="Node2D" unique_id=656914049]
[node name="StreetUnderfill" type="Polygon2D" parent="." unique_id=2126258380]
visible = false
color = Color(0.078, 0.065, 0.09, 1)
polygon = PackedVector2Array(-22, 540, 4116, 540, 4116, 920, -22, 920)
[node name="GroundAnchor" type="Marker2D" parent="." unique_id=1875450741]
position = Vector2(2047, 366)
[node name="GroundBody" type="StaticBody2D" parent="." unique_id=1583776637]
position = Vector2(2047, 366)
collision_mask = 0
[node name="Sprite2D" type="Sprite2D" parent="GroundBody" unique_id=376657383]
texture_filter = 2
scale = Vector2(1.7979, 1.7979)
texture = ExtResource("1_au3k8")
centered = false
offset = Vector2(-1150.5, -480)
region_enabled = true
region_rect = Rect2(0, 90, 2301, 593)
[node name="CollisionShape2D" type="CollisionShape2D" parent="GroundBody" unique_id=629550857]
position = Vector2(7, -133.5)
shape = SubResource("RectangleShape2D_au3k8")
[node name="LeftBoundaryBody" type="StaticBody2D" parent="." unique_id=1153049543]
position = Vector2(-21.5, -80)
collision_mask = 0
[node name="CollisionShape2D" type="CollisionShape2D" parent="LeftBoundaryBody" unique_id=595374678]
shape = SubResource("RectangleShape2D_rrkwn")
[node name="RightBoundaryBody" type="StaticBody2D" parent="." unique_id=1425356485]
position = Vector2(4115.5, -80)
collision_mask = 0
[node name="CollisionShape2D" type="CollisionShape2D" parent="RightBoundaryBody" unique_id=2009094553]
shape = SubResource("RectangleShape2D_xmv3o")