forked from team-sg/hero-mark-2
41 lines
1.1 KiB
Text
41 lines
1.1 KiB
Text
[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 )
|
|
frame = 2
|
|
playing = true
|