You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
1.9 KiB
53 lines
1.9 KiB
[gd_scene load_steps=5 format=3 uid="uid://dhfda4o386byp"]
|
|
|
|
[ext_resource type="Script" uid="uid://cdpsa4qrlai31" path="res://scripts/CSharp/Common/Minigame/RegionVisual.cs" id="1_4ymj8"]
|
|
[ext_resource type="Shader" uid="uid://d0dayn7dc885j" path="res://shader/minigame_pie_section.gdshader" id="1_8p2xn"]
|
|
|
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_86pvs"]
|
|
resource_local_to_scene = true
|
|
shader = ExtResource("1_8p2xn")
|
|
shader_parameter/textureSize = 400.0
|
|
shader_parameter/fillColor = Color(0.285466, 0.685481, 0.880632, 1)
|
|
shader_parameter/borderColor = Color(1, 1, 1, 1)
|
|
shader_parameter/borderWidth = 0.025
|
|
shader_parameter/angles = Vector2(0.01, 0.18)
|
|
shader_parameter/smoothWidth = 0.0052
|
|
|
|
[sub_resource type="PlaceholderTexture2D" id="PlaceholderTexture2D_0navw"]
|
|
size = Vector2(400, 400)
|
|
|
|
[node name="RegionVisual" type="Node2D" node_paths=PackedStringArray("_sliceSprite", "_textLabel", "_labelPivot")]
|
|
script = ExtResource("1_4ymj8")
|
|
_sliceSprite = NodePath("Sprite2D")
|
|
_textLabel = NodePath("LabelPivot/Label")
|
|
_labelPivot = NodePath("LabelPivot")
|
|
_fillColors = Dictionary[int, Color]({
|
|
0: Color(0.427493, 0.427493, 0.427493, 1),
|
|
1: Color(0.675735, 0.105671, 0.0799616, 1),
|
|
2: Color(0.645128, 0.346481, 0.215967, 1),
|
|
3: Color(0.754619, 0.665655, 0.384568, 1),
|
|
4: Color(0.365769, 0.400285, 0.598083, 1),
|
|
5: Color(0.222174, 0.457454, 0.45483, 1),
|
|
6: Color(0.316126, 0.448834, 0.312852, 1),
|
|
7: Color(0.244391, 0.640687, 0.283315, 1)
|
|
})
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
material = SubResource("ShaderMaterial_86pvs")
|
|
texture = SubResource("PlaceholderTexture2D_0navw")
|
|
|
|
[node name="LabelPivot" type="Node2D" parent="."]
|
|
|
|
[node name="Label" type="Label" parent="LabelPivot"]
|
|
custom_minimum_size = Vector2(100, 40)
|
|
offset_left = -50.0
|
|
offset_top = -240.0
|
|
offset_right = 50.0
|
|
offset_bottom = -200.0
|
|
pivot_offset = Vector2(50, 20)
|
|
size_flags_horizontal = 0
|
|
theme_override_font_sizes/font_size = 21
|
|
text = "test"
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|