New profiles system + auto version label

This commit is contained in:
gotfishmakesticks 2023-11-11 01:08:43 +03:00
commit 6ffa6e643b
7 changed files with 128 additions and 49 deletions

View file

@ -38,6 +38,17 @@ anchors_preset = 0
offset_right = 1280.0
offset_bottom = 720.0
[node name="Input" type="LineEdit" parent="Control"]
visible = false
layout_mode = 0
offset_left = 9.0
offset_top = 209.0
offset_right = 382.0
offset_bottom = 261.0
placeholder_text = "Enter your profile name here!"
alignment = 1
max_length = 128
[node name="MenuButton1" type="Button" parent="Control"]
layout_mode = 0
offset_left = 9.0
@ -77,3 +88,9 @@ offset_top = 488.0
offset_right = 381.0
offset_bottom = 541.0
script = ExtResource("5_q6x10")
[node name="ProfileStatus" type="Label" parent="Control"]
layout_mode = 0
offset_right = 199.0
offset_bottom = 26.0
text = "Current profile: {PROFILE}"

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=12 format=3 uid="uid://ccrs28h3b2tfy"]
[gd_scene load_steps=13 format=3 uid="uid://ccrs28h3b2tfy"]
[ext_resource type="Script" path="res://scripts/objects/MainShip.gd" id="1_h7kne"]
[ext_resource type="PackedScene" uid="uid://bbho4h6tg4jca" path="res://scenes/hulls/starterhull.tscn" id="2_r634y"]
@ -8,6 +8,7 @@
[ext_resource type="PackedScene" uid="uid://66m5gj2ufsop" path="res://scenes/shields/startershield.tscn" id="6_nihas"]
[ext_resource type="Script" path="res://scripts/misc/CameraTweaks.gd" id="7_5jx81"]
[ext_resource type="Script" path="res://scripts/misc/Counter.gd" id="8_udmcu"]
[ext_resource type="Script" path="res://scripts/misc/VersionLabel.gd" id="10_eil8s"]
[ext_resource type="Script" path="res://scripts/misc/PlayerPauseController.gd" id="13_8y0ow"]
[ext_resource type="PackedScene" uid="uid://dsmwg1rxedi3x" path="res://scenes/Minimap.tscn" id="14_o544g"]
@ -192,6 +193,7 @@ grow_horizontal = 0
text = "GammaCosmicRays version Ictar 1.1 unbuilt
This is a debug version for internal usage."
horizontal_alignment = 2
script = ExtResource("10_eil8s")
[node name="CanvasLayer" type="CanvasLayer" parent="."]
layer = 2