mirror of
https://github.com/Relintai/broken_seals_roguelike.git
synced 2024-11-21 13:17:17 +01:00
Fix unitframes, and the default ui scale settings.
This commit is contained in:
parent
2c8a120b8e
commit
73ae3000b9
@ -209,8 +209,8 @@ window/stretch/mode="2d"
|
||||
window/stretch/aspect="expand"
|
||||
mouse_cursor/sensitivity=0.9
|
||||
window/size/viewport_scale=100
|
||||
window/size/ui_scale=1.2
|
||||
window/size/ui_scale_touch=1.0
|
||||
window/size/ui_scale=1.0
|
||||
window/size/ui_scale_touch=1.2
|
||||
|
||||
[ess]
|
||||
|
||||
|
24
game/ui/unitframes/Unitframes.tscn
Normal file
24
game/ui/unitframes/Unitframes.tscn
Normal file
@ -0,0 +1,24 @@
|
||||
[gd_scene load_steps=4 format=2]
|
||||
|
||||
[ext_resource path="res://player/Unitframes.gd" type="Script" id=2]
|
||||
[ext_resource path="res://ui/unitframes/UnitframeBase.tscn" type="PackedScene" id=6]
|
||||
[ext_resource path="res://ui/unitframes/TargetUnitframe.tscn" type="PackedScene" id=7]
|
||||
|
||||
[node name="Unitframes" type="Control"]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
margin_left = 1.0
|
||||
margin_right = 1.0
|
||||
mouse_filter = 2
|
||||
script = ExtResource( 2 )
|
||||
__meta__ = {
|
||||
"_edit_lock_": true
|
||||
}
|
||||
player_unit_frame_path = NodePath("PlayerUnitFrame")
|
||||
target_unit_frame_path = NodePath("TargetUnitframe")
|
||||
|
||||
[node name="PlayerUnitFrame" parent="." instance=ExtResource( 6 )]
|
||||
margin_right = 151.0
|
||||
|
||||
[node name="TargetUnitframe" parent="." instance=ExtResource( 7 )]
|
||||
visible = false
|
10
game/ui/unitframes/game_module.tres
Normal file
10
game/ui/unitframes/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/unitframes/Unitframes.tscn" type="PackedScene" id=2]
|
||||
|
||||
[resource]
|
||||
script = ExtResource( 1 )
|
||||
enabled = true
|
||||
scene = ExtResource( 2 )
|
||||
hide = false
|
Loading…
Reference in New Issue
Block a user