mirror of
https://github.com/Relintai/broken_seals.git
synced 2024-11-13 20:47:19 +01:00
AuraFrame is also a module now.
This commit is contained in:
parent
c292704eb2
commit
96a32aa928
@ -1,4 +1,4 @@
|
||||
extends MarginContainer
|
||||
extends Control
|
||||
|
||||
# Copyright (c) 2019-2020 Péter Magyar
|
||||
#
|
||||
|
@ -3,38 +3,41 @@
|
||||
[ext_resource path="res://ui/auraframe/AuraFrame.gd" type="Script" id=1]
|
||||
[ext_resource path="res://ui/auraframe/AuraEntry.tscn" type="PackedScene" id=2]
|
||||
|
||||
[node name="AuraFrame" type="MarginContainer"]
|
||||
anchor_left = 1.0
|
||||
[node name="AuraFrame" type="Control"]
|
||||
anchor_right = 1.0
|
||||
margin_left = -376.0
|
||||
margin_right = -1.0
|
||||
margin_bottom = 160.0
|
||||
anchor_bottom = 1.0
|
||||
mouse_filter = 2
|
||||
script = ExtResource( 1 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
aura_entry_scene = ExtResource( 2 )
|
||||
buff_container_path = NodePath("VBoxContainer/Buffs")
|
||||
debuff_container_path = NodePath("VBoxContainer/Debuffs")
|
||||
buff_container_path = NodePath("MarginContainer/VBoxContainer/Buffs")
|
||||
debuff_container_path = NodePath("MarginContainer/VBoxContainer/Debuffs")
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
||||
margin_right = 375.0
|
||||
margin_bottom = 160.0
|
||||
[node name="MarginContainer" type="MarginContainer" parent="."]
|
||||
anchor_left = 1.0
|
||||
anchor_right = 1.0
|
||||
margin_left = -335.0
|
||||
margin_bottom = 157.0
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"]
|
||||
margin_right = 335.0
|
||||
margin_bottom = 157.0
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="Buffs" type="GridContainer" parent="VBoxContainer"]
|
||||
margin_right = 375.0
|
||||
[node name="Buffs" type="GridContainer" parent="MarginContainer/VBoxContainer"]
|
||||
margin_right = 335.0
|
||||
margin_bottom = 76.0
|
||||
mouse_filter = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
columns = 9
|
||||
|
||||
[node name="Debuffs" type="GridContainer" parent="VBoxContainer"]
|
||||
margin_top = 84.0
|
||||
margin_right = 375.0
|
||||
margin_bottom = 160.0
|
||||
[node name="Debuffs" type="GridContainer" parent="MarginContainer/VBoxContainer"]
|
||||
margin_top = 80.0
|
||||
margin_right = 335.0
|
||||
margin_bottom = 157.0
|
||||
mouse_filter = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
|
10
game/ui/auraframe/game_module.tres
Normal file
10
game/ui/auraframe/game_module.tres
Normal file
@ -0,0 +1,10 @@
|
||||
[gd_resource type="Resource" load_steps=3 format=2]
|
||||
|
||||
[ext_resource path="res://scripts/game_modules/ui_gui_child_module.gd" type="Script" id=1]
|
||||
[ext_resource path="res://ui/auraframe/AuraFrame.tscn" type="PackedScene" id=2]
|
||||
|
||||
[resource]
|
||||
script = ExtResource( 1 )
|
||||
enabled = true
|
||||
scene = ExtResource( 2 )
|
||||
hide = false
|
@ -1,9 +1,8 @@
|
||||
[gd_scene load_steps=26 format=2]
|
||||
[gd_scene load_steps=25 format=2]
|
||||
|
||||
[ext_resource path="res://player/GUI.gd" type="Script" id=1]
|
||||
[ext_resource path="res://ui/ingame_menu/IngameMenu.tscn" type="PackedScene" id=2]
|
||||
[ext_resource path="res://player/Unitframes.gd" type="Script" id=3]
|
||||
[ext_resource path="res://ui/auraframe/AuraFrame.tscn" type="PackedScene" id=5]
|
||||
[ext_resource path="res://ui/theme/menu_icon.tres" type="Texture" id=6]
|
||||
[ext_resource path="res://ui/buttons/Buttons.gd" type="Script" id=9]
|
||||
[ext_resource path="res://ui/theme/ui_theme.tres" type="Theme" id=10]
|
||||
@ -277,10 +276,6 @@ margin_right = 151.0
|
||||
[node name="TargetUnitframe" parent="GUI/Unitframes" instance=ExtResource( 12 )]
|
||||
visible = false
|
||||
|
||||
[node name="AuraFrame" parent="GUI" instance=ExtResource( 5 )]
|
||||
margin_left = -331.0
|
||||
margin_bottom = 123.0
|
||||
|
||||
[node name="Castbar" parent="GUI" instance=ExtResource( 16 )]
|
||||
visible = false
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user