Moved the menu into a new folder.

This commit is contained in:
Relintai 2020-07-12 19:46:30 +02:00
parent c294b4a008
commit dda00d0491
6 changed files with 7 additions and 5 deletions

View File

@ -2,7 +2,7 @@
[ext_resource path="res://ui/theme/ui_theme.tres" type="Theme" id=1]
[ext_resource path="res://ui/menu/CharacterEntry.tscn" type="PackedScene" id=2]
[ext_resource path="res://scenes/Menu.gd" type="Script" id=3]
[ext_resource path="res://menu/Menu.gd" type="Script" id=3]
[ext_resource path="res://ui/menu/menu_character_button_group.tres" type="ButtonGroup" id=4]
[ext_resource path="res://scenes/CharacterSelectorMenu.gd" type="Script" id=5]
[ext_resource path="res://scenes/CharacterCreationMenu.gd" type="Script" id=6]
@ -21,6 +21,7 @@
[ext_resource path="res://scripts/settings/DirectionalLightSettings.gd" type="Script" id=19]
[ext_resource path="res://ui/about/About.tscn" type="PackedScene" id=20]
[sub_resource type="VoxelmanLevelGenerator" id=1]
script = ExtResource( 18 )
_force_planet = -1

File diff suppressed because one or more lines are too long

View File

@ -77,7 +77,7 @@ _global_script_classes=[ {
"base": "Control",
"class": "Menu",
"language": "GDScript",
"path": "res://scenes/Menu.gd"
"path": "res://menu/Menu.gd"
}, {
"base": "Entity",
"class": "MobGD",

View File

@ -162,6 +162,7 @@ func renounce_character() -> void:
if ESS.can_class_level_up(class_profile.level):
class_profile.xp += b.entity.sclass_xp
var xpr : int = ESS.get_class_xp(class_profile.level)
while ESS.can_class_level_up(class_profile.level) and class_profile.xp >= xpr:

View File

@ -2,7 +2,7 @@
[ext_resource path="res://scenes/MainScene.gd" type="Script" id=1]
[ext_resource path="res://scenes/World.tscn" type="PackedScene" id=2]
[ext_resource path="res://scenes/Menu.tscn" type="PackedScene" id=3]
[ext_resource path="res://menu/Menu.tscn" type="PackedScene" id=3]
[ext_resource path="res://ui/theme/ui_theme.tres" type="Theme" id=4]
[ext_resource path="res://ui/debug/DebugInfo.tscn" type="PackedScene" id=5]
[ext_resource path="res://voxelman/debug/FreeLookCam.tscn" type="PackedScene" id=6]