-
Notifications
You must be signed in to change notification settings - Fork 0
/
player.tscn
66 lines (55 loc) · 1.83 KB
/
player.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
[gd_scene load_steps=7 format=3 uid="uid://dlwcqfkotaj4m"]
[ext_resource type="Script" path="res://player.gd" id="1_bf3rj"]
[ext_resource type="Texture2D" uid="uid://c65q4e3xcuda0" path="res://player_assets/player0.png" id="2_50geh"]
[sub_resource type="Gradient" id="Gradient_yopa5"]
interpolation_mode = 2
offsets = PackedFloat32Array(0.344398, 0.684647)
colors = PackedColorArray(1, 1, 1, 0.407843, 1, 1, 1, 0)
[sub_resource type="GradientTexture2D" id="GradientTexture2D_v024l"]
gradient = SubResource("Gradient_yopa5")
width = 896
height = 896
fill = 1
fill_from = Vector2(0.509402, 0.470085)
[sub_resource type="CircleShape2D" id="CircleShape2D_fcv5b"]
[sub_resource type="LabelSettings" id="LabelSettings_6ktnt"]
font_color = Color(1, 0, 0, 1)
outline_size = 5
shadow_size = 0
[node name="Player" type="AnimatableBody2D"]
z_index = 100
z_as_relative = false
script = ExtResource("1_bf3rj")
[node name="Glow" type="Sprite2D" parent="."]
visible = false
texture = SubResource("GradientTexture2D_v024l")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("CircleShape2D_fcv5b")
[node name="Texture" type="Sprite2D" parent="."]
texture = ExtResource("2_50geh")
[node name="Shadow" type="Sprite2D" parent="Texture"]
modulate = Color(0, 0, 0, 0.392157)
show_behind_parent = true
position = Vector2(10, 4)
scale = Vector2(1.07, 1.07)
texture = ExtResource("2_50geh")
offset = Vector2(5, 5)
[node name="Label" type="Label" parent="."]
visible = false
custom_minimum_size = Vector2(20, 0)
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -0.5
offset_top = -11.5
offset_right = 0.5
offset_bottom = 11.5
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 4
text = "P"
label_settings = SubResource("LabelSettings_6ktnt")
horizontal_alignment = 1
vertical_alignment = 1