-
Notifications
You must be signed in to change notification settings - Fork 0
/
bullet.tscn
39 lines (32 loc) · 1.42 KB
/
bullet.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
[gd_scene load_steps=8 format=3 uid="uid://cl4waundehbao"]
[ext_resource type="Script" path="res://bullet.gd" id="1_c42cd"]
[ext_resource type="Texture2D" uid="uid://3x0xhdaw1g2" path="res://assets/player_bullet2.png" id="2_ymuv1"]
[ext_resource type="Texture2D" uid="uid://bwnvpgvq7t2dl" path="res://assets/player_bullet1.png" id="3_xjv0t"]
[ext_resource type="Texture2D" uid="uid://4cl1yw57318p" path="res://assets/player_bullet3.png" id="4_iyo0h"]
[ext_resource type="Texture2D" uid="uid://dsegm8vcvo5r0" path="res://assets/shadow.png" id="5_y37g3"]
[sub_resource type="CircleShape2D" id="CircleShape2D_ho3hg"]
radius = 40.96
[sub_resource type="SpriteFrames" id="SpriteFrames_5abui"]
animations = [{
"frames": [ExtResource("2_ymuv1"), ExtResource("3_xjv0t"), ExtResource("4_iyo0h")],
"loop": true,
"name": &"default",
"speed": 10.0
}]
[node name="bullet" type="CharacterBody2D"]
collision_layer = 2
collision_mask = 52
script = ExtResource("1_c42cd")
[node name="shape" type="CollisionShape2D" parent="."]
position = Vector2(-2, 1)
shape = SubResource("CircleShape2D_ho3hg")
[node name="sprite" type="AnimatedSprite2D" parent="."]
position = Vector2(-33, 2)
scale = Vector2(1.24902, 1.28147)
frames = SubResource("SpriteFrames_5abui")
playing = true
[node name="shadow" type="Sprite2D" parent="."]
modulate = Color(0, 0.0470588, 0.176471, 0.513726)
position = Vector2(-19, 176)
scale = Vector2(1.3418, 1.3418)
texture = ExtResource("5_y37g3")