Move the nameplates and world numbers.

This commit is contained in:
Relintai 2022-02-12 19:53:45 +01:00
parent 17b0381bf5
commit a35d3152ba
10 changed files with 7 additions and 8 deletions

View File

@ -801,7 +801,7 @@ func on_c_controlled_changed():
set_process_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()
add_child(_nameplate)

View File

@ -1,7 +1,7 @@
[gd_scene load_steps=3 format=2]
[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"]

View File

@ -1,7 +1,7 @@
[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/nameplates/texture_progress_fg.tres" type="Texture" id=2]
[ext_resource path="res://ui/world/nameplates/name_plate_theme.tres" type="Theme" id=1]
[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]
[node name="NamePlate" type="VBoxContainer"]

View File

@ -1,6 +1,6 @@
[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]
bg_color = Color( 0.0627451, 0.0627451, 0.0627451, 0.823529 )

View File

@ -1,7 +1,7 @@
[gd_scene load_steps=5 format=2]
[ext_resource path="res://ui/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.gd" type="Script" id=1]
[ext_resource path="res://ui/world/numbers/number_font.tres" type="DynamicFont" id=2]
[sub_resource type="Animation" id=1]
resource_name = "crit"

View File

@ -2,7 +2,6 @@
[ext_resource path="res://fonts/VT323-Regular.ttf" type="DynamicFontData" id=1]
[resource]
size = 12
font_data = ExtResource( 1 )