crabs-game/scenes/game1/Player.tscn

28 lines
780 B
Plaintext
Raw Normal View History

2020-08-18 18:49:16 +02:00
[gd_scene load_steps=3 format=2]
[ext_resource path="res://images/game1/game1_player.tres" type="SpriteFrames" id=1]
2020-08-18 18:49:16 +02:00
[sub_resource type="RectangleShape2D" id=1]
[node name="Player" type="AnimatedSprite"]
frames = ExtResource( 1 )
offset = Vector2( 8, 0 )
[node name="Camera2D" type="Camera2D" parent="."]
2020-08-18 18:49:16 +02:00
[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 )