one_way_platform.tscn 521 B

1234567891011121314151617
  1. [gd_scene load_steps=3 format=3 uid="uid://dkmxopg1dknq8"]
  2. [ext_resource type="Texture2D" uid="uid://c15sicsdamq2o" path="res://platform/one_way_platform.png" id="1"]
  3. [sub_resource type="RectangleShape2D" id="1"]
  4. size = Vector2(110, 10)
  5. [node name="OneWayPlatform" type="StaticBody2D"]
  6. [node name="Sprite2D" type="Sprite2D" parent="."]
  7. texture = ExtResource("1")
  8. [node name="CollisionShape2D" type="CollisionShape2D" parent="."]
  9. position = Vector2(0.73152, -6.5836)
  10. shape = SubResource("1")
  11. one_way_collision = true