mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2026-01-05 07:20:07 +01:00
17 lines
467 B
Plaintext
17 lines
467 B
Plaintext
[gd_scene load_steps=3 format=2]
|
|
|
|
[ext_resource path="res://platform/one_way_platform.png" type="Texture" id=1]
|
|
|
|
[sub_resource type="RectangleShape2D" id=1]
|
|
extents = Vector2( 100, 10 )
|
|
|
|
[node name="OneWayPlatform" type="StaticBody2D"]
|
|
|
|
[node name="Sprite" type="Sprite" parent="."]
|
|
texture = ExtResource( 1 )
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
position = Vector2( 1.46304, -13.1672 )
|
|
shape = SubResource( 1 )
|
|
one_way_collision = true
|