renaming main theme

This commit is contained in:
betalars 2024-10-18 18:08:54 +02:00
parent 2d8a3329d3
commit 8b85a599c8
5 changed files with 3 additions and 5 deletions

View File

@ -3,7 +3,7 @@
[ext_resource type="Script" path="res://logic-scenes/board/card.gd" id="1_6ceun"] [ext_resource type="Script" path="res://logic-scenes/board/card.gd" id="1_6ceun"]
[ext_resource type="Texture2D" uid="uid://sv0nhkkur1tt" path="res://logic-scenes/board/card-textures/cardsheet.png" id="2_buevv"] [ext_resource type="Texture2D" uid="uid://sv0nhkkur1tt" path="res://logic-scenes/board/card-textures/cardsheet.png" id="2_buevv"]
[ext_resource type="Texture2D" uid="uid://kpmk21d8rlso" path="res://logic-scenes/board/particle_textures/star.png" id="3_8wu8j"] [ext_resource type="Texture2D" uid="uid://kpmk21d8rlso" path="res://logic-scenes/board/particle_textures/star.png" id="3_8wu8j"]
[ext_resource type="Theme" uid="uid://b056fn288p8ha" path="res://logic-scenes/themes/easy-handwriting.theme" id="3_mi4ah"] [ext_resource type="Theme" uid="uid://b056fn288p8ha" path="res://logic-scenes/themes/handwriting.theme" id="3_mi4ah"]
[ext_resource type="Texture2D" uid="uid://bqilajx05t0eb" path="res://logic-scenes/board/particle_textures/void_nomotion.png" id="4_jam8u"] [ext_resource type="Texture2D" uid="uid://bqilajx05t0eb" path="res://logic-scenes/board/particle_textures/void_nomotion.png" id="4_jam8u"]
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_foovg"] [sub_resource type="CapsuleShape2D" id="CapsuleShape2D_foovg"]

View File

@ -1,6 +1,6 @@
[gd_scene load_steps=9 format=3 uid="uid://d3pb25xuef2t2"] [gd_scene load_steps=9 format=3 uid="uid://d3pb25xuef2t2"]
[ext_resource type="Theme" uid="uid://b056fn288p8ha" path="res://logic-scenes/themes/easy-handwriting.theme" id="1_2apkb"] [ext_resource type="Theme" uid="uid://b056fn288p8ha" path="res://logic-scenes/themes/handwriting.theme" id="1_2apkb"]
[ext_resource type="Script" path="res://logic-scenes/collectable/collectable_ui.gd" id="1_tgjc2"] [ext_resource type="Script" path="res://logic-scenes/collectable/collectable_ui.gd" id="1_tgjc2"]
[ext_resource type="Texture2D" uid="uid://d0ucjqi8tx6vt" path="res://import/interface-elements/frame.png" id="3_63j61"] [ext_resource type="Texture2D" uid="uid://d0ucjqi8tx6vt" path="res://import/interface-elements/frame.png" id="3_63j61"]

View File

@ -44,10 +44,8 @@ func _on_streaming_notes_toggled(toggled_on):
# still needs handling to change the style # still needs handling to change the style
func _on_font_style_selected(index): func _on_font_style_selected(index):
match index: match index:
0:
return
1: 1:
State.current_main_theme = preload(\"res://logic-scenes/themes/easy-handwriting.theme\") State.current_main_theme = preload(\"res://logic-scenes/themes/handwriting.theme\")
print_debug(\"easy handwriting selected\") print_debug(\"easy handwriting selected\")
#owner.theme.set_font(\"NanumPenScript.ttf\") #owner.theme.set_font(\"NanumPenScript.ttf\")
return return

Binary file not shown.