diff options
author | Jacob Janzen <jacob.a.s.janzen@gmail.com> | 2024-11-15 19:59:53 -0600 |
---|---|---|
committer | Jacob Janzen <jacob.a.s.janzen@gmail.com> | 2024-11-15 19:59:53 -0600 |
commit | 524bcdf6570b517d75d4b1617e7c09172fe3cde2 (patch) | |
tree | 96964be6327fef7628d7debec65082f657c3d0d5 | |
parent | 33a6215be1c05efe3628509a1e0bb53f40b2a3ca (diff) |
refactor
-rw-r--r-- | UI/templeos_font.ttf (renamed from templeos_font.ttf) | bin | 84460 -> 84460 bytes | |||
-rw-r--r-- | UI/templeos_font.ttf.import (renamed from templeos_font.ttf.import) | 8 | ||||
-rw-r--r-- | UI/text.tres | 8 | ||||
-rw-r--r-- | scenes/buy_n_sell.gd (renamed from buy_n_sell.gd) | 0 | ||||
-rw-r--r-- | scenes/stockticker/BuyButton.png (renamed from BuyButton.png) | bin | 1344 -> 1344 bytes | |||
-rw-r--r-- | scenes/stockticker/BuyButton.png.import (renamed from BuyButton.png.import) | 8 | ||||
-rw-r--r-- | scenes/stockticker/BuyButtonPressed.png (renamed from BuyButtonPressed.png) | bin | 1357 -> 1357 bytes | |||
-rw-r--r-- | scenes/stockticker/BuyButtonPressed.png.import (renamed from BuyButtonPressed.png.import) | 8 | ||||
-rw-r--r-- | scenes/stockticker/SellButton.png (renamed from SellButton.png) | bin | 1462 -> 1462 bytes | |||
-rw-r--r-- | scenes/stockticker/SellButton.png.import (renamed from SellButton.png.import) | 8 | ||||
-rw-r--r-- | scenes/stockticker/SellButtonPressed.png (renamed from SellButtonPressed.png) | bin | 1475 -> 1475 bytes | |||
-rw-r--r-- | scenes/stockticker/SellButtonPressed.png.import (renamed from SellButtonPressed.png.import) | 8 | ||||
-rw-r--r-- | scenes/stockticker/Stock Ticker.tscn (renamed from Stock Ticker.tscn) | 42 | ||||
-rw-r--r-- | scenes/stockticker/UI-Background-Colour.png (renamed from UI-Background-Colour.png) | bin | 546 -> 546 bytes | |||
-rw-r--r-- | scenes/stockticker/UI-Background-Colour.png.import (renamed from UI-Background-Colour.png.import) | 8 | ||||
-rw-r--r-- | scenes/stockticker/stonks.gd (renamed from stonks.gd) | 0 | ||||
-rw-r--r-- | text.tres | 8 |
17 files changed, 53 insertions, 53 deletions
diff --git a/templeos_font.ttf b/UI/templeos_font.ttf Binary files differindex 517ad2a..517ad2a 100644 --- a/templeos_font.ttf +++ b/UI/templeos_font.ttf diff --git a/templeos_font.ttf.import b/UI/templeos_font.ttf.import index bcfd2cb..4367876 100644 --- a/templeos_font.ttf.import +++ b/UI/templeos_font.ttf.import @@ -2,13 +2,13 @@ importer="font_data_dynamic" type="FontFile" -uid="uid://3e6fuwt5giyn" -path="res://.godot/imported/templeos_font.ttf-3df095bd9bdc9ad857a60b3667a243a3.fontdata" +uid="uid://dexlelugh10is" +path="res://.godot/imported/templeos_font.ttf-31870174b86b680d08fac45957776bd3.fontdata" [deps] -source_file="res://templeos_font.ttf" -dest_files=["res://.godot/imported/templeos_font.ttf-3df095bd9bdc9ad857a60b3667a243a3.fontdata"] +source_file="res://UI/templeos_font.ttf" +dest_files=["res://.godot/imported/templeos_font.ttf-31870174b86b680d08fac45957776bd3.fontdata"] [params] diff --git a/UI/text.tres b/UI/text.tres new file mode 100644 index 0000000..3e61750 --- /dev/null +++ b/UI/text.tres @@ -0,0 +1,8 @@ +[gd_resource type="Theme" load_steps=2 format=3 uid="uid://ve18rbkeiwti"] + +[ext_resource type="FontFile" uid="uid://dexlelugh10is" path="res://UI/templeos_font.ttf" id="1_vl4vs"] + +[resource] +Label/colors/font_color = Color(0, 0, 0, 1) +Label/font_sizes/font_size = 30 +Label/fonts/font = ExtResource("1_vl4vs") diff --git a/buy_n_sell.gd b/scenes/buy_n_sell.gd index be0e777..be0e777 100644 --- a/buy_n_sell.gd +++ b/scenes/buy_n_sell.gd diff --git a/BuyButton.png b/scenes/stockticker/BuyButton.png Binary files differindex 8b35891..8b35891 100644 --- a/BuyButton.png +++ b/scenes/stockticker/BuyButton.png diff --git a/BuyButton.png.import b/scenes/stockticker/BuyButton.png.import index 0aab002..fca69fa 100644 --- a/BuyButton.png.import +++ b/scenes/stockticker/BuyButton.png.import @@ -2,16 +2,16 @@ importer="texture" type="CompressedTexture2D" -uid="uid://dcsaf0afsn76" -path="res://.godot/imported/BuyButton.png-1c1b0b8028f98a92082f37a9e5446c45.ctex" +uid="uid://vie3nmimge1t" +path="res://.godot/imported/BuyButton.png-edf9857fa46aeca6354e57c5c5fa4250.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://BuyButton.png" -dest_files=["res://.godot/imported/BuyButton.png-1c1b0b8028f98a92082f37a9e5446c45.ctex"] +source_file="res://scenes/stockticker/BuyButton.png" +dest_files=["res://.godot/imported/BuyButton.png-edf9857fa46aeca6354e57c5c5fa4250.ctex"] [params] diff --git a/BuyButtonPressed.png b/scenes/stockticker/BuyButtonPressed.png Binary files differindex c028e5a..c028e5a 100644 --- a/BuyButtonPressed.png +++ b/scenes/stockticker/BuyButtonPressed.png diff --git a/BuyButtonPressed.png.import b/scenes/stockticker/BuyButtonPressed.png.import index fc7c10e..6a676e6 100644 --- a/BuyButtonPressed.png.import +++ b/scenes/stockticker/BuyButtonPressed.png.import @@ -2,16 +2,16 @@ importer="texture" type="CompressedTexture2D" -uid="uid://ckd5ppryxuuum" -path="res://.godot/imported/BuyButtonPressed.png-52bdb0fc073bf2229b077e5e2c770886.ctex" +uid="uid://dvidbk3clx6dn" +path="res://.godot/imported/BuyButtonPressed.png-d376e992e63d9760db484195b2fac916.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://BuyButtonPressed.png" -dest_files=["res://.godot/imported/BuyButtonPressed.png-52bdb0fc073bf2229b077e5e2c770886.ctex"] +source_file="res://scenes/stockticker/BuyButtonPressed.png" +dest_files=["res://.godot/imported/BuyButtonPressed.png-d376e992e63d9760db484195b2fac916.ctex"] [params] diff --git a/SellButton.png b/scenes/stockticker/SellButton.png Binary files differindex 55818d4..55818d4 100644 --- a/SellButton.png +++ b/scenes/stockticker/SellButton.png diff --git a/SellButton.png.import b/scenes/stockticker/SellButton.png.import index 45ff4e1..fd466fd 100644 --- a/SellButton.png.import +++ b/scenes/stockticker/SellButton.png.import @@ -2,16 +2,16 @@ importer="texture" type="CompressedTexture2D" -uid="uid://du8xy83ve1lm7" -path="res://.godot/imported/SellButton.png-a940d0a74daec8a650b2d33b6c2a6925.ctex" +uid="uid://dw8wpd47me7wu" +path="res://.godot/imported/SellButton.png-2e342f0eff8cadc862043eaf743fb942.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://SellButton.png" -dest_files=["res://.godot/imported/SellButton.png-a940d0a74daec8a650b2d33b6c2a6925.ctex"] +source_file="res://scenes/stockticker/SellButton.png" +dest_files=["res://.godot/imported/SellButton.png-2e342f0eff8cadc862043eaf743fb942.ctex"] [params] diff --git a/SellButtonPressed.png b/scenes/stockticker/SellButtonPressed.png Binary files differindex 3a3b2ee..3a3b2ee 100644 --- a/SellButtonPressed.png +++ b/scenes/stockticker/SellButtonPressed.png diff --git a/SellButtonPressed.png.import b/scenes/stockticker/SellButtonPressed.png.import index de8adba..9011600 100644 --- a/SellButtonPressed.png.import +++ b/scenes/stockticker/SellButtonPressed.png.import @@ -2,16 +2,16 @@ importer="texture" type="CompressedTexture2D" -uid="uid://qgsvhv16ghwf" -path="res://.godot/imported/SellButtonPressed.png-b273be20baf4b6e42e2e343931e3265f.ctex" +uid="uid://b773rtpy6rtx5" +path="res://.godot/imported/SellButtonPressed.png-e8a6d05fa42b79b6b606b25427b1ccae.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://SellButtonPressed.png" -dest_files=["res://.godot/imported/SellButtonPressed.png-b273be20baf4b6e42e2e343931e3265f.ctex"] +source_file="res://scenes/stockticker/SellButtonPressed.png" +dest_files=["res://.godot/imported/SellButtonPressed.png-e8a6d05fa42b79b6b606b25427b1ccae.ctex"] [params] diff --git a/Stock Ticker.tscn b/scenes/stockticker/Stock Ticker.tscn index ad5bfc3..122bdfc 100644 --- a/Stock Ticker.tscn +++ b/scenes/stockticker/Stock Ticker.tscn @@ -1,13 +1,13 @@ [gd_scene load_steps=9 format=3 uid="uid://g2veoq55y14i"] -[ext_resource type="Texture2D" uid="uid://c6ed1ks2h58s7" path="res://UI-Background-Colour.png" id="1_1j58d"] -[ext_resource type="Texture2D" uid="uid://dcsaf0afsn76" path="res://BuyButton.png" id="2_8qhml"] -[ext_resource type="Texture2D" uid="uid://ckd5ppryxuuum" path="res://BuyButtonPressed.png" id="3_4kqfi"] -[ext_resource type="Script" path="res://buy_n_sell.gd" id="4_312bm"] -[ext_resource type="Texture2D" uid="uid://du8xy83ve1lm7" path="res://SellButton.png" id="5_salj8"] -[ext_resource type="Texture2D" uid="uid://qgsvhv16ghwf" path="res://SellButtonPressed.png" id="6_ifhss"] -[ext_resource type="Script" path="res://stonks.gd" id="7_ecbtd"] -[ext_resource type="Theme" uid="uid://cte81ypvmrsrv" path="res://text.tres" id="7_rtyuw"] +[ext_resource type="Texture2D" uid="uid://voruypgyi77e" path="res://scenes/stockticker/UI-Background-Colour.png" id="1_wbfee"] +[ext_resource type="Script" path="res://scenes/stockticker/stonks.gd" id="2_pan4m"] +[ext_resource type="Theme" uid="uid://ve18rbkeiwti" path="res://UI/text.tres" id="3_dv3dr"] +[ext_resource type="Script" path="res://scenes/buy_n_sell.gd" id="4_l8sru"] +[ext_resource type="Texture2D" uid="uid://vie3nmimge1t" path="res://scenes/stockticker/BuyButton.png" id="5_mpf30"] +[ext_resource type="Texture2D" uid="uid://dvidbk3clx6dn" path="res://scenes/stockticker/BuyButtonPressed.png" id="6_styy2"] +[ext_resource type="Texture2D" uid="uid://dw8wpd47me7wu" path="res://scenes/stockticker/SellButton.png" id="7_h6hir"] +[ext_resource type="Texture2D" uid="uid://b773rtpy6rtx5" path="res://scenes/stockticker/SellButtonPressed.png" id="8_essj7"] [node name="Node2D" type="Node2D"] @@ -15,18 +15,18 @@ modulate = Color(0.796078, 0.796078, 0.796078, 1) position = Vector2(576.25, 323.75) scale = Vector2(1153.5, 648.5) -texture = ExtResource("1_1j58d") +texture = ExtResource("1_wbfee") [node name="Timer" type="Timer" parent="."] autostart = true [node name="Stonks" type="Node2D" parent="."] -script = ExtResource("7_ecbtd") +script = ExtResource("2_pan4m") [node name="Sprite2D" type="Sprite2D" parent="Stonks"] position = Vector2(582, 205) scale = Vector2(1062.25, 337) -texture = ExtResource("1_1j58d") +texture = ExtResource("1_wbfee") [node name="TopLine" type="Line2D" parent="Stonks"] points = PackedVector2Array(50, 60, 1000, 60) @@ -50,7 +50,7 @@ offset_left = 1021.0 offset_top = 58.0 offset_right = 1114.0 offset_bottom = 89.0 -theme = ExtResource("7_rtyuw") +theme = ExtResource("3_dv3dr") theme_override_colors/font_color = Color(0.63, 0.63, 0.63, 1) theme_override_font_sizes/font_size = 12 text = "0" @@ -61,7 +61,7 @@ offset_left = 1022.0 offset_top = 208.0 offset_right = 1115.0 offset_bottom = 239.0 -theme = ExtResource("7_rtyuw") +theme = ExtResource("3_dv3dr") theme_override_colors/font_color = Color(0.63, 0.63, 0.63, 1) theme_override_font_sizes/font_size = 12 text = "0" @@ -72,7 +72,7 @@ offset_left = 1022.0 offset_top = 356.0 offset_right = 1115.0 offset_bottom = 387.0 -theme = ExtResource("7_rtyuw") +theme = ExtResource("3_dv3dr") theme_override_colors/font_color = Color(0.63, 0.63, 0.63, 1) theme_override_font_sizes/font_size = 12 text = "0" @@ -85,35 +85,35 @@ offset_left = 387.0 offset_top = 387.0 offset_right = 1112.0 offset_bottom = 452.0 -theme = ExtResource("7_rtyuw") +theme = ExtResource("3_dv3dr") text = "Price: $" [node name="BuyNSell" type="Node2D" parent="."] -script = ExtResource("4_312bm") +script = ExtResource("4_l8sru") [node name="BuyButton" type="TextureButton" parent="BuyNSell"] offset_left = 54.0 offset_top = 475.0 offset_right = 409.0 offset_bottom = 604.0 -texture_normal = ExtResource("2_8qhml") -texture_pressed = ExtResource("3_4kqfi") +texture_normal = ExtResource("5_mpf30") +texture_pressed = ExtResource("6_styy2") [node name="SellButton" type="TextureButton" parent="BuyNSell"] offset_left = 441.0 offset_top = 477.0 offset_right = 796.0 offset_bottom = 606.0 -texture_normal = ExtResource("5_salj8") -texture_pressed = ExtResource("6_ifhss") +texture_normal = ExtResource("7_h6hir") +texture_pressed = ExtResource("8_essj7") [node name="Shares Held Label" type="Label" parent="BuyNSell"] offset_left = 6.0 offset_top = 390.0 offset_right = 336.0 offset_bottom = 455.0 -theme = ExtResource("7_rtyuw") +theme = ExtResource("3_dv3dr") text = "Shares Held:" diff --git a/UI-Background-Colour.png b/scenes/stockticker/UI-Background-Colour.png Binary files differindex ddec89e..ddec89e 100644 --- a/UI-Background-Colour.png +++ b/scenes/stockticker/UI-Background-Colour.png diff --git a/UI-Background-Colour.png.import b/scenes/stockticker/UI-Background-Colour.png.import index 82fde74..379a5be 100644 --- a/UI-Background-Colour.png.import +++ b/scenes/stockticker/UI-Background-Colour.png.import @@ -2,16 +2,16 @@ importer="texture" type="CompressedTexture2D" -uid="uid://c6ed1ks2h58s7" -path="res://.godot/imported/UI-Background-Colour.png-bb6018e92357421b80f76ef27985e968.ctex" +uid="uid://voruypgyi77e" +path="res://.godot/imported/UI-Background-Colour.png-923b8102e8ca62798feecb1dd2a3a275.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://UI-Background-Colour.png" -dest_files=["res://.godot/imported/UI-Background-Colour.png-bb6018e92357421b80f76ef27985e968.ctex"] +source_file="res://scenes/stockticker/UI-Background-Colour.png" +dest_files=["res://.godot/imported/UI-Background-Colour.png-923b8102e8ca62798feecb1dd2a3a275.ctex"] [params] diff --git a/stonks.gd b/scenes/stockticker/stonks.gd index 9b7b845..9b7b845 100644 --- a/stonks.gd +++ b/scenes/stockticker/stonks.gd diff --git a/text.tres b/text.tres deleted file mode 100644 index a724622..0000000 --- a/text.tres +++ /dev/null @@ -1,8 +0,0 @@ -[gd_resource type="Theme" load_steps=2 format=3 uid="uid://cte81ypvmrsrv"] - -[ext_resource type="FontFile" uid="uid://3e6fuwt5giyn" path="res://templeos_font.ttf" id="1_3hk8o"] - -[resource] -Label/colors/font_color = Color(0, 0, 0, 1) -Label/font_sizes/font_size = 30 -Label/fonts/font = ExtResource("1_3hk8o") |