62 lines
1.4 KiB
Plaintext
62 lines
1.4 KiB
Plaintext
[gd_scene load_steps=4 format=2]
|
|
|
|
[ext_resource path="res://wall.gd" type="Script" id=1]
|
|
[ext_resource path="res://art/wall.png" type="Texture" id=2]
|
|
|
|
[sub_resource type="RectangleShape2D" id=1]
|
|
|
|
custom_solver_bias = 0.0
|
|
extents = Vector2( 29.8667, 16 )
|
|
|
|
[node name="Wall" type="StaticBody2D"]
|
|
|
|
input_pickable = false
|
|
collision_layer = 1
|
|
collision_mask = 1
|
|
constant_linear_velocity = Vector2( 0, 0 )
|
|
constant_angular_velocity = 0.0
|
|
friction = 1.0
|
|
bounce = 0.0
|
|
script = ExtResource( 1 )
|
|
_sections_unfolded = [ "Transform", "Z Index" ]
|
|
|
|
[node name="Sprite" type="Sprite" parent="." index="0"]
|
|
|
|
texture = ExtResource( 2 )
|
|
centered = false
|
|
_sections_unfolded = [ "Offset" ]
|
|
__meta__ = {
|
|
"_edit_lock_": true
|
|
}
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="." index="1"]
|
|
|
|
position = Vector2( 32, 16 )
|
|
shape = SubResource( 1 )
|
|
_sections_unfolded = [ "Transform", "Z Index" ]
|
|
__meta__ = {
|
|
"_edit_lock_": true
|
|
}
|
|
|
|
[node name="Tween" type="Tween" parent="." index="2"]
|
|
|
|
repeat = false
|
|
playback_process_mode = 1
|
|
playback_speed = 1.0
|
|
playback/active = false
|
|
playback/repeat = false
|
|
playback/speed = 1.0
|
|
|
|
[node name="Timer" type="Timer" parent="." index="3"]
|
|
|
|
process_mode = 1
|
|
wait_time = 1.0
|
|
one_shot = true
|
|
autostart = false
|
|
|
|
[connection signal="tween_completed" from="Tween" to="." method="_on_Tween_tween_completed"]
|
|
|
|
[connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"]
|
|
|
|
|