This commit is contained in:
Jacob Janzen 2024-11-15 19:59:53 -06:00
parent 33a6215be1
commit 524bcdf657
17 changed files with 53 additions and 53 deletions

View file

@ -2,13 +2,13 @@
importer="font_data_dynamic" importer="font_data_dynamic"
type="FontFile" type="FontFile"
uid="uid://3e6fuwt5giyn" uid="uid://dexlelugh10is"
path="res://.godot/imported/templeos_font.ttf-3df095bd9bdc9ad857a60b3667a243a3.fontdata" path="res://.godot/imported/templeos_font.ttf-31870174b86b680d08fac45957776bd3.fontdata"
[deps] [deps]
source_file="res://templeos_font.ttf" source_file="res://UI/templeos_font.ttf"
dest_files=["res://.godot/imported/templeos_font.ttf-3df095bd9bdc9ad857a60b3667a243a3.fontdata"] dest_files=["res://.godot/imported/templeos_font.ttf-31870174b86b680d08fac45957776bd3.fontdata"]
[params] [params]

8
UI/text.tres Normal file
View file

@ -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")

View file

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View file

@ -2,16 +2,16 @@
importer="texture" importer="texture"
type="CompressedTexture2D" type="CompressedTexture2D"
uid="uid://dcsaf0afsn76" uid="uid://vie3nmimge1t"
path="res://.godot/imported/BuyButton.png-1c1b0b8028f98a92082f37a9e5446c45.ctex" path="res://.godot/imported/BuyButton.png-edf9857fa46aeca6354e57c5c5fa4250.ctex"
metadata={ metadata={
"vram_texture": false "vram_texture": false
} }
[deps] [deps]
source_file="res://BuyButton.png" source_file="res://scenes/stockticker/BuyButton.png"
dest_files=["res://.godot/imported/BuyButton.png-1c1b0b8028f98a92082f37a9e5446c45.ctex"] dest_files=["res://.godot/imported/BuyButton.png-edf9857fa46aeca6354e57c5c5fa4250.ctex"]
[params] [params]

View file

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View file

@ -2,16 +2,16 @@
importer="texture" importer="texture"
type="CompressedTexture2D" type="CompressedTexture2D"
uid="uid://ckd5ppryxuuum" uid="uid://dvidbk3clx6dn"
path="res://.godot/imported/BuyButtonPressed.png-52bdb0fc073bf2229b077e5e2c770886.ctex" path="res://.godot/imported/BuyButtonPressed.png-d376e992e63d9760db484195b2fac916.ctex"
metadata={ metadata={
"vram_texture": false "vram_texture": false
} }
[deps] [deps]
source_file="res://BuyButtonPressed.png" source_file="res://scenes/stockticker/BuyButtonPressed.png"
dest_files=["res://.godot/imported/BuyButtonPressed.png-52bdb0fc073bf2229b077e5e2c770886.ctex"] dest_files=["res://.godot/imported/BuyButtonPressed.png-d376e992e63d9760db484195b2fac916.ctex"]
[params] [params]

View file

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View file

@ -2,16 +2,16 @@
importer="texture" importer="texture"
type="CompressedTexture2D" type="CompressedTexture2D"
uid="uid://du8xy83ve1lm7" uid="uid://dw8wpd47me7wu"
path="res://.godot/imported/SellButton.png-a940d0a74daec8a650b2d33b6c2a6925.ctex" path="res://.godot/imported/SellButton.png-2e342f0eff8cadc862043eaf743fb942.ctex"
metadata={ metadata={
"vram_texture": false "vram_texture": false
} }
[deps] [deps]
source_file="res://SellButton.png" source_file="res://scenes/stockticker/SellButton.png"
dest_files=["res://.godot/imported/SellButton.png-a940d0a74daec8a650b2d33b6c2a6925.ctex"] dest_files=["res://.godot/imported/SellButton.png-2e342f0eff8cadc862043eaf743fb942.ctex"]
[params] [params]

View file

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View file

@ -2,16 +2,16 @@
importer="texture" importer="texture"
type="CompressedTexture2D" type="CompressedTexture2D"
uid="uid://qgsvhv16ghwf" uid="uid://b773rtpy6rtx5"
path="res://.godot/imported/SellButtonPressed.png-b273be20baf4b6e42e2e343931e3265f.ctex" path="res://.godot/imported/SellButtonPressed.png-e8a6d05fa42b79b6b606b25427b1ccae.ctex"
metadata={ metadata={
"vram_texture": false "vram_texture": false
} }
[deps] [deps]
source_file="res://SellButtonPressed.png" source_file="res://scenes/stockticker/SellButtonPressed.png"
dest_files=["res://.godot/imported/SellButtonPressed.png-b273be20baf4b6e42e2e343931e3265f.ctex"] dest_files=["res://.godot/imported/SellButtonPressed.png-e8a6d05fa42b79b6b606b25427b1ccae.ctex"]
[params] [params]

View file

@ -1,13 +1,13 @@
[gd_scene load_steps=9 format=3 uid="uid://g2veoq55y14i"] [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://voruypgyi77e" path="res://scenes/stockticker/UI-Background-Colour.png" id="1_wbfee"]
[ext_resource type="Texture2D" uid="uid://dcsaf0afsn76" path="res://BuyButton.png" id="2_8qhml"] [ext_resource type="Script" path="res://scenes/stockticker/stonks.gd" id="2_pan4m"]
[ext_resource type="Texture2D" uid="uid://ckd5ppryxuuum" path="res://BuyButtonPressed.png" id="3_4kqfi"] [ext_resource type="Theme" uid="uid://ve18rbkeiwti" path="res://UI/text.tres" id="3_dv3dr"]
[ext_resource type="Script" path="res://buy_n_sell.gd" id="4_312bm"] [ext_resource type="Script" path="res://scenes/buy_n_sell.gd" id="4_l8sru"]
[ext_resource type="Texture2D" uid="uid://du8xy83ve1lm7" path="res://SellButton.png" id="5_salj8"] [ext_resource type="Texture2D" uid="uid://vie3nmimge1t" path="res://scenes/stockticker/BuyButton.png" id="5_mpf30"]
[ext_resource type="Texture2D" uid="uid://qgsvhv16ghwf" path="res://SellButtonPressed.png" id="6_ifhss"] [ext_resource type="Texture2D" uid="uid://dvidbk3clx6dn" path="res://scenes/stockticker/BuyButtonPressed.png" id="6_styy2"]
[ext_resource type="Script" path="res://stonks.gd" id="7_ecbtd"] [ext_resource type="Texture2D" uid="uid://dw8wpd47me7wu" path="res://scenes/stockticker/SellButton.png" id="7_h6hir"]
[ext_resource type="Theme" uid="uid://cte81ypvmrsrv" path="res://text.tres" id="7_rtyuw"] [ext_resource type="Texture2D" uid="uid://b773rtpy6rtx5" path="res://scenes/stockticker/SellButtonPressed.png" id="8_essj7"]
[node name="Node2D" type="Node2D"] [node name="Node2D" type="Node2D"]
@ -15,18 +15,18 @@
modulate = Color(0.796078, 0.796078, 0.796078, 1) modulate = Color(0.796078, 0.796078, 0.796078, 1)
position = Vector2(576.25, 323.75) position = Vector2(576.25, 323.75)
scale = Vector2(1153.5, 648.5) scale = Vector2(1153.5, 648.5)
texture = ExtResource("1_1j58d") texture = ExtResource("1_wbfee")
[node name="Timer" type="Timer" parent="."] [node name="Timer" type="Timer" parent="."]
autostart = true autostart = true
[node name="Stonks" type="Node2D" parent="."] [node name="Stonks" type="Node2D" parent="."]
script = ExtResource("7_ecbtd") script = ExtResource("2_pan4m")
[node name="Sprite2D" type="Sprite2D" parent="Stonks"] [node name="Sprite2D" type="Sprite2D" parent="Stonks"]
position = Vector2(582, 205) position = Vector2(582, 205)
scale = Vector2(1062.25, 337) scale = Vector2(1062.25, 337)
texture = ExtResource("1_1j58d") texture = ExtResource("1_wbfee")
[node name="TopLine" type="Line2D" parent="Stonks"] [node name="TopLine" type="Line2D" parent="Stonks"]
points = PackedVector2Array(50, 60, 1000, 60) points = PackedVector2Array(50, 60, 1000, 60)
@ -50,7 +50,7 @@ offset_left = 1021.0
offset_top = 58.0 offset_top = 58.0
offset_right = 1114.0 offset_right = 1114.0
offset_bottom = 89.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_colors/font_color = Color(0.63, 0.63, 0.63, 1)
theme_override_font_sizes/font_size = 12 theme_override_font_sizes/font_size = 12
text = "0" text = "0"
@ -61,7 +61,7 @@ offset_left = 1022.0
offset_top = 208.0 offset_top = 208.0
offset_right = 1115.0 offset_right = 1115.0
offset_bottom = 239.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_colors/font_color = Color(0.63, 0.63, 0.63, 1)
theme_override_font_sizes/font_size = 12 theme_override_font_sizes/font_size = 12
text = "0" text = "0"
@ -72,7 +72,7 @@ offset_left = 1022.0
offset_top = 356.0 offset_top = 356.0
offset_right = 1115.0 offset_right = 1115.0
offset_bottom = 387.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_colors/font_color = Color(0.63, 0.63, 0.63, 1)
theme_override_font_sizes/font_size = 12 theme_override_font_sizes/font_size = 12
text = "0" text = "0"
@ -85,35 +85,35 @@ offset_left = 387.0
offset_top = 387.0 offset_top = 387.0
offset_right = 1112.0 offset_right = 1112.0
offset_bottom = 452.0 offset_bottom = 452.0
theme = ExtResource("7_rtyuw") theme = ExtResource("3_dv3dr")
text = "Price: text = "Price:
$" $"
[node name="BuyNSell" type="Node2D" parent="."] [node name="BuyNSell" type="Node2D" parent="."]
script = ExtResource("4_312bm") script = ExtResource("4_l8sru")
[node name="BuyButton" type="TextureButton" parent="BuyNSell"] [node name="BuyButton" type="TextureButton" parent="BuyNSell"]
offset_left = 54.0 offset_left = 54.0
offset_top = 475.0 offset_top = 475.0
offset_right = 409.0 offset_right = 409.0
offset_bottom = 604.0 offset_bottom = 604.0
texture_normal = ExtResource("2_8qhml") texture_normal = ExtResource("5_mpf30")
texture_pressed = ExtResource("3_4kqfi") texture_pressed = ExtResource("6_styy2")
[node name="SellButton" type="TextureButton" parent="BuyNSell"] [node name="SellButton" type="TextureButton" parent="BuyNSell"]
offset_left = 441.0 offset_left = 441.0
offset_top = 477.0 offset_top = 477.0
offset_right = 796.0 offset_right = 796.0
offset_bottom = 606.0 offset_bottom = 606.0
texture_normal = ExtResource("5_salj8") texture_normal = ExtResource("7_h6hir")
texture_pressed = ExtResource("6_ifhss") texture_pressed = ExtResource("8_essj7")
[node name="Shares Held Label" type="Label" parent="BuyNSell"] [node name="Shares Held Label" type="Label" parent="BuyNSell"]
offset_left = 6.0 offset_left = 6.0
offset_top = 390.0 offset_top = 390.0
offset_right = 336.0 offset_right = 336.0
offset_bottom = 455.0 offset_bottom = 455.0
theme = ExtResource("7_rtyuw") theme = ExtResource("3_dv3dr")
text = "Shares text = "Shares
Held:" Held:"

View file

Before

Width:  |  Height:  |  Size: 546 B

After

Width:  |  Height:  |  Size: 546 B

View file

@ -2,16 +2,16 @@
importer="texture" importer="texture"
type="CompressedTexture2D" type="CompressedTexture2D"
uid="uid://c6ed1ks2h58s7" uid="uid://voruypgyi77e"
path="res://.godot/imported/UI-Background-Colour.png-bb6018e92357421b80f76ef27985e968.ctex" path="res://.godot/imported/UI-Background-Colour.png-923b8102e8ca62798feecb1dd2a3a275.ctex"
metadata={ metadata={
"vram_texture": false "vram_texture": false
} }
[deps] [deps]
source_file="res://UI-Background-Colour.png" source_file="res://scenes/stockticker/UI-Background-Colour.png"
dest_files=["res://.godot/imported/UI-Background-Colour.png-bb6018e92357421b80f76ef27985e968.ctex"] dest_files=["res://.godot/imported/UI-Background-Colour.png-923b8102e8ca62798feecb1dd2a3a275.ctex"]
[params] [params]

View file

@ -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")