2017-06-25 13:00:20 +02:00
|
|
|
[gd_scene load_steps=3 format=2]
|
2016-04-02 12:35:23 +02:00
|
|
|
|
|
|
|
[ext_resource path="res://one_way_platform.png" type="Texture" id=1]
|
|
|
|
|
|
|
|
[sub_resource type="RectangleShape2D" id=1]
|
|
|
|
|
|
|
|
custom_solver_bias = 0.0
|
|
|
|
extents = Vector2( 100, 10 )
|
|
|
|
|
|
|
|
[node name="one_way_platform" type="StaticBody2D"]
|
|
|
|
|
2017-06-23 12:44:27 +02:00
|
|
|
input_pickable = false
|
|
|
|
collision_layer = 1
|
|
|
|
collision_mask = 1
|
2016-04-02 12:35:23 +02:00
|
|
|
constant_linear_velocity = Vector2( 0, 0 )
|
|
|
|
constant_angular_velocity = 0.0
|
|
|
|
friction = 1.0
|
|
|
|
bounce = 0.0
|
|
|
|
|
|
|
|
[node name="sprite" type="Sprite" parent="."]
|
|
|
|
|
|
|
|
texture = ExtResource( 1 )
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
|
|
|
2017-06-23 12:44:27 +02:00
|
|
|
position = Vector2( 1.46304, -13.1672 )
|
2016-04-02 12:35:23 +02:00
|
|
|
shape = SubResource( 1 )
|
2017-06-25 13:00:20 +02:00
|
|
|
one_way_collision = true
|
|
|
|
|
|
|
|
|