forked from team-sg/hero-mark-2
rolling fiend now blue
This commit is contained in:
parent
e25dd87774
commit
f797897a6c
10 changed files with 58 additions and 16 deletions
|
@ -25,28 +25,32 @@ extents = Vector2( 4, 4 )
|
|||
|
||||
[node name="RollingFiend" instance=ExtResource( 1 )]
|
||||
script = ExtResource( 3 )
|
||||
score_for_killing = 40
|
||||
move_speed = 50.0
|
||||
|
||||
[node name="AnimatedSprite" type="AnimatedSprite" parent="." index="0"]
|
||||
position = Vector2( 0, 1 )
|
||||
frames = SubResource( 3 )
|
||||
playing = true
|
||||
|
||||
[node name="Hitbox" type="Area2D" parent="." index="1"]
|
||||
position = Vector2( 0, 1 )
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Hitbox" index="0"]
|
||||
rotation = -0.020475
|
||||
shape = SubResource( 4 )
|
||||
|
||||
[node name="Raycasts" type="Node2D" parent="." index="2"]
|
||||
position = Vector2( 0, 1 )
|
||||
|
||||
[node name="WallCast" type="RayCast2D" parent="Raycasts" index="0"]
|
||||
position = Vector2( -8, 8 )
|
||||
position = Vector2( -7, 7 )
|
||||
enabled = true
|
||||
cast_to = Vector2( 0, -16 )
|
||||
cast_to = Vector2( 0, -14 )
|
||||
|
||||
[node name="FloorCast" type="RayCast2D" parent="Raycasts" index="1"]
|
||||
position = Vector2( -8, 9 )
|
||||
position = Vector2( -7, 8 )
|
||||
enabled = true
|
||||
cast_to = Vector2( 16, 0 )
|
||||
cast_to = Vector2( 14, 0 )
|
||||
|
||||
[connection signal="area_entered" from="Hitbox" to="." method="_on_Area2D_area_entered"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue