Cambiados los aspectos visuales del juego a algo gotico
This commit is contained in:
1 parent
ec7e35ddf6
commit
967b3a286d
205 files changed
+7056
-1630
No files matched your search
@@ -0,0 +1,29 @@
|
||||
[gd_scene load_steps=4 format=3]
|
||||
|
||||
[ext_resource type="Texture2D" path="res://assets/ashen/environment/abbey_back.png" id="background"]
|
||||
|
||||
[sub_resource type="Shader" id="Vignette"]
|
||||
code = "shader_type canvas_item;
|
||||
render_mode unshaded;
|
||||
void fragment() {
|
||||
vec4 art = texture(TEXTURE, UV);
|
||||
vec2 p = SCREEN_UV * 2.0 - 1.0;
|
||||
float vignette = 1.0 - smoothstep(0.3, 1.45, length(p));
|
||||
float shade = 0.26 + 0.50 * vignette;
|
||||
COLOR = vec4(art.rgb * shade * vec3(0.90,0.90,1.0), art.a);
|
||||
}
|
||||
"
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="VignetteMaterial"]
|
||||
shader = SubResource("Vignette")
|
||||
|
||||
[node name="AshenBackdrop" type="TextureRect"]
|
||||
material = SubResource("VignetteMaterial")
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
mouse_filter = 2
|
||||
texture_filter = 1
|
||||
texture = ExtResource("background")
|
||||
expand_mode = 1
|
||||
stretch_mode = 6
|
||||
@@ -2,7 +2,7 @@ class_name CharacterCard
|
||||
extends Button
|
||||
|
||||
## Una tarjeta es un boton completo: imagen y etiquetas no interceptan el tacto.
|
||||
## Su retrato usa el primer idle del mismo SpriteFrames que se vera durante la partida.
|
||||
## Retrato derivado del primer idle; el SpriteFrames sigue siendo el fallback del editor.
|
||||
signal character_chosen(character: CharacterData)
|
||||
@export var character_data: CharacterData
|
||||
|
||||
@@ -11,11 +11,14 @@ func _ready() -> void:
|
||||
if character_data == null:
|
||||
disabled = true
|
||||
return
|
||||
$Content/Layout/Name.text = character_data.display_name
|
||||
$Content/Layout/Name.text = character_data.display_name.to_upper()
|
||||
$Content/Layout/Role.text = character_data.role_name
|
||||
var frames: SpriteFrames = character_data.sprite_frames
|
||||
if frames != null and frames.has_animation(&"idle") and frames.get_frame_count(&"idle") > 0:
|
||||
$Content/Layout/Portrait.texture = frames.get_frame_texture(&"idle", 0)
|
||||
var portrait_path: String = "res://assets/ashen/portraits/%s.png" % character_data.id
|
||||
if ResourceLoader.exists(portrait_path, "Texture2D"):
|
||||
$Content/Layout/Portrait.texture = load(portrait_path) as Texture2D
|
||||
tooltip_text = character_data.display_name + " - " + character_data.role_name
|
||||
pressed.connect(_choose)
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
[ext_resource type="Script" path="res://ui/menu/character_card.gd" id="script"]
|
||||
|
||||
[node name="CharacterCard" type="Button"]
|
||||
custom_minimum_size = Vector2(140, 184)
|
||||
custom_minimum_size = Vector2(220, 216)
|
||||
size_flags_horizontal = 3
|
||||
script = ExtResource("script")
|
||||
|
||||
@@ -13,10 +13,10 @@ anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
mouse_filter = 2
|
||||
theme_override_constants/margin_left = 12
|
||||
theme_override_constants/margin_top = 8
|
||||
theme_override_constants/margin_right = 12
|
||||
theme_override_constants/margin_bottom = 10
|
||||
theme_override_constants/margin_left = 24
|
||||
theme_override_constants/margin_top = 16
|
||||
theme_override_constants/margin_right = 24
|
||||
theme_override_constants/margin_bottom = 16
|
||||
|
||||
[node name="Layout" type="VBoxContainer" parent="Content"]
|
||||
layout_mode = 2
|
||||
@@ -24,7 +24,7 @@ mouse_filter = 2
|
||||
theme_override_constants/separation = 4
|
||||
|
||||
[node name="Portrait" type="TextureRect" parent="Content/Layout"]
|
||||
custom_minimum_size = Vector2(0, 112)
|
||||
custom_minimum_size = Vector2(0, 128)
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
mouse_filter = 2
|
||||
@@ -35,13 +35,14 @@ stretch_mode = 5
|
||||
[node name="Name" type="Label" parent="Content/Layout"]
|
||||
layout_mode = 2
|
||||
mouse_filter = 2
|
||||
theme_override_font_sizes/font_size = 22
|
||||
theme_override_font_sizes/font_size = 24
|
||||
text = "PERSONAJE"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="Role" type="Label" parent="Content/Layout"]
|
||||
layout_mode = 2
|
||||
mouse_filter = 2
|
||||
theme_override_font_sizes/font_size = 14
|
||||
theme_override_font_sizes/font_size = 16
|
||||
theme_override_colors/font_color = Color(0.60, 0.57, 0.48, 1)
|
||||
text = "INTEGRANTE"
|
||||
horizontal_alignment = 1
|
||||
@@ -15,6 +15,7 @@ script = ExtResource("script")
|
||||
[node name="LevelName" type="Label" parent="."]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 16
|
||||
theme_override_colors/font_color = Color(0.64, 0.60, 0.51, 1)
|
||||
text = "Elige quien entra en el nivel"
|
||||
horizontal_alignment = 1
|
||||
autowrap_mode = 3
|
||||
|
||||
@@ -149,7 +149,7 @@ func _update_screen() -> void:
|
||||
cancel_button.visible = _screen == Screen.CONFIRM_EXIT
|
||||
match _screen:
|
||||
Screen.PAUSED:
|
||||
heading.add_theme_color_override("font_color", Color(0.9, 0.96, 0.61))
|
||||
heading.add_theme_color_override("font_color", Color(0.88, 0.79, 0.60))
|
||||
heading.text = "PAUSA"
|
||||
description.text = "Partida en pausa. Puedes continuar o abandonar el intento."
|
||||
Screen.CONFIRM_EXIT:
|
||||
@@ -158,11 +158,11 @@ func _update_screen() -> void:
|
||||
description.text = "Perderás el avance de esta pantalla y los objetos raros aún no confirmados."
|
||||
confirm_button.text = "SI, IR AL SELECTOR" if _exit_to_levels else "SI, IR AL TITULO"
|
||||
Screen.DEFEAT:
|
||||
heading.add_theme_color_override("font_color", Color(1.0, 0.52, 0.49))
|
||||
heading.add_theme_color_override("font_color", Color(0.83, 0.34, 0.32))
|
||||
heading.text = "HAS MUERTO..."
|
||||
description.text = "El intento ha terminado. Puedes volver a empezar o elegir otro nivel."
|
||||
Screen.VICTORY:
|
||||
heading.add_theme_color_override("font_color", Color(0.82, 0.97, 0.57))
|
||||
heading.add_theme_color_override("font_color", Color(0.88, 0.78, 0.52))
|
||||
heading.text = "¡VICTORIA!"
|
||||
if _next_level_path.is_empty():
|
||||
description.text = "¡Nivel completado! No quedan mas niveles disponibles por ahora."
|
||||
|
||||
@@ -1,26 +1,34 @@
|
||||
[gd_scene load_steps=5 format=3]
|
||||
[gd_scene load_steps=7 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://ui/menu/level_navigation.gd" id="script"]
|
||||
[ext_resource type="Script" path="res://ui/editor_ui_visibility.gd" id="editor_ui_visibility"]
|
||||
[ext_resource type="Theme" path="res://ui/menu/menu_theme.tres" id="theme"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="ResultPanel"]
|
||||
content_margin_left = 0.0
|
||||
content_margin_top = 0.0
|
||||
content_margin_right = 0.0
|
||||
content_margin_bottom = 0.0
|
||||
bg_color = Color(0.095, 0.115, 0.145, 0.98)
|
||||
border_width_left = 3
|
||||
border_width_top = 3
|
||||
border_width_right = 3
|
||||
border_width_bottom = 3
|
||||
border_color = Color(0.56, 0.67, 0.49, 1)
|
||||
corner_radius_top_left = 12
|
||||
corner_radius_top_right = 12
|
||||
corner_radius_bottom_left = 12
|
||||
corner_radius_bottom_right = 12
|
||||
shadow_color = Color(0, 0, 0, 0.55)
|
||||
shadow_size = 12
|
||||
[ext_resource type="Texture2D" path="res://assets/ashen/ui/button_plate.png" id="plate"]
|
||||
|
||||
[sub_resource type="StyleBoxTexture" id="ResultPanel"]
|
||||
texture = ExtResource("plate")
|
||||
texture_margin_left = 36.0
|
||||
texture_margin_top = 18.0
|
||||
texture_margin_right = 36.0
|
||||
texture_margin_bottom = 16.0
|
||||
content_margin_left = 12.0
|
||||
content_margin_top = 10.0
|
||||
content_margin_right = 12.0
|
||||
content_margin_bottom = 10.0
|
||||
modulate_color = Color(0.86, 0.76, 0.58, 1)
|
||||
|
||||
[sub_resource type="StyleBoxTexture" id="PausePlate"]
|
||||
texture = ExtResource("plate")
|
||||
texture_margin_left = 24.0
|
||||
texture_margin_top = 18.0
|
||||
texture_margin_right = 36.0
|
||||
texture_margin_bottom = 16.0
|
||||
content_margin_left = 10.0
|
||||
content_margin_top = 8.0
|
||||
content_margin_right = 10.0
|
||||
content_margin_bottom = 8.0
|
||||
modulate_color = Color(0.67, 0.62, 0.52, 0.9)
|
||||
|
||||
[node name="LevelNavigation" type="CanvasLayer"]
|
||||
process_mode = 3
|
||||
@@ -39,16 +47,21 @@ mouse_filter = 2
|
||||
theme = ExtResource("theme")
|
||||
|
||||
[node name="Pause" type="Button" parent="Overlay"]
|
||||
custom_minimum_size = Vector2(148, 60)
|
||||
custom_minimum_size = Vector2(72, 48)
|
||||
layout_mode = 1
|
||||
anchor_left = 1.0
|
||||
anchor_right = 1.0
|
||||
offset_left = -164.0
|
||||
offset_top = 16.0
|
||||
offset_right = -16.0
|
||||
offset_bottom = 76.0
|
||||
offset_left = -90.0
|
||||
offset_top = 18.0
|
||||
offset_right = -18.0
|
||||
offset_bottom = 66.0
|
||||
grow_horizontal = 0
|
||||
text = "II PAUSA"
|
||||
theme_override_styles/normal = SubResource("PausePlate")
|
||||
theme_override_styles/hover = SubResource("PausePlate")
|
||||
theme_override_styles/pressed = SubResource("PausePlate")
|
||||
theme_override_font_sizes/font_size = 16
|
||||
text = "II"
|
||||
tooltip_text = "Pausa (Esc)"
|
||||
|
||||
[node name="Pending" type="Label" parent="Overlay"]
|
||||
visible = false
|
||||
@@ -61,7 +74,7 @@ offset_right = -16.0
|
||||
offset_bottom = 150.0
|
||||
grow_horizontal = 0
|
||||
mouse_filter = 2
|
||||
theme_override_colors/font_color = Color(1, 0.8, 0.35, 1)
|
||||
theme_override_colors/font_color = Color(0.86, 0.70, 0.44, 1)
|
||||
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
|
||||
theme_override_constants/shadow_offset_x = 2
|
||||
theme_override_constants/shadow_offset_y = 2
|
||||
@@ -79,7 +92,7 @@ anchor_bottom = 0.5
|
||||
offset_top = -32.0
|
||||
offset_bottom = 48.0
|
||||
mouse_filter = 2
|
||||
theme_override_colors/font_color = Color(1, 0.9, 0.55, 1)
|
||||
theme_override_colors/font_color = Color(0.91, 0.81, 0.62, 1)
|
||||
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
|
||||
theme_override_constants/shadow_offset_x = 2
|
||||
theme_override_constants/shadow_offset_y = 2
|
||||
@@ -94,7 +107,7 @@ anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
mouse_filter = 0
|
||||
color = Color(0.015, 0.02, 0.028, 0.85)
|
||||
color = Color(0.018, 0.013, 0.022, 0.83)
|
||||
|
||||
[node name="Dialog" type="CenterContainer" parent="Overlay"]
|
||||
visible = false
|
||||
@@ -109,7 +122,7 @@ offset_bottom = -12.0
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="Panel" type="PanelContainer" parent="Overlay/Dialog"]
|
||||
custom_minimum_size = Vector2(540, 0)
|
||||
custom_minimum_size = Vector2(580, 0)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 4
|
||||
@@ -117,9 +130,9 @@ theme_override_styles/panel = SubResource("ResultPanel")
|
||||
|
||||
[node name="Margin" type="MarginContainer" parent="Overlay/Dialog/Panel"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 28
|
||||
theme_override_constants/margin_left = 36
|
||||
theme_override_constants/margin_top = 24
|
||||
theme_override_constants/margin_right = 28
|
||||
theme_override_constants/margin_right = 36
|
||||
theme_override_constants/margin_bottom = 24
|
||||
|
||||
[node name="Options" type="VBoxContainer" parent="Overlay/Dialog/Panel/Margin"]
|
||||
@@ -128,8 +141,8 @@ theme_override_constants/separation = 10
|
||||
|
||||
[node name="Heading" type="Label" parent="Overlay/Dialog/Panel/Margin/Options"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 34
|
||||
theme_override_colors/font_color = Color(0.9, 0.96, 0.61, 1)
|
||||
theme_override_font_sizes/font_size = 32
|
||||
theme_override_colors/font_color = Color(0.88, 0.79, 0.60, 1)
|
||||
horizontal_alignment = 1
|
||||
autowrap_mode = 3
|
||||
text = "PAUSA"
|
||||
|
||||
+12
-2
@@ -1,11 +1,12 @@
|
||||
extends Control
|
||||
|
||||
## Menu provisional, coleccion persistente y selector de niveles sin lista manual.
|
||||
## Menu de la abadia, coleccion persistente y selector de niveles sin lista manual.
|
||||
## Solo descubre escenas directamente dentro de levels, nunca sus subcarpetas.
|
||||
const LEVEL_DIRECTORY: String = "res://levels"
|
||||
|
||||
@onready var characters_panel: VBoxContainer = $Margin/Layout/Characters
|
||||
@onready var title_label: Label = $Margin/Layout/Title
|
||||
@onready var brand: TextureRect = $Margin/Layout/Brand
|
||||
@onready var home_panel: VBoxContainer = $Margin/Layout/Home
|
||||
@onready var levels_panel: VBoxContainer = $Margin/Layout/Levels
|
||||
@onready var level_list: VBoxContainer = $Margin/Layout/Levels/Scroll/LevelList
|
||||
@@ -26,6 +27,7 @@ var _selected_level_path: String = ""
|
||||
|
||||
func _ready() -> void:
|
||||
set_process(false)
|
||||
$KeyboardHint.visible = not DisplayServer.is_touchscreen_available()
|
||||
# Volver desde una meta o abandonar exige una nueva eleccion, no un guardado de personaje.
|
||||
var session: RunSessionState = get_node_or_null("/root/RunSession") as RunSessionState
|
||||
var open_levels: bool = session != null and session.show_levels_on_menu_entry
|
||||
@@ -78,6 +80,8 @@ func _show_home() -> void:
|
||||
loading_panel.hide()
|
||||
error_label.hide()
|
||||
title_label.text = "INICIO"
|
||||
title_label.hide()
|
||||
brand.show()
|
||||
play_button.grab_focus()
|
||||
|
||||
|
||||
@@ -95,7 +99,7 @@ func _show_levels() -> void:
|
||||
var button := Button.new()
|
||||
button.text = level_label(path)
|
||||
button.tooltip_text = path.get_file()
|
||||
button.custom_minimum_size.y = 64.0
|
||||
button.custom_minimum_size.y = 72.0
|
||||
button.size_flags_horizontal = Control.SIZE_EXPAND_FILL
|
||||
# El texto no fuerza el ancho: sigue cabiendo en pantallas estrechas.
|
||||
button.clip_text = true
|
||||
@@ -107,6 +111,8 @@ func _show_levels() -> void:
|
||||
levels_panel.show()
|
||||
error_label.hide()
|
||||
title_label.text = "ELEGIR NIVEL"
|
||||
title_label.show()
|
||||
brand.hide()
|
||||
if level_list.get_child_count() > 0:
|
||||
(level_list.get_child(0) as Button).grab_focus()
|
||||
else:
|
||||
@@ -121,6 +127,8 @@ func _show_inventory() -> void:
|
||||
characters_panel.hide()
|
||||
error_label.hide()
|
||||
title_label.text = "OBJETOS RAROS"
|
||||
title_label.show()
|
||||
brand.hide()
|
||||
inventory_panel.call("show_collection")
|
||||
|
||||
|
||||
@@ -134,6 +142,8 @@ func _show_characters(path: String) -> void:
|
||||
inventory_panel.hide()
|
||||
error_label.hide()
|
||||
title_label.text = "ELEGIR PERSONAJE"
|
||||
title_label.show()
|
||||
brand.hide()
|
||||
characters_panel.call("show_roster", level_label(path))
|
||||
|
||||
|
||||
|
||||
+54
-27
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=5 format=3]
|
||||
[gd_scene load_steps=7 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://ui/menu/main_menu.gd" id="script"]
|
||||
[ext_resource type="Theme" path="res://ui/menu/menu_theme.tres" id="theme"]
|
||||
@@ -6,6 +6,9 @@
|
||||
[ext_resource type="PackedScene" path="res://ui/menu/rare_inventory.tscn" id="inventory"]
|
||||
[ext_resource type="PackedScene" path="res://ui/menu/character_select.tscn" id="characters"]
|
||||
|
||||
[ext_resource type="PackedScene" path="res://ui/menu/ashen_backdrop.tscn" id="backdrop"]
|
||||
[ext_resource type="Texture2D" path="res://assets/ashen/ui/title.png" id="brand"]
|
||||
|
||||
[node name="MainMenu" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
@@ -16,43 +19,52 @@ grow_vertical = 2
|
||||
theme = ExtResource("theme")
|
||||
script = ExtResource("script")
|
||||
|
||||
[node name="Background" type="ColorRect" parent="."]
|
||||
[node name="Background" parent="." instance=ExtResource("backdrop")]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
mouse_filter = 2
|
||||
color = Color(0.035, 0.045, 0.055, 1)
|
||||
|
||||
[node name="Margin" type="MarginContainer" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
theme_override_constants/margin_left = 32
|
||||
theme_override_constants/margin_top = 24
|
||||
theme_override_constants/margin_right = 32
|
||||
theme_override_constants/margin_bottom = 24
|
||||
anchor_left = 0.17
|
||||
anchor_top = 0.05
|
||||
anchor_right = 0.83
|
||||
anchor_bottom = 0.93
|
||||
theme_override_constants/margin_left = 8
|
||||
theme_override_constants/margin_top = 8
|
||||
theme_override_constants/margin_right = 8
|
||||
theme_override_constants/margin_bottom = 8
|
||||
|
||||
[node name="Layout" type="VBoxContainer" parent="Margin"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 16
|
||||
|
||||
[node name="Brand" type="TextureRect" parent="Margin/Layout"]
|
||||
custom_minimum_size = Vector2(0, 235)
|
||||
layout_mode = 2
|
||||
mouse_filter = 2
|
||||
texture_filter = 1
|
||||
texture = ExtResource("brand")
|
||||
expand_mode = 1
|
||||
stretch_mode = 5
|
||||
|
||||
[node name="Title" type="Label" parent="Margin/Layout"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 30
|
||||
theme_override_font_sizes/font_size = 32
|
||||
text = "INICIO"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="Home" type="VBoxContainer" parent="Margin/Layout"]
|
||||
custom_minimum_size = Vector2(440, 0)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 3
|
||||
theme_override_constants/separation = 18
|
||||
theme_override_constants/separation = 12
|
||||
alignment = 1
|
||||
|
||||
[node name="Hint" type="Label" parent="Margin/Layout/Home"]
|
||||
layout_mode = 2
|
||||
text = "Elige un escenario y entra a probar."
|
||||
theme_override_colors/font_color = Color(0.66, 0.62, 0.51, 1)
|
||||
theme_override_font_sizes/font_size = 16
|
||||
text = "DONDE CALLAN LAS CAMPANAS"
|
||||
horizontal_alignment = 1
|
||||
autowrap_mode = 3
|
||||
|
||||
@@ -64,7 +76,7 @@ text = "JUGAR"
|
||||
[node name="RareItems" type="Button" parent="Margin/Layout/Home"]
|
||||
custom_minimum_size = Vector2(0, 64)
|
||||
layout_mode = 2
|
||||
text = "OBJETOS RAROS"
|
||||
text = "RELICARIO"
|
||||
|
||||
[node name="Quit" type="Button" parent="Margin/Layout/Home"]
|
||||
custom_minimum_size = Vector2(0, 64)
|
||||
@@ -121,17 +133,18 @@ layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
color = Color(0.035, 0.045, 0.055, 1)
|
||||
color = Color(0.025, 0.02, 0.03, 0.96)
|
||||
|
||||
[node name="Content" type="VBoxContainer" parent="Loading"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = 32.0
|
||||
offset_top = 24.0
|
||||
offset_right = -32.0
|
||||
offset_bottom = -24.0
|
||||
anchor_left = 0.2
|
||||
anchor_top = 0.4
|
||||
anchor_right = 0.8
|
||||
anchor_bottom = 0.6
|
||||
offset_left = 0.0
|
||||
offset_top = 0.0
|
||||
offset_right = 0.0
|
||||
offset_bottom = 0.0
|
||||
theme_override_constants/separation = 24
|
||||
alignment = 1
|
||||
|
||||
@@ -142,6 +155,20 @@ horizontal_alignment = 1
|
||||
autowrap_mode = 3
|
||||
|
||||
[node name="Progress" type="ProgressBar" parent="Loading/Content"]
|
||||
custom_minimum_size = Vector2(0, 24)
|
||||
custom_minimum_size = Vector2(0, 8)
|
||||
layout_mode = 2
|
||||
show_percentage = false
|
||||
|
||||
[node name="KeyboardHint" type="Label" parent="."]
|
||||
layout_mode = 1
|
||||
anchor_left = 0.0
|
||||
anchor_top = 1.0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_top = -32.0
|
||||
offset_bottom = -12.0
|
||||
mouse_filter = 2
|
||||
theme_override_colors/font_color = Color(0.54, 0.51, 0.45, 1)
|
||||
theme_override_font_sizes/font_size = 16
|
||||
text = "A / D MOVER W SALTAR J ATAQUE K CAER L SOLO"
|
||||
horizontal_alignment = 1
|
||||
+78
-43
@@ -1,54 +1,75 @@
|
||||
[gd_resource type="Theme" load_steps=6 format=3]
|
||||
[gd_resource type="Theme" load_steps=10 format=3]
|
||||
|
||||
[ext_resource type="FontFile" path="res://assets/fonts/PixelOperator8.ttf" id="font"]
|
||||
[ext_resource type="Texture2D" path="res://assets/ashen/ui/button_plate.png" id="plate"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="Normal"]
|
||||
content_margin_left = 22.0
|
||||
content_margin_top = 16.0
|
||||
content_margin_right = 22.0
|
||||
content_margin_bottom = 16.0
|
||||
bg_color = Color(0.12, 0.15, 0.18, 1)
|
||||
border_width_left = 2
|
||||
border_width_top = 2
|
||||
border_width_right = 2
|
||||
border_width_bottom = 2
|
||||
border_color = Color(0.35, 0.4, 0.43, 1)
|
||||
corner_radius_top_left = 4
|
||||
corner_radius_top_right = 4
|
||||
corner_radius_bottom_left = 4
|
||||
corner_radius_bottom_right = 4
|
||||
[sub_resource type="StyleBoxTexture" id="Normal"]
|
||||
texture = ExtResource("plate")
|
||||
texture_margin_left = 28.0
|
||||
texture_margin_top = 18.0
|
||||
texture_margin_right = 36.0
|
||||
texture_margin_bottom = 16.0
|
||||
content_margin_left = 36.0
|
||||
content_margin_top = 14.0
|
||||
content_margin_right = 36.0
|
||||
content_margin_bottom = 14.0
|
||||
modulate_color = Color(0.72, 0.65, 0.54, 1)
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="Hover"]
|
||||
content_margin_left = 22.0
|
||||
content_margin_top = 16.0
|
||||
content_margin_right = 22.0
|
||||
content_margin_bottom = 16.0
|
||||
bg_color = Color(0.20, 0.25, 0.26, 1)
|
||||
border_width_left = 2
|
||||
border_width_top = 2
|
||||
border_width_right = 2
|
||||
border_width_bottom = 2
|
||||
border_color = Color(0.7, 0.83, 0.32, 1)
|
||||
[sub_resource type="StyleBoxTexture" id="Hover"]
|
||||
texture = ExtResource("plate")
|
||||
texture_margin_left = 28.0
|
||||
texture_margin_top = 18.0
|
||||
texture_margin_right = 36.0
|
||||
texture_margin_bottom = 16.0
|
||||
content_margin_left = 36.0
|
||||
content_margin_top = 14.0
|
||||
content_margin_right = 36.0
|
||||
content_margin_bottom = 14.0
|
||||
modulate_color = Color(1, 0.92, 0.74, 1)
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="Pressed"]
|
||||
content_margin_left = 22.0
|
||||
[sub_resource type="StyleBoxTexture" id="Pressed"]
|
||||
texture = ExtResource("plate")
|
||||
texture_margin_left = 28.0
|
||||
texture_margin_top = 18.0
|
||||
texture_margin_right = 36.0
|
||||
texture_margin_bottom = 16.0
|
||||
content_margin_left = 36.0
|
||||
content_margin_top = 16.0
|
||||
content_margin_right = 22.0
|
||||
content_margin_bottom = 16.0
|
||||
bg_color = Color(0.25, 0.32, 0.15, 1)
|
||||
border_width_left = 2
|
||||
border_width_top = 2
|
||||
border_width_right = 2
|
||||
border_width_bottom = 2
|
||||
border_color = Color(0.8, 0.94, 0.4, 1)
|
||||
content_margin_right = 36.0
|
||||
content_margin_bottom = 12.0
|
||||
modulate_color = Color(0.72, 0.40, 0.31, 1)
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="Focus"]
|
||||
content_margin_left = 3.0
|
||||
content_margin_top = 3.0
|
||||
content_margin_right = 3.0
|
||||
content_margin_bottom = 3.0
|
||||
bg_color = Color(0, 0, 0, 0)
|
||||
border_width_left = 2
|
||||
border_width_top = 2
|
||||
border_width_right = 2
|
||||
border_width_bottom = 2
|
||||
border_color = Color(0.85, 0.95, 0.55, 1)
|
||||
border_color = Color(0.87, 0.68, 0.37, 0.9)
|
||||
expand_margin_left = -10.0
|
||||
expand_margin_top = -15.0
|
||||
expand_margin_right = -17.0
|
||||
expand_margin_bottom = -11.0
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="EmptyBar"]
|
||||
bg_color = Color(0.075, 0.063, 0.075, 1)
|
||||
border_width_left = 1
|
||||
border_width_top = 1
|
||||
border_width_right = 1
|
||||
border_width_bottom = 1
|
||||
border_color = Color(0.33, 0.26, 0.19, 1)
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="FillBar"]
|
||||
bg_color = Color(0.47, 0.32, 0.16, 1)
|
||||
border_width_top = 1
|
||||
border_color = Color(0.80, 0.63, 0.38, 1)
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="Track"]
|
||||
bg_color = Color(0.07, 0.055, 0.065, 1)
|
||||
content_margin_left = 6.0
|
||||
content_margin_right = 6.0
|
||||
|
||||
[resource]
|
||||
default_font = ExtResource("font")
|
||||
@@ -58,6 +79,20 @@ Button/styles/hover = SubResource("Hover")
|
||||
Button/styles/pressed = SubResource("Pressed")
|
||||
Button/styles/focus = SubResource("Focus")
|
||||
Button/styles/disabled = SubResource("Normal")
|
||||
Button/colors/font_color = Color(0.94, 0.95, 0.90, 1)
|
||||
Button/colors/font_disabled_color = Color(0.48, 0.52, 0.54, 1)
|
||||
Label/colors/font_color = Color(0.88, 0.91, 0.88, 1)
|
||||
Button/colors/font_color = Color(0.86, 0.81, 0.67, 1)
|
||||
Button/colors/font_hover_color = Color(1, 0.93, 0.75, 1)
|
||||
Button/colors/font_pressed_color = Color(0.96, 0.77, 0.59, 1)
|
||||
Button/colors/font_disabled_color = Color(0.42, 0.39, 0.34, 1)
|
||||
Button/colors/font_shadow_color = Color(0.02, 0.015, 0.02, 1)
|
||||
Button/constants/shadow_offset_x = 2
|
||||
Button/constants/shadow_offset_y = 2
|
||||
Label/colors/font_color = Color(0.82, 0.79, 0.69, 1)
|
||||
Label/colors/font_shadow_color = Color(0.02, 0.015, 0.02, 1)
|
||||
Label/constants/shadow_offset_x = 2
|
||||
Label/constants/shadow_offset_y = 2
|
||||
ProgressBar/styles/background = SubResource("EmptyBar")
|
||||
ProgressBar/styles/fill = SubResource("FillBar")
|
||||
VScrollBar/styles/scroll = SubResource("Track")
|
||||
VScrollBar/styles/grabber = SubResource("FillBar")
|
||||
VScrollBar/styles/grabber_highlight = SubResource("FillBar")
|
||||
VScrollBar/styles/grabber_pressed = SubResource("FillBar")
|
||||
@@ -14,7 +14,8 @@ horizontal_alignment = 1
|
||||
|
||||
[node name="Hint" type="Label" parent="."]
|
||||
layout_mode = 2
|
||||
text = "Encuentra el objeto y completa el nivel para conservarlo.\nSus mejoras son permanentes, automaticas y compartidas por todos los personajes."
|
||||
theme_override_font_sizes/font_size = 16
|
||||
text = "Conserva una reliquia al completar el nivel.\nSus mejoras permanentes protegen a toda la banda."
|
||||
horizontal_alignment = 1
|
||||
autowrap_mode = 3
|
||||
|
||||
|
||||
+17
-15
@@ -1,12 +1,14 @@
|
||||
[gd_scene load_steps=2 format=3]
|
||||
[gd_scene load_steps=3 format=3]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="panel"]
|
||||
bg_color = Color(0.085, 0.095, 0.12, 1)
|
||||
border_width_left = 3
|
||||
border_width_top = 1
|
||||
border_width_right = 1
|
||||
border_width_bottom = 1
|
||||
border_color = Color(0.65, 0.48, 0.18, 1)
|
||||
[ext_resource type="Texture2D" path="res://assets/ashen/ui/button_plate.png" id="plate"]
|
||||
|
||||
[sub_resource type="StyleBoxTexture" id="panel"]
|
||||
texture = ExtResource("plate")
|
||||
texture_margin_left = 28.0
|
||||
texture_margin_top = 18.0
|
||||
texture_margin_right = 36.0
|
||||
texture_margin_bottom = 24.0
|
||||
modulate_color = Color(0.65, 0.57, 0.45, 1)
|
||||
|
||||
[node name="RareItemCard" type="PanelContainer"]
|
||||
size_flags_horizontal = 3
|
||||
@@ -14,17 +16,17 @@ theme_override_styles/panel = SubResource("panel")
|
||||
|
||||
[node name="Margin" type="MarginContainer" parent="."]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 16
|
||||
theme_override_constants/margin_top = 16
|
||||
theme_override_constants/margin_right = 16
|
||||
theme_override_constants/margin_bottom = 16
|
||||
theme_override_constants/margin_left = 28
|
||||
theme_override_constants/margin_top = 24
|
||||
theme_override_constants/margin_right = 28
|
||||
theme_override_constants/margin_bottom = 24
|
||||
|
||||
[node name="Row" type="HBoxContainer" parent="Margin"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 16
|
||||
|
||||
[node name="Icon" type="TextureRect" parent="Margin/Row"]
|
||||
custom_minimum_size = Vector2(64, 64)
|
||||
custom_minimum_size = Vector2(96, 96)
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 4
|
||||
texture_filter = 1
|
||||
@@ -44,12 +46,12 @@ text = "Objeto raro"
|
||||
|
||||
[node name="State" type="Label" parent="Margin/Row/Text"]
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(1, 0.77, 0.26, 1)
|
||||
theme_override_colors/font_color = Color(0.83, 0.66, 0.38, 1)
|
||||
autowrap_mode = 3
|
||||
|
||||
[node name="Bonus" type="Label" parent="Margin/Row/Text"]
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(0.7, 1, 0.55, 1)
|
||||
theme_override_colors/font_color = Color(0.56, 0.73, 0.72, 1)
|
||||
autowrap_mode = 3
|
||||
|
||||
[node name="Description" type="Label" parent="Margin/Row/Text"]
|
||||
|
||||
Reference in new issue
Block a user