Added credits in the main menu
parent
4db654386c
commit
3dc9c78f77
|
|
@ -69,3 +69,53 @@ Unregister-ScheduledTask -TaskName godot_remote_debug -Confirm:$false -ErrorActi
|
|||
ssh_remote_deploy/cleanup_script="Stop-ScheduledTask -TaskName godot_remote_debug -ErrorAction:SilentlyContinue
|
||||
Unregister-ScheduledTask -TaskName godot_remote_debug -Confirm:$false -ErrorAction:SilentlyContinue
|
||||
Remove-Item -Recurse -Force '{temp_dir}'"
|
||||
|
||||
[preset.1]
|
||||
|
||||
name="Web"
|
||||
platform="Web"
|
||||
runnable=true
|
||||
dedicated_server=false
|
||||
custom_features=""
|
||||
export_filter="all_resources"
|
||||
include_filter=""
|
||||
exclude_filter=""
|
||||
export_path="../Hexwarden/index.html"
|
||||
patches=PackedStringArray()
|
||||
patch_delta_encoding=false
|
||||
patch_delta_compression_level_zstd=19
|
||||
patch_delta_min_reduction=0.1
|
||||
patch_delta_include_filters="*"
|
||||
patch_delta_exclude_filters=""
|
||||
encryption_include_filters=""
|
||||
encryption_exclude_filters=""
|
||||
seed=0
|
||||
encrypt_pck=false
|
||||
encrypt_directory=false
|
||||
script_export_mode=2
|
||||
|
||||
[preset.1.options]
|
||||
|
||||
custom_template/debug=""
|
||||
custom_template/release=""
|
||||
variant/extensions_support=false
|
||||
variant/thread_support=false
|
||||
vram_texture_compression/for_desktop=true
|
||||
vram_texture_compression/for_mobile=false
|
||||
html/export_icon=true
|
||||
html/custom_html_shell=""
|
||||
html/head_include=""
|
||||
html/canvas_resize_policy=2
|
||||
html/focus_canvas_on_start=true
|
||||
html/experimental_virtual_keyboard=false
|
||||
progressive_web_app/enabled=false
|
||||
progressive_web_app/ensure_cross_origin_isolation_headers=true
|
||||
progressive_web_app/offline_page=""
|
||||
progressive_web_app/display=1
|
||||
progressive_web_app/orientation=0
|
||||
progressive_web_app/icon_144x144=""
|
||||
progressive_web_app/icon_180x180=""
|
||||
progressive_web_app/icon_512x512=""
|
||||
progressive_web_app/background_color=Color(0, 0, 0, 1)
|
||||
threads/emscripten_pool_size=8
|
||||
threads/godot_pool_size=4
|
||||
|
|
|
|||
|
|
@ -0,0 +1,68 @@
|
|||
[gd_scene format=3 uid="uid://bhcew4ksnx081"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dt85lj7ts5i87" path="res://scripts/credits.gd" id="1_0ctdu"]
|
||||
[ext_resource type="Texture2D" uid="uid://2ddggeetjj1t" path="res://assets/images/screenshot_game.png" id="1_2ckv8"]
|
||||
[ext_resource type="FontFile" uid="uid://8v71dcws4q6o" path="res://assets/fonts/slkscre.ttf" id="2_0ctdu"]
|
||||
|
||||
[node name="Credits" type="CanvasLayer" unique_id=45816245]
|
||||
script = ExtResource("1_0ctdu")
|
||||
|
||||
[node name="BackgroundSprite" type="TextureRect" parent="." unique_id=356379919]
|
||||
z_index = -2
|
||||
offset_left = 4.0
|
||||
offset_top = 2.0
|
||||
offset_right = 1277.0
|
||||
offset_bottom = 718.0
|
||||
texture = ExtResource("1_2ckv8")
|
||||
expand_mode = 2
|
||||
|
||||
[node name="BackgroundRect" type="ColorRect" parent="." unique_id=2118797143]
|
||||
z_index = -1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
color = Color(0, 0, 0, 0.47058824)
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="." unique_id=391956149]
|
||||
z_index = 1
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -308.5
|
||||
offset_top = -106.0
|
||||
offset_right = 308.5
|
||||
offset_bottom = 106.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_constants/separation = 50
|
||||
alignment = 1
|
||||
|
||||
[node name="TitleLabel" type="Label" parent="VBoxContainer" unique_id=155909881]
|
||||
layout_mode = 2
|
||||
theme_override_fonts/font = ExtResource("2_0ctdu")
|
||||
theme_override_font_sizes/font_size = 64
|
||||
text = "Credits"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="CreditsLabel" type="Label" parent="VBoxContainer" unique_id=267626570]
|
||||
layout_mode = 2
|
||||
theme_override_fonts/font = ExtResource("2_0ctdu")
|
||||
theme_override_font_sizes/font_size = 20
|
||||
text = "Assets — Swordsman, Slimes, Tiles craftpix.net
|
||||
Asset — Witch AntumDeluge
|
||||
Asset — Various Effects bdragon1727
|
||||
|
||||
Music — Main Menu (8 Bit Dungeon) Kaden_Cook
|
||||
Music — In-Game (Ashveil) Pixelmaniax"
|
||||
|
||||
[node name="BackButton" type="Button" parent="VBoxContainer" unique_id=561894849]
|
||||
layout_mode = 2
|
||||
theme_override_fonts/font = ExtResource("2_0ctdu")
|
||||
theme_override_font_sizes/font_size = 32
|
||||
text = "Back"
|
||||
|
||||
[connection signal="pressed" from="VBoxContainer/BackButton" to="." method="_on_back_button_pressed"]
|
||||
|
|
@ -45,7 +45,8 @@ alignment = 1
|
|||
layout_mode = 2
|
||||
theme_override_fonts/font = ExtResource("4_3vvtq")
|
||||
theme_override_font_sizes/font_size = 64
|
||||
text = "Working Title"
|
||||
text = "Hexwarden"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="PlayButton" type="Button" parent="VBoxContainer" unique_id=1536378372]
|
||||
custom_minimum_size = Vector2(200, 45)
|
||||
|
|
@ -61,6 +62,12 @@ theme_override_fonts/font = ExtResource("4_3vvtq")
|
|||
theme_override_font_sizes/font_size = 32
|
||||
text = "Options"
|
||||
|
||||
[node name="CreditsButton" type="Button" parent="VBoxContainer" unique_id=98861855]
|
||||
layout_mode = 2
|
||||
theme_override_fonts/font = ExtResource("4_3vvtq")
|
||||
theme_override_font_sizes/font_size = 32
|
||||
text = "Credits"
|
||||
|
||||
[node name="QuitButton" type="Button" parent="VBoxContainer" unique_id=1704957427]
|
||||
custom_minimum_size = Vector2(200, 45)
|
||||
layout_mode = 2
|
||||
|
|
@ -70,4 +77,5 @@ text = "Quit"
|
|||
|
||||
[connection signal="pressed" from="VBoxContainer/PlayButton" to="." method="_on_play_button_pressed"]
|
||||
[connection signal="pressed" from="VBoxContainer/OptionsButton" to="." method="_on_options_button_pressed"]
|
||||
[connection signal="pressed" from="VBoxContainer/CreditsButton" to="." method="_on_credits_button_pressed"]
|
||||
[connection signal="pressed" from="VBoxContainer/QuitButton" to="." method="_on_quit_button_pressed"]
|
||||
|
|
|
|||
|
|
@ -0,0 +1,15 @@
|
|||
extends CanvasLayer
|
||||
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
pass # Replace with function body.
|
||||
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta: float) -> void:
|
||||
pass
|
||||
|
||||
|
||||
func _on_back_button_pressed() -> void:
|
||||
get_tree().change_scene_to_file("res://scenes/mainmenu.tscn")
|
||||
|
|
@ -0,0 +1 @@
|
|||
uid://dt85lj7ts5i87
|
||||
|
|
@ -9,5 +9,8 @@ func _on_play_button_pressed() -> void:
|
|||
func _on_options_button_pressed() -> void:
|
||||
get_tree().change_scene_to_file("res://scenes/options.tscn")
|
||||
|
||||
func _on_credits_button_pressed() -> void:
|
||||
get_tree().change_scene_to_file("res://scenes/credits.tscn")
|
||||
|
||||
func _on_quit_button_pressed() -> void:
|
||||
get_tree().quit()
|
||||
|
|
|
|||
Loading…
Reference in New Issue