-
Notifications
You must be signed in to change notification settings - Fork 0
/
bullet.tscn
36 lines (29 loc) · 949 Bytes
/
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
[gd_scene load_steps=5 format=2]
[ext_resource path="res://assets/ball1.png" type="Texture" id=1]
[ext_resource path="res://bullet.gd" type="Script" id=2]
[sub_resource type="CircleShape2D" id=1]
radius = 8.0
[sub_resource type="Animation" id=2]
resource_name = "fade"
length = 0.3
tracks/0/type = "value"
tracks/0/path = NodePath(".:modulate")
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": 0,
"values": [ Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 0 ) ]
}
[node name="bullet" type="Area2D"]
scale = Vector2( 0.5, 0.5 )
script = ExtResource( 2 )
[node name="ball1" type="Sprite" parent="."]
texture = ExtResource( 1 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource( 1 )
[node name="animations" type="AnimationPlayer" parent="."]
anims/fade = SubResource( 2 )