add mine that explodes on contact with player, shot by arrow, or other mine's explosions
This commit is contained in:
parent
c577f0a57c
commit
8a47c20d94
12 changed files with 338 additions and 7 deletions
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=19 format=2]
|
||||
[gd_scene load_steps=21 format=2]
|
||||
|
||||
[ext_resource path="res://objects/player/player.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://tilesets/t_cave.tres" type="TileSet" id=2]
|
||||
|
@ -17,6 +17,8 @@
|
|||
[ext_resource path="res://objects/environment/moving_platform/moving_platform.tscn" type="PackedScene" id=15]
|
||||
[ext_resource path="res://objects/respawn_point.tscn" type="PackedScene" id=16]
|
||||
[ext_resource path="res://objects/player/arrow_projectile.tscn" type="PackedScene" id=17]
|
||||
[ext_resource path="res://objects/enemy/mine.tscn" type="PackedScene" id=18]
|
||||
[ext_resource path="res://objects/enemy/explosion.tscn" type="PackedScene" id=19]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id=1]
|
||||
extents = Vector2( 16, 20 )
|
||||
|
@ -125,3 +127,9 @@ position = Vector2( 128, 128 )
|
|||
[node name="ArrowProjectile2" parent="." instance=ExtResource( 17 )]
|
||||
position = Vector2( 198, 130 )
|
||||
speed = 0.0
|
||||
|
||||
[node name="Mine" parent="." instance=ExtResource( 18 )]
|
||||
position = Vector2( 232, 144 )
|
||||
|
||||
[node name="Explosion" parent="." instance=ExtResource( 19 )]
|
||||
position = Vector2( 160, 128 )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue