OneWayPlatform.tscn 468 B

1234567891011121314151617
  1. [gd_scene load_steps=3 format=2]
  2. [ext_resource path="res://platform/one_way_platform.png" type="Texture" id=1]
  3. [sub_resource type="RectangleShape2D" id=1]
  4. extents = Vector2( 100, 10 )
  5. [node name="OneWayPlatform" type="StaticBody2D"]
  6. [node name="Sprite" type="Sprite" parent="."]
  7. texture = ExtResource( 1 )
  8. [node name="CollisionShape2D" type="CollisionShape2D" parent="."]
  9. position = Vector2( 1.46304, -13.1672 )
  10. shape = SubResource( 1 )
  11. one_way_collision = true