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
|
@ -1,3 +0,0 @@
|
|||
[gd_scene format=2]
|
||||
|
||||
[node name="Climber" type="Node2D"]
|
|
@ -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"]
|
||||
|
|
|
@ -30,6 +30,7 @@ extents = Vector2( 4, 4 )
|
|||
|
||||
[node name="Snail" type="Node2D" groups=["enemy"]]
|
||||
script = ExtResource( 3 )
|
||||
score_for_killing = 30
|
||||
slower_speed = 30
|
||||
faster_speed = 80
|
||||
|
||||
|
@ -37,6 +38,7 @@ faster_speed = 80
|
|||
material = SubResource( 1 )
|
||||
position = Vector2( 3, 3 )
|
||||
frames = SubResource( 4 )
|
||||
frame = 1
|
||||
playing = true
|
||||
|
||||
[node name="Area2D" type="Area2D" parent="."]
|
||||
|
|
|
@ -601,6 +601,7 @@ extents = Vector2( 6, 7 )
|
|||
|
||||
[node name="Player" type="KinematicBody2D"]
|
||||
collision_layer = 2
|
||||
collision_mask = 5
|
||||
script = ExtResource( 1 )
|
||||
|
||||
[node name="Trail" type="Node" parent="."]
|
||||
|
|
|
@ -16,6 +16,7 @@ extents = Vector2( 5, 4.5 )
|
|||
extents = Vector2( 5, 4.5 )
|
||||
|
||||
[node name="Rock" type="KinematicBody2D" groups=["pushable"]]
|
||||
collision_layer = 4
|
||||
script = ExtResource( 3 )
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="."]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue