mob balancing
This commit is contained in:
133
Scenes/Player/UI/pit_fiend_button.tscn
Normal file
133
Scenes/Player/UI/pit_fiend_button.tscn
Normal file
@@ -0,0 +1,133 @@
|
||||
[gd_scene load_steps=10 format=3 uid="uid://dm60a0uaiusfj"]
|
||||
|
||||
[ext_resource type="Theme" uid="uid://dr1h7to56a2pv" path="res://Themes/base_theme.tres" id="1_n0vxe"]
|
||||
[ext_resource type="ButtonGroup" uid="uid://gjbbywsr8n8b" path="res://Scenes/Player/UI/spawnables_button_group.tres" id="2_o453t"]
|
||||
[ext_resource type="Script" path="res://Scenes/Player/UI/spawnable_button.gd" id="3_f67rx"]
|
||||
[ext_resource type="PackedScene" uid="uid://cdwb2dp0orkiv" path="res://Scenes/Spawnables/pit_fiend_spawnable.tscn" id="4_blefd"]
|
||||
[ext_resource type="Texture2D" uid="uid://bne8uo8jnqd60" path="res://Assets/Golem/noBKG_GolemIdleExtra_strip.png" id="5_hmymq"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_bfog6"]
|
||||
atlas = ExtResource("5_hmymq")
|
||||
region = Rect2(0, 0, 64, 64)
|
||||
|
||||
[sub_resource type="Animation" id="Animation_r6yl2"]
|
||||
resource_name = "AnimateTextureRect"
|
||||
length = 0.416675
|
||||
loop_mode = 1
|
||||
step = 0.0833333
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("AnimatedTextureRect:texture:region")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 0.0833333, 0.166667, 0.25, 0.333333, 0.416667, 0.5, 0.583333, 0.666667, 0.75, 0.833333, 0.916667),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1),
|
||||
"update": 1,
|
||||
"values": [Rect2(0, 0, 64, 64), Rect2(64, 0, 64, 64), Rect2(128, 0, 64, 64), Rect2(192, 0, 64, 64), Rect2(256, 0, 64, 64), Rect2(320, 0, 64, 64), Rect2(384, 0, 64, 64), Rect2(448, 0, 64, 64), Rect2(512, 0, 64, 64), Rect2(576, 0, 64, 64), Rect2(640, 0, 64, 64), Rect2(704, 0, 64, 64)]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_tak1b"]
|
||||
length = 0.001
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("AnimatedTextureRect:texture:region")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 0,
|
||||
"values": [Rect2(0, 0, 64, 64)]
|
||||
}
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_0o4ue"]
|
||||
_data = {
|
||||
"AnimateTextureRect": SubResource("Animation_r6yl2"),
|
||||
"RESET": SubResource("Animation_tak1b")
|
||||
}
|
||||
|
||||
[node name="PitFiendButton" type="Button"]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_right = -854.0
|
||||
offset_bottom = -499.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
focus_mode = 0
|
||||
mouse_default_cursor_shape = 2
|
||||
theme = ExtResource("1_n0vxe")
|
||||
toggle_mode = true
|
||||
button_group = ExtResource("2_o453t")
|
||||
script = ExtResource("3_f67rx")
|
||||
spawnableScene = ExtResource("4_blefd")
|
||||
|
||||
[node name="AnimatedTextureRect" type="TextureRect" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_left = -1.78302
|
||||
anchor_top = -0.414634
|
||||
anchor_right = 2.78302
|
||||
anchor_bottom = 1.14634
|
||||
offset_left = 210.0
|
||||
offset_right = -210.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
texture = SubResource("AtlasTexture_bfog6")
|
||||
stretch_mode = 5
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
||||
speed_scale = 0.5
|
||||
libraries = {
|
||||
"": SubResource("AnimationLibrary_0o4ue")
|
||||
}
|
||||
|
||||
[node name="Label" type="Label" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 12
|
||||
anchor_top = 1.0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_top = -18.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 0
|
||||
theme = ExtResource("1_n0vxe")
|
||||
text = "Pit Fiend"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="ToolTip" type="PanelContainer" parent="."]
|
||||
visible = false
|
||||
layout_mode = 1
|
||||
anchors_preset = 12
|
||||
anchor_top = 1.0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = -10.0
|
||||
offset_top = -91.0
|
||||
offset_right = -10.0
|
||||
offset_bottom = -55.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 0
|
||||
mouse_filter = 2
|
||||
theme = ExtResource("1_n0vxe")
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="ToolTipLabel" type="Label" parent="ToolTip"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 0
|
||||
size_flags_vertical = 1
|
||||
text = "Attack : 100
|
||||
HP: 30
|
||||
"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 2
|
||||
|
||||
[connection signal="mouse_entered" from="." to="." method="_on_mouse_entered"]
|
||||
[connection signal="mouse_exited" from="." to="." method="_on_mouse_exited"]
|
||||
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=16 format=3 uid="uid://dmvukn3rl6gbx"]
|
||||
[gd_scene load_steps=17 format=3 uid="uid://dmvukn3rl6gbx"]
|
||||
|
||||
[ext_resource type="Script" path="res://Scenes/Player/UI/player_ui.gd" id="1_4nwdk"]
|
||||
[ext_resource type="PackedScene" uid="uid://dl0d1m1gfcd4o" path="res://Scenes/Player/UI/bat_button.tscn" id="1_tnnk6"]
|
||||
@@ -11,6 +11,7 @@
|
||||
[ext_resource type="Texture2D" uid="uid://p3scltkq3g87" path="res://Assets/16.png" id="6_id56p"]
|
||||
[ext_resource type="PackedScene" uid="uid://5yfkysexanoh" path="res://Scenes/Player/UI/wolf_button.tscn" id="10_igs07"]
|
||||
[ext_resource type="PackedScene" uid="uid://d370efcvbuchm" path="res://Scenes/Player/UI/necromancer_button.tscn" id="11_btls2"]
|
||||
[ext_resource type="PackedScene" uid="uid://dm60a0uaiusfj" path="res://Scenes/Player/UI/pit_fiend_button.tscn" id="12_jlddl"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_v6oad"]
|
||||
bg_color = Color(0.243137, 0.713726, 0.0627451, 0.301961)
|
||||
@@ -308,5 +309,5 @@ layout_mode = 2
|
||||
[node name="NecromancerButton" parent="UIRoot/ControlPanel/ButtonPanel" instance=ExtResource("11_btls2")]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="SpawnableButton4" parent="UIRoot/ControlPanel/ButtonPanel" instance=ExtResource("1_tnnk6")]
|
||||
[node name="PitFiendButton" parent="UIRoot/ControlPanel/ButtonPanel" instance=ExtResource("12_jlddl")]
|
||||
layout_mode = 2
|
||||
|
||||
Reference in New Issue
Block a user