forked from JohnnyRouddro/Godot_Third_Person_Shooter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
AmmoRefill.tscn
63 lines (50 loc) · 1.69 KB
/
AmmoRefill.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
[gd_scene load_steps=7 format=2]
[ext_resource path="res://AmmoRefill.gd" type="Script" id=1]
[ext_resource path="res://ui/Aldrich-Regular.ttf" type="DynamicFontData" id=2]
[sub_resource type="BoxShape" id=1]
[sub_resource type="SpatialMaterial" id=2]
params_cull_mode = 2
[sub_resource type="QuadMesh" id=3]
[sub_resource type="DynamicFont" id=4]
size = 140
outline_size = 4
outline_color = Color( 0.027451, 0.180392, 0.623529, 1 )
font_data = ExtResource( 2 )
[node name="AmmoRefill" type="Spatial"]
script = ExtResource( 1 )
[node name="Area" type="Area" parent="."]
[node name="CollisionShape" type="CollisionShape" parent="Area"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0 )
shape = SubResource( 1 )
[node name="MeshInstance" type="MeshInstance" parent="."]
transform = Transform( 2, 0, 0, 0, -8.74228e-08, -2, 0, 2, -8.74228e-08, 0, 0.00823611, 0 )
material_override = SubResource( 2 )
mesh = SubResource( 3 )
material/0 = null
[node name="Viewport" type="Viewport" parent="."]
size = Vector2( 512, 512 )
transparent_bg = true
[node name="Control" type="Control" parent="Viewport"]
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ColorRect" type="ColorRect" parent="Viewport/Control"]
margin_right = 512.0
margin_bottom = 512.0
color = Color( 0.752941, 0.831373, 1, 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label" type="Label" parent="Viewport/Control"]
margin_right = 512.0
margin_bottom = 512.0
custom_fonts/font = SubResource( 4 )
custom_colors/font_color = Color( 0.0431373, 0.494118, 0.878431, 1 )
text = "Rifle
Ammo"
align = 1
valign = 1
__meta__ = {
"_edit_use_anchors_": false
}
[connection signal="body_entered" from="Area" to="." method="_on_Area_body_entered"]