bing chilling

This commit is contained in:
Victor Turgeon 2023-10-11 08:01:18 -04:00
parent ea69342911
commit 3a0c92db83
2 changed files with 56 additions and 1 deletions

View File

@ -0,0 +1,50 @@
[gd_scene load_steps=6 format=3 uid="uid://0il8tqtdekpl"]
[ext_resource type="PackedScene" uid="uid://f7n8gd1wlv4v" path="res://Scenes/Player/UI/spawnable_button.tscn" id="1_4ck8k"]
[ext_resource type="PackedScene" uid="uid://bap3ds6o3m4i1" path="res://Scenes/Spawnables/necromancer_spawnable.tscn" id="2_tfd72"]
[ext_resource type="Texture2D" uid="uid://ddvr5ltbo8ome" path="res://Assets/Bat/noBKG_BatFlight_strip.png" id="3_h4xf7"]
[ext_resource type="Theme" uid="uid://dr1h7to56a2pv" path="res://Themes/base_theme.tres" id="4_oe55x"]
[sub_resource type="AtlasTexture" id="AtlasTexture_if561"]
resource_local_to_scene = true
atlas = ExtResource("3_h4xf7")
region = Rect2(64, 0, 64, 64)
[node name="NecromancerButton" instance=ExtResource("1_4ck8k")]
spawnableScene = ExtResource("2_tfd72")
[node name="AnimatedTextureRect" parent="." index="0"]
texture = SubResource("AtlasTexture_if561")
[node name="Label" parent="." index="2"]
text = "Bat"
[node name="ToolTip" type="PanelContainer" parent="." index="3"]
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("4_oe55x")
metadata/_edit_use_anchors_ = true
[node name="ToolTipLabel" type="Label" parent="ToolTip" index="0"]
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"]

View File

@ -1,4 +1,4 @@
[gd_scene load_steps=38 format=3 uid="uid://bap3ds6o3m4i1"]
[gd_scene load_steps=39 format=3 uid="uid://bap3ds6o3m4i1"]
[ext_resource type="PackedScene" uid="uid://kkfxguj0lr5a" path="res://Scenes/Spawnables/template_spawnable.tscn" id="1_scjiu"]
[ext_resource type="Texture2D" uid="uid://ckeayob6k71b1" path="res://Assets/Witch/noBKG_WitchIdle_strip.png" id="2_ryiw4"]
@ -6,6 +6,10 @@
[ext_resource type="Texture2D" uid="uid://cy1gf04evv1ds" path="res://Assets/Witch/noBKG_WitchWalk_strip.png" id="4_5ypov"]
[ext_resource type="Script" path="res://Scenes/Spawnables/AIs/ai_necromancer.gd" id="5_325bs"]
[sub_resource type="AtlasTexture" id="AtlasTexture_ac0gw"]
atlas = ExtResource("2_ryiw4")
region = Rect2(0, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_2n56f"]
atlas = ExtResource("2_ryiw4")
region = Rect2(0, 0, 64, 64)
@ -232,6 +236,7 @@ BludGen = 10.0
cost = 75
canAttack = false
monsterName = "Necromancer"
monsterIcon = SubResource("AtlasTexture_ac0gw")
[node name="AnimatedSprite2D" parent="." index="1"]
sprite_frames = SubResource("SpriteFrames_adqcd")