Files
rthythm_archor_game/scenes/ground/ground1.tscn
T

64 lines
2.1 KiB
Plaintext

[gd_scene load_steps=7 format=3]
[ext_resource type="Script" path="res://scenes/ground/ground_background.gd" id="1_ground_background"]
[ext_resource type="Texture2D" path="res://assets/art/ground/past/past.png" id="2_past"]
[ext_resource type="Texture2D" path="res://assets/art/ground/future/future.png" id="3_future"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ground"]
size = Vector2(2301, 8)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_left_boundary"]
resource_name = "RectangleShape2D_left_boundary"
size = Vector2(32, 1100)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_right_boundary"]
resource_name = "RectangleShape2D_right_boundary"
size = Vector2(32, 1100)
[node name="ground1" type="Node2D"]
script = ExtResource("1_ground_background")
[node name="GroundAnchor" type="Marker2D" parent="."]
position = Vector2(2047, 560)
[node name="SkyParallaxLayer" type="Node2D" parent="."]
position = Vector2(896.5, 0)
z_index = -11
[node name="ArtLayer" type="Node2D" parent="."]
position = Vector2(896.5, 0)
z_index = -10
[node name="PastBackground" type="Sprite2D" parent="ArtLayer"]
texture_filter = 2
texture = ExtResource("2_past")
centered = false
[node name="FutureBackground" type="Sprite2D" parent="ArtLayer"]
visible = false
texture_filter = 2
texture = ExtResource("3_future")
centered = false
[node name="GroundBody" type="StaticBody2D" parent="."]
position = Vector2(2047, 560)
collision_mask = 0
[node name="CollisionShape2D" type="CollisionShape2D" parent="GroundBody"]
position = Vector2(0, 4)
shape = SubResource("RectangleShape2D_ground")
[node name="LeftBoundaryBody" type="StaticBody2D" parent="."]
position = Vector2(880.5, 150)
collision_mask = 0
[node name="CollisionShape2D" type="CollisionShape2D" parent="LeftBoundaryBody"]
shape = SubResource("RectangleShape2D_left_boundary")
[node name="RightBoundaryBody" type="StaticBody2D" parent="."]
position = Vector2(3213.5, 150)
collision_mask = 0
[node name="CollisionShape2D" type="CollisionShape2D" parent="RightBoundaryBody"]
shape = SubResource("RectangleShape2D_right_boundary")