add final boss to level select, make bullets hurt famira
This commit is contained in:
parent
c28e105e78
commit
f0a6cb49f3
8 changed files with 160 additions and 8 deletions
40
objects/enemy/2083_bullet.tscn
Normal file
40
objects/enemy/2083_bullet.tscn
Normal file
|
@ -0,0 +1,40 @@
|
|||
[gd_scene load_steps=8 format=2]
|
||||
|
||||
[ext_resource path="res://graphics/enemy/stg_bullet.png" type="Texture" id=1]
|
||||
[ext_resource path="res://objects/enemy/2083_bullet.gd" type="Script" id=2]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id=5]
|
||||
extents = Vector2( 3, 3 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=1]
|
||||
atlas = ExtResource( 1 )
|
||||
region = Rect2( 0, 0, 6, 6 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=2]
|
||||
atlas = ExtResource( 1 )
|
||||
region = Rect2( 6, 0, 6, 6 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=3]
|
||||
atlas = ExtResource( 1 )
|
||||
region = Rect2( 12, 0, 6, 6 )
|
||||
|
||||
[sub_resource type="SpriteFrames" id=4]
|
||||
animations = [ {
|
||||
"frames": [ SubResource( 1 ), SubResource( 2 ), SubResource( 3 ) ],
|
||||
"loop": true,
|
||||
"name": "default",
|
||||
"speed": 15.0
|
||||
} ]
|
||||
|
||||
[node name="2083Bullet" type="Area2D" groups=["hurt_famira"]]
|
||||
collision_layer = 128
|
||||
collision_mask = 128
|
||||
monitoring = false
|
||||
script = ExtResource( 2 )
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource( 5 )
|
||||
|
||||
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
|
||||
frames = SubResource( 4 )
|
||||
playing = true
|
Loading…
Add table
Add a link
Reference in a new issue