32 lines
858 B
Plaintext
32 lines
858 B
Plaintext
[gd_scene load_steps=3 format=2]
|
|
|
|
[ext_resource path="res://images/game1/game1_player.tres" type="SpriteFrames" id=1]
|
|
|
|
[sub_resource type="RectangleShape2D" id=1]
|
|
|
|
[node name="Player" type="AnimatedSprite"]
|
|
frames = ExtResource( 1 )
|
|
offset = Vector2( 8, 0 )
|
|
|
|
[node name="Camera2D" type="Camera2D" parent="."]
|
|
|
|
[node name="Sensors" type="Node2D" parent="."]
|
|
|
|
[node name="Right" type="Area2D" parent="Sensors"]
|
|
position = Vector2( 16, 0 )
|
|
collision_layer = 0
|
|
collision_mask = 3
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Sensors/Right"]
|
|
scale = Vector2( 0.5, 0.5 )
|
|
shape = SubResource( 1 )
|
|
|
|
[node name="Left" type="Area2D" parent="Sensors"]
|
|
position = Vector2( -16, 0 )
|
|
collision_layer = 0
|
|
collision_mask = 3
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Sensors/Left"]
|
|
scale = Vector2( 0.5, 0.5 )
|
|
shape = SubResource( 1 )
|