mirror of
https://github.com/Relintai/broken_seals.git
synced 2025-01-25 14:19:19 +01:00
Move the nameplates and world numbers.
This commit is contained in:
parent
17b0381bf5
commit
a35d3152ba
@ -801,7 +801,7 @@ func on_c_controlled_changed():
|
|||||||
|
|
||||||
set_process_input(false)
|
set_process_input(false)
|
||||||
set_process_unhandled_input(false)
|
set_process_unhandled_input(false)
|
||||||
var nameplatescn : PackedScene = ResourceLoader.load("res://ui/nameplates/NamePlate.tscn")
|
var nameplatescn : PackedScene = ResourceLoader.load("res://ui/world/nameplates/NamePlate.tscn")
|
||||||
_nameplate = nameplatescn.instance()
|
_nameplate = nameplatescn.instance()
|
||||||
add_child(_nameplate)
|
add_child(_nameplate)
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
[gd_scene load_steps=3 format=2]
|
[gd_scene load_steps=3 format=2]
|
||||||
|
|
||||||
[ext_resource path="res://ui/autoload/WorldNumbers.gd" type="Script" id=1]
|
[ext_resource path="res://ui/autoload/WorldNumbers.gd" type="Script" id=1]
|
||||||
[ext_resource path="res://ui/numbers/Number.tscn" type="PackedScene" id=2]
|
[ext_resource path="res://ui/world/numbers/Number.tscn" type="PackedScene" id=2]
|
||||||
|
|
||||||
|
|
||||||
[node name="WorldNumbers" type="Node"]
|
[node name="WorldNumbers" type="Node"]
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
[gd_scene load_steps=4 format=2]
|
[gd_scene load_steps=4 format=2]
|
||||||
|
|
||||||
[ext_resource path="res://ui/nameplates/name_plate_theme.tres" type="Theme" id=1]
|
[ext_resource path="res://ui/world/nameplates/name_plate_theme.tres" type="Theme" id=1]
|
||||||
[ext_resource path="res://ui/nameplates/texture_progress_fg.tres" type="Texture" id=2]
|
[ext_resource path="res://ui/world/nameplates/texture_progress_fg.tres" type="Texture" id=2]
|
||||||
[ext_resource path="res://player/NamePlate.gd" type="Script" id=3]
|
[ext_resource path="res://player/NamePlate.gd" type="Script" id=3]
|
||||||
|
|
||||||
[node name="NamePlate" type="VBoxContainer"]
|
[node name="NamePlate" type="VBoxContainer"]
|
@ -1,6 +1,6 @@
|
|||||||
[gd_resource type="Theme" load_steps=4 format=2]
|
[gd_resource type="Theme" load_steps=4 format=2]
|
||||||
|
|
||||||
[ext_resource path="res://ui/nameplates/name_plate_dynamicfont.tres" type="DynamicFont" id=1]
|
[ext_resource path="res://ui/world/nameplates/name_plate_dynamicfont.tres" type="DynamicFont" id=1]
|
||||||
|
|
||||||
[sub_resource type="StyleBoxFlat" id=1]
|
[sub_resource type="StyleBoxFlat" id=1]
|
||||||
bg_color = Color( 0.0627451, 0.0627451, 0.0627451, 0.823529 )
|
bg_color = Color( 0.0627451, 0.0627451, 0.0627451, 0.823529 )
|
@ -1,7 +1,7 @@
|
|||||||
[gd_scene load_steps=5 format=2]
|
[gd_scene load_steps=5 format=2]
|
||||||
|
|
||||||
[ext_resource path="res://ui/numbers/Number.gd" type="Script" id=1]
|
[ext_resource path="res://ui/world/numbers/Number.gd" type="Script" id=1]
|
||||||
[ext_resource path="res://ui/numbers/number_font.tres" type="DynamicFont" id=2]
|
[ext_resource path="res://ui/world/numbers/number_font.tres" type="DynamicFont" id=2]
|
||||||
|
|
||||||
[sub_resource type="Animation" id=1]
|
[sub_resource type="Animation" id=1]
|
||||||
resource_name = "crit"
|
resource_name = "crit"
|
@ -2,7 +2,6 @@
|
|||||||
|
|
||||||
[ext_resource path="res://fonts/VT323-Regular.ttf" type="DynamicFontData" id=1]
|
[ext_resource path="res://fonts/VT323-Regular.ttf" type="DynamicFontData" id=1]
|
||||||
|
|
||||||
|
|
||||||
[resource]
|
[resource]
|
||||||
size = 12
|
size = 12
|
||||||
font_data = ExtResource( 1 )
|
font_data = ExtResource( 1 )
|
Loading…
Reference in New Issue
Block a user