28 lines
780 B
Plaintext
28 lines
780 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 )
|
|
|
|
[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 )
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Sensors/Left"]
|
|
scale = Vector2( 0.5, 0.5 )
|
|
shape = SubResource( 1 )
|