sharper icons and text, prompt fixes, project settings changes

This commit is contained in:
Nordup 2024-11-20 03:22:30 +04:00
parent 6a9bb0885b
commit ec97bd1ea6
11 changed files with 95 additions and 20 deletions

View file

@ -16,7 +16,7 @@ Rendering=null
antialiasing=1 antialiasing=1
generate_mipmaps=true generate_mipmaps=true
disable_embedded_bitmaps=true disable_embedded_bitmaps=true
multichannel_signed_distance_field=true multichannel_signed_distance_field=false
msdf_pixel_range=8 msdf_pixel_range=8
msdf_size=48 msdf_size=48
allow_system_fallback=true allow_system_fallback=true

View file

@ -16,7 +16,7 @@ Rendering=null
antialiasing=1 antialiasing=1
generate_mipmaps=true generate_mipmaps=true
disable_embedded_bitmaps=true disable_embedded_bitmaps=true
multichannel_signed_distance_field=true multichannel_signed_distance_field=false
msdf_pixel_range=8 msdf_pixel_range=8
msdf_size=48 msdf_size=48
allow_system_fallback=true allow_system_fallback=true

View file

@ -16,7 +16,7 @@ Rendering=null
antialiasing=1 antialiasing=1
generate_mipmaps=true generate_mipmaps=true
disable_embedded_bitmaps=true disable_embedded_bitmaps=true
multichannel_signed_distance_field=true multichannel_signed_distance_field=false
msdf_pixel_range=8 msdf_pixel_range=8
msdf_size=48 msdf_size=48
allow_system_fallback=true allow_system_fallback=true

View file

@ -16,7 +16,7 @@ Rendering=null
antialiasing=1 antialiasing=1
generate_mipmaps=true generate_mipmaps=true
disable_embedded_bitmaps=true disable_embedded_bitmaps=true
multichannel_signed_distance_field=true multichannel_signed_distance_field=false
msdf_pixel_range=8 msdf_pixel_range=8
msdf_size=48 msdf_size=48
allow_system_fallback=true allow_system_fallback=true

View file

@ -16,7 +16,7 @@ Rendering=null
antialiasing=1 antialiasing=1
generate_mipmaps=true generate_mipmaps=true
disable_embedded_bitmaps=true disable_embedded_bitmaps=true
multichannel_signed_distance_field=true multichannel_signed_distance_field=false
msdf_pixel_range=8 msdf_pixel_range=8
msdf_size=48 msdf_size=48
allow_system_fallback=true allow_system_fallback=true

View file

@ -16,7 +16,7 @@ Rendering=null
antialiasing=1 antialiasing=1
generate_mipmaps=true generate_mipmaps=true
disable_embedded_bitmaps=true disable_embedded_bitmaps=true
multichannel_signed_distance_field=true multichannel_signed_distance_field=false
msdf_pixel_range=8 msdf_pixel_range=8
msdf_size=48 msdf_size=48
allow_system_fallback=true allow_system_fallback=true

View file

@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
version="1.1"
id="svg1"
width="64"
height="64"
viewBox="0 0 64 64"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs1" />
<g
id="g1"
transform="matrix(0.88572611,0,0,0.88573579,3.6565421,3.6560231)"
style="stroke-width:1.12901">
<ellipse
style="fill:none;stroke:#ffffff;stroke-width:5.64505508;stroke-linecap:round;stroke-opacity:1;stroke-dasharray:none"
id="path2"
cx="32.000252"
cy="32.000488"
rx="27.999643"
ry="27.999302" />
<path
style="fill:none;stroke:#ffffff;stroke-width:5.64506;stroke-linecap:round;stroke-dasharray:none;stroke-opacity:1"
d="M 32.000251,16.194419 V 32.000487 L 42.161406,42.161531"
id="path3" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 912 B

View file

@ -0,0 +1,39 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://d05w6jtfy01w2"
path.s3tc="res://.godot/imported/clock.svg-f120a2f8f26bcc69c0d6661da365ab74.s3tc.ctex"
path.etc2="res://.godot/imported/clock.svg-f120a2f8f26bcc69c0d6661da365ab74.etc2.ctex"
metadata={
"imported_formats": ["s3tc_bptc", "etc2_astc"],
"vram_texture": true
}
[deps]
source_file="res://assets/textures/clock.svg"
dest_files=["res://.godot/imported/clock.svg-f120a2f8f26bcc69c0d6661da365ab74.s3tc.ctex", "res://.godot/imported/clock.svg-f120a2f8f26bcc69c0d6661da365ab74.etc2.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
svg/scale=2.0
editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false

View file

@ -14,8 +14,8 @@ config/name="TheGates"
config/description="Building new Internet" config/description="Building new Internet"
config/tags=PackedStringArray("thegates") config/tags=PackedStringArray("thegates")
run/main_scene="res://scenes/app.tscn" run/main_scene="res://scenes/app.tscn"
run/enable_alt_space_menu=true
config/features=PackedStringArray("4.3") config/features=PackedStringArray("4.3")
run/max_fps=144
boot_splash/bg_color=Color(0, 0, 0, 0) boot_splash/bg_color=Color(0, 0, 0, 0)
boot_splash/show_image=false boot_splash/show_image=false
config/icon="res://app_icon/icon.svg" config/icon="res://app_icon/icon.svg"
@ -35,6 +35,7 @@ Backend="*res://scripts/api/backend.gd"
[debug] [debug]
file_logging/enable_file_logging=true
gdscript/warnings/integer_division=0 gdscript/warnings/integer_division=0
[display] [display]
@ -45,10 +46,12 @@ window/size/mode=2
window/size/borderless=true window/size/borderless=true
window/size/transparent=true window/size/transparent=true
window/energy_saving/keep_screen_on=false window/energy_saving/keep_screen_on=false
window/stretch/mode="canvas_items"
window/stretch/aspect="expand" window/stretch/aspect="expand"
window/per_pixel_transparency/allowed=true window/per_pixel_transparency/allowed=true
window/vsync/vsync_mode=3
[editor]
naming/script_name_casing=2
[gui] [gui]
@ -67,13 +70,16 @@ open_debug={
] ]
} }
[physics] [input_devices]
2d/physics_engine="GodotPhysics2D" buffering/agile_event_flushing=true
3d/physics_engine="GodotPhysics3D"
[network]
limits/tcp/connect_timeout_seconds=10
[rendering] [rendering]
textures/canvas_textures/default_texture_filter=2 textures/canvas_textures/default_texture_filter=2
textures/vram_compression/import_etc2_astc=true textures/vram_compression/import_etc2_astc=true
textures/default_filters/anisotropic_filtering_level=1 textures/default_filters/use_nearest_mipmap_filter=true

View file

@ -3,7 +3,7 @@
[ext_resource type="Script" path="res://scripts/ui/search/prompt.gd" id="1_7xv44"] [ext_resource type="Script" path="res://scripts/ui/search/prompt.gd" id="1_7xv44"]
[ext_resource type="Resource" uid="uid://b1xvdym0qh6td" path="res://resources/gate_events.res" id="2_33m26"] [ext_resource type="Resource" uid="uid://b1xvdym0qh6td" path="res://resources/gate_events.res" id="2_33m26"]
[ext_resource type="LabelSettings" uid="uid://bo2334w4lf3ug" path="res://assets/styles/text.tres" id="3_rbghg"] [ext_resource type="LabelSettings" uid="uid://bo2334w4lf3ug" path="res://assets/styles/text.tres" id="3_rbghg"]
[ext_resource type="Texture2D" uid="uid://byrcelmfy6r3l" path="res://assets/textures/search.svg" id="4_5kbr3"] [ext_resource type="Texture2D" uid="uid://d05w6jtfy01w2" path="res://assets/textures/clock.svg" id="4_lekwb"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_srt8r"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_srt8r"]
bg_color = Color(0.172549, 0.184314, 0.239216, 1) bg_color = Color(0.172549, 0.184314, 0.239216, 1)
@ -15,7 +15,8 @@ corner_radius_bottom_left = 15
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_l81vq"] [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_l81vq"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_6fg0o"] [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_6fg0o"]
content_margin_left = 40.0 content_margin_left = 32.0
content_margin_bottom = 2.0
[node name="prompt" type="Button" node_paths=PackedStringArray("prompt_text")] [node name="prompt" type="Button" node_paths=PackedStringArray("prompt_text")]
custom_minimum_size = Vector2(0, 32) custom_minimum_size = Vector2(0, 32)
@ -23,8 +24,6 @@ anchors_preset = 14
anchor_top = 0.5 anchor_top = 0.5
anchor_right = 1.0 anchor_right = 1.0
anchor_bottom = 0.5 anchor_bottom = 0.5
offset_top = -20.0
offset_bottom = 12.0
grow_horizontal = 2 grow_horizontal = 2
grow_vertical = 2 grow_vertical = 2
theme_override_styles/hover = SubResource("StyleBoxFlat_srt8r") theme_override_styles/hover = SubResource("StyleBoxFlat_srt8r")
@ -53,9 +52,9 @@ layout_mode = 1
anchors_preset = 4 anchors_preset = 4
anchor_top = 0.5 anchor_top = 0.5
anchor_bottom = 0.5 anchor_bottom = 0.5
offset_left = 12.0 offset_left = 10.0
offset_top = -8.0 offset_top = -8.0
offset_right = 28.0 offset_right = 26.0
offset_bottom = 8.0 offset_bottom = 8.0
grow_vertical = 2 grow_vertical = 2
mouse_filter = 1 mouse_filter = 1
@ -68,7 +67,7 @@ anchor_right = 1.0
anchor_bottom = 1.0 anchor_bottom = 1.0
grow_horizontal = 2 grow_horizontal = 2
grow_vertical = 2 grow_vertical = 2
texture = ExtResource("4_5kbr3") texture = ExtResource("4_lekwb")
expand_mode = 1 expand_mode = 1
[connection signal="pressed" from="." to="." method="_on_button_pressed"] [connection signal="pressed" from="." to="." method="_on_button_pressed"]

View file

@ -339,6 +339,7 @@ search = NodePath("..")
prompt_results = NodePath("Panel/VBoxContainer") prompt_results = NodePath("Panel/VBoxContainer")
[node name="Panel" type="Panel" parent="Prompt" node_paths=PackedStringArray("search_le")] [node name="Panel" type="Panel" parent="Prompt" node_paths=PackedStringArray("search_le")]
visible = false
top_level = true top_level = true
layout_mode = 1 layout_mode = 1
anchors_preset = 5 anchors_preset = 5