forked from team-sg/hero-mark-2
changed snail origin
This commit is contained in:
parent
1e0202864f
commit
ca3f67b1f1
4 changed files with 17 additions and 2 deletions
|
@ -55,7 +55,12 @@ position = Vector2( 138, 144 )
|
||||||
[node name="Enemies" type="Node2D" parent="."]
|
[node name="Enemies" type="Node2D" parent="."]
|
||||||
|
|
||||||
[node name="Snail" parent="Enemies" instance=ExtResource( 7 )]
|
[node name="Snail" parent="Enemies" instance=ExtResource( 7 )]
|
||||||
position = Vector2( 194, 171 )
|
position = Vector2( 192, 168 )
|
||||||
|
left_up_boundry = 3.0
|
||||||
|
right_down_boundry = 3.0
|
||||||
|
|
||||||
|
[node name="Snail2" parent="Enemies" instance=ExtResource( 7 )]
|
||||||
|
position = Vector2( 64, 112 )
|
||||||
left_up_boundry = 3.0
|
left_up_boundry = 3.0
|
||||||
right_down_boundry = 3.0
|
right_down_boundry = 3.0
|
||||||
|
|
||||||
|
@ -63,6 +68,12 @@ right_down_boundry = 3.0
|
||||||
position = Vector2( 120, 96 )
|
position = Vector2( 120, 96 )
|
||||||
right_down_boundry = 10.0
|
right_down_boundry = 10.0
|
||||||
|
|
||||||
|
[node name="Bat2" parent="Enemies" instance=ExtResource( 10 )]
|
||||||
|
position = Vector2( 32, 120 )
|
||||||
|
left_up_boundry = 4.0
|
||||||
|
right_down_boundry = 2.0
|
||||||
|
speed = 80
|
||||||
|
|
||||||
[node name="Death" type="TileMap" parent="."]
|
[node name="Death" type="TileMap" parent="."]
|
||||||
tile_set = ExtResource( 5 )
|
tile_set = ExtResource( 5 )
|
||||||
cell_size = Vector2( 8, 8 )
|
cell_size = Vector2( 8, 8 )
|
||||||
|
|
|
@ -35,16 +35,18 @@ faster_speed = 80
|
||||||
|
|
||||||
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
|
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
|
||||||
material = SubResource( 1 )
|
material = SubResource( 1 )
|
||||||
|
position = Vector2( 3, 3 )
|
||||||
frames = SubResource( 4 )
|
frames = SubResource( 4 )
|
||||||
playing = true
|
playing = true
|
||||||
|
|
||||||
[node name="Area2D" type="Area2D" parent="."]
|
[node name="Area2D" type="Area2D" parent="."]
|
||||||
|
|
||||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
||||||
position = Vector2( 0, 1 )
|
position = Vector2( 4, 4 )
|
||||||
shape = SubResource( 5 )
|
shape = SubResource( 5 )
|
||||||
|
|
||||||
[node name="RayCast2D" type="RayCast2D" parent="Area2D"]
|
[node name="RayCast2D" type="RayCast2D" parent="Area2D"]
|
||||||
|
position = Vector2( 0, 4 )
|
||||||
enabled = true
|
enabled = true
|
||||||
cast_to = Vector2( 32, 0 )
|
cast_to = Vector2( 32, 0 )
|
||||||
collision_mask = 8
|
collision_mask = 8
|
||||||
|
|
|
@ -600,6 +600,7 @@ tracks/4/keys = {
|
||||||
extents = Vector2( 6, 7 )
|
extents = Vector2( 6, 7 )
|
||||||
|
|
||||||
[node name="Player" type="KinematicBody2D"]
|
[node name="Player" type="KinematicBody2D"]
|
||||||
|
collision_layer = 2
|
||||||
script = ExtResource( 1 )
|
script = ExtResource( 1 )
|
||||||
|
|
||||||
[node name="Trail" type="Node" parent="."]
|
[node name="Trail" type="Node" parent="."]
|
||||||
|
|
|
@ -122,6 +122,7 @@ debug_show={
|
||||||
[layer_names]
|
[layer_names]
|
||||||
|
|
||||||
2d_physics/layer_1="general"
|
2d_physics/layer_1="general"
|
||||||
|
2d_physics/layer_2="player"
|
||||||
2d_physics/layer_4="vision"
|
2d_physics/layer_4="vision"
|
||||||
|
|
||||||
[physics]
|
[physics]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue