The_Dark_Side_of_Earth/platform.tscn

24 lines
949 B
Text

[gd_scene load_steps=5 format=3 uid="uid://4l3elvxpghw8"]
[ext_resource type="Script" uid="uid://dwmquoam37sve" path="res://platform.gd" id="1_c1gtx"]
[ext_resource type="Texture2D" uid="uid://cy70quh6k3s1j" path="res://icon.svg" id="1_s8bxr"]
[ext_resource type="PackedScene" uid="uid://chs0u61f45nau" path="res://utils/earth_aligner.tscn" id="2_c1gtx"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ry5bi"]
size = Vector2(56, 6)
[node name="Platform" type="StaticBody2D"]
scale = Vector2(2.778, 3.1)
script = ExtResource("1_c1gtx")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("RectangleShape2D_ry5bi")
one_way_collision = true
one_way_collision_margin = 2.0
[node name="Sprite2D" type="Sprite2D" parent="."]
position = Vector2(-0.5, -1.90735e-06)
scale = Vector2(0.429688, 0.046875)
texture = ExtResource("1_s8bxr")
[node name="EarthAligner" parent="." instance=ExtResource("2_c1gtx")]