From 51c9dc52944c576aa2f53df2e9bf09365bee8842 Mon Sep 17 00:00:00 2001 From: Nicola Date: Wed, 6 May 2026 09:56:02 +0200 Subject: [PATCH] Added research symbol and keybinding. --- Assets/Images/ResearchSymbol.png | Bin 0 -> 352 bytes Assets/Images/ResearchSymbol.png.import | 40 ++++++++++++++++++ Assets/Images/Sources/ResearchSymbol.aseprite | Bin 0 -> 474 bytes Prefabs/Robot/RobotDisplay.tscn | 1 - Scenes/Game.tscn | 8 +++- project.godot | 5 +++ 6 files changed, 52 insertions(+), 2 deletions(-) create mode 100644 Assets/Images/ResearchSymbol.png create mode 100644 Assets/Images/ResearchSymbol.png.import create mode 100644 Assets/Images/Sources/ResearchSymbol.aseprite diff --git a/Assets/Images/ResearchSymbol.png b/Assets/Images/ResearchSymbol.png new file mode 100644 index 0000000000000000000000000000000000000000..bb0038466610e10b84fbde29470f94b6ce9336d8 GIT binary patch literal 352 zcmV-m0iXVfP)Px$8c9S!R9J=Wl}!r5Fc5`bRM4$1y-cC>B%Z*fg;KN>(q&K3m3uFsf|u#CSBM)E z(x3Dv9Z|6lLJMJLKH7ORz@&c{Bg`diYR(A(j&aE0Iv&oKE7r@Edb*AW*YR+F+yLN2 zShFM{PaJZQ7eYPtyK2ya5I}xf0RUN=V7EUYOOxt-Ni#x#nj}P<-U=WgJ_^vKuLY=f zuIbcb;*i&p<%NLB1*Soy63I@kbTop<*W()t>ypj5-LO(!BY=E~LtcV-CD7wLi?>0T zegV_r44xi5#+w|`y9xVv+6H2f3%WdQBZ^VXg2?Z?2~`Xw0LHBK);TcL(>7`%xArsz yz$j1K$a)u0Ibzf@qJa4LHf(G{f*g}3{f?fbqj@8Jlu4cd0000M3 literal 0 HcmV?d00001 diff --git a/Assets/Images/ResearchSymbol.png.import b/Assets/Images/ResearchSymbol.png.import new file mode 100644 index 0000000..a28914c --- /dev/null +++ b/Assets/Images/ResearchSymbol.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dt84awx33mulb" +path="res://.godot/imported/ResearchSymbol.png-e8f43265eb41a396705bd37c5092cde8.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Assets/Images/ResearchSymbol.png" +dest_files=["res://.godot/imported/ResearchSymbol.png-e8f43265eb41a396705bd37c5092cde8.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +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 diff --git a/Assets/Images/Sources/ResearchSymbol.aseprite b/Assets/Images/Sources/ResearchSymbol.aseprite new file mode 100644 index 0000000000000000000000000000000000000000..87e39c33244540e2e8876e3a554f7442db0e3dc3 GIT binary patch literal 474 zcmcb`$iVPmDIyADL{+>3Ji=OK?VUJqy>lqn*Qq}3)of`pao(;%&q{o63MzO zAe)5&D5?NtC@Gk@YS^S%8uo`--!D|VxghP`;aR^wnaz9}khRaid`g~orhbsOijj?_ zy?u#6LQ{0!!{pij|Fh0?ZfY z>{;!Ue=Bu;!omd?R?c5hxWZtE;5=qdgHk5TF5z!)E1vB+^tx~HmPZl%zxGbb{2rZ9 zqqF&X(dpv#^COjGJtem!Z;JRMeRJxX#Jx^_Rl6>gaOm%je;2>z>I;U?>rSsqX{~&o q$yk$@{qy^ary1e9=AL|WN@n5mS6z2zo#|T6nz8GWjrsHU1&aZ|28i+i literal 0 HcmV?d00001 diff --git a/Prefabs/Robot/RobotDisplay.tscn b/Prefabs/Robot/RobotDisplay.tscn index ddd89e2..126717d 100644 --- a/Prefabs/Robot/RobotDisplay.tscn +++ b/Prefabs/Robot/RobotDisplay.tscn @@ -36,7 +36,6 @@ text = "Jump to" [node name="CurrentScript" type="RichTextLabel" parent="HBoxContainer" unique_id=425408407] layout_mode = 2 size_flags_horizontal = 3 -text = "Scriptname" fit_content = true autowrap_mode = 0 horizontal_alignment = 1 diff --git a/Scenes/Game.tscn b/Scenes/Game.tscn index 5f38a53..e845bad 100644 --- a/Scenes/Game.tscn +++ b/Scenes/Game.tscn @@ -15,6 +15,7 @@ [ext_resource type="Texture2D" uid="uid://ban872p4eh4gi" path="res://Assets/Images/RobotSymbol.png" id="11_dahhg"] [ext_resource type="Texture2D" uid="uid://ciehcg34et0q3" path="res://Assets/Images/InventorySymbol.png" id="11_wxwew"] [ext_resource type="Texture2D" uid="uid://b77mo4fhklnja" path="res://Assets/Images/OptionsSymbol.png" id="12_3so38"] +[ext_resource type="Texture2D" uid="uid://dt84awx33mulb" path="res://Assets/Images/ResearchSymbol.png" id="13_alh3a"] [sub_resource type="CompressedTexture2D" id="CompressedTexture2D_u44n3"] @@ -414,9 +415,14 @@ autowrap_mode = 0 [node name="Inventory" type="TextureButton" parent="CanvasLayer/UIHandler/MainUI/FooterContainer/HBoxContainer" unique_id=1598826377] layout_mode = 2 -tooltip_text = "Map (M)" +tooltip_text = "Inventory (I)" texture_normal = ExtResource("11_wxwew") +[node name="Research" type="TextureButton" parent="CanvasLayer/UIHandler/MainUI/FooterContainer/HBoxContainer" unique_id=1945067079] +layout_mode = 2 +tooltip_text = "Research (T)" +texture_normal = ExtResource("13_alh3a") + [node name="Map" type="TextureButton" parent="CanvasLayer/UIHandler/MainUI/FooterContainer/HBoxContainer" unique_id=1320346210] layout_mode = 2 tooltip_text = "Map (M)" diff --git a/project.godot b/project.godot index a9f277d..da92f82 100644 --- a/project.godot +++ b/project.godot @@ -92,6 +92,11 @@ inventory={ "events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":73,"key_label":0,"unicode":105,"location":0,"echo":false,"script":null) ] } +research={ +"deadzone": 0.2, +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":84,"key_label":0,"unicode":116,"location":0,"echo":false,"script":null) +] +} [layer_names]