2022 demo
This commit is contained in:
parent
c60375cb98
commit
4727fb0f55
41 changed files with 761 additions and 68 deletions
|
@ -26,7 +26,7 @@ animations = [ {
|
|||
} ]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id=5]
|
||||
extents = Vector2( 5.5, 6 )
|
||||
extents = Vector2( 4, 4 )
|
||||
|
||||
[node name="Snake" type="Node2D"]
|
||||
script = ExtResource( 3 )
|
||||
|
@ -35,13 +35,12 @@ score_for_killing = 15
|
|||
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
|
||||
material = SubResource( 1 )
|
||||
frames = SubResource( 4 )
|
||||
frame = 1
|
||||
playing = true
|
||||
|
||||
[node name="Area2D" type="Area2D" parent="."]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
||||
position = Vector2( 0.5, 2 )
|
||||
position = Vector2( 0, 4 )
|
||||
shape = SubResource( 5 )
|
||||
|
||||
[connection signal="area_entered" from="Area2D" to="." method="_on_Area2D_area_entered"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue