crabs-game/scenes/game1/Player.tscn

32 lines
858 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 )
2020-08-19 11:56:10 +02:00
collision_layer = 0
collision_mask = 3
2020-08-18 18:49:16 +02:00
[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 )
2020-08-19 11:56:10 +02:00
collision_layer = 0
collision_mask = 3
2020-08-18 18:49:16 +02:00
[node name="CollisionShape2D" type="CollisionShape2D" parent="Sensors/Left"]
scale = Vector2( 0.5, 0.5 )
shape = SubResource( 1 )