CrawlingEnemy, PlantEnemy
This commit is contained in:
parent
930ff3e2bb
commit
f6758e1dba
6 changed files with 233 additions and 4 deletions
43
metroidvania/Scenes/Objects/EnemyBullet.tscn
Normal file
43
metroidvania/Scenes/Objects/EnemyBullet.tscn
Normal file
|
@ -0,0 +1,43 @@
|
|||
[gd_scene load_steps=5 format=2]
|
||||
|
||||
[ext_resource path="res://Scenes/Objects/Proyectile.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://Assets/Enemies/EnemyBullet.png" type="Texture" id=2]
|
||||
|
||||
[sub_resource type="Animation" id=1]
|
||||
resource_name = "Animate"
|
||||
length = 0.6
|
||||
loop = true
|
||||
tracks/0/type = "value"
|
||||
tracks/0/path = NodePath("Sprite:frame")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/keys = {
|
||||
"times": PoolRealArray( 0, 0.3 ),
|
||||
"transitions": PoolRealArray( 1, 1 ),
|
||||
"update": 1,
|
||||
"values": [ 0, 1 ]
|
||||
}
|
||||
|
||||
[sub_resource type="CircleShape2D" id=2]
|
||||
radius = 2.0
|
||||
|
||||
[node name="EnemyBullet" instance=ExtResource( 1 )]
|
||||
|
||||
[node name="Sprite" parent="." index="0"]
|
||||
texture = ExtResource( 2 )
|
||||
hframes = 2
|
||||
frame = 1
|
||||
|
||||
[node name="AnimationPlayer" parent="." index="2"]
|
||||
autoplay = "Animate"
|
||||
anims/Animate = SubResource( 1 )
|
||||
|
||||
[node name="Hitbox" parent="." index="3"]
|
||||
collision_mask = 6
|
||||
|
||||
[node name="Collider" parent="Hitbox" index="0"]
|
||||
shape = SubResource( 2 )
|
||||
|
||||
[editable path="Hitbox"]
|
Loading…
Add table
Add a link
Reference in a new issue