partially done

This commit is contained in:
Jacob Janzen 2024-11-15 18:31:43 -06:00
parent 2a63cead76
commit 29983fef39
15 changed files with 214 additions and 0 deletions

BIN
ButtonBase.xcf Normal file

Binary file not shown.

BIN
ButtonBasePressed.xcf Normal file

Binary file not shown.

BIN
BuyButton.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

34
BuyButton.png.import Normal file
View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dcsaf0afsn76"
path="res://.godot/imported/BuyButton.png-1c1b0b8028f98a92082f37a9e5446c45.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://BuyButton.png"
dest_files=["res://.godot/imported/BuyButton.png-1c1b0b8028f98a92082f37a9e5446c45.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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

BIN
BuyButtonPressed.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://ckd5ppryxuuum"
path="res://.godot/imported/BuyButtonPressed.png-52bdb0fc073bf2229b077e5e2c770886.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://BuyButtonPressed.png"
dest_files=["res://.godot/imported/BuyButtonPressed.png-52bdb0fc073bf2229b077e5e2c770886.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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

BIN
SellButton.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

34
SellButton.png.import Normal file
View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://du8xy83ve1lm7"
path="res://.godot/imported/SellButton.png-a940d0a74daec8a650b2d33b6c2a6925.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://SellButton.png"
dest_files=["res://.godot/imported/SellButton.png-a940d0a74daec8a650b2d33b6c2a6925.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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

BIN
SellButtonPressed.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://qgsvhv16ghwf"
path="res://.godot/imported/SellButtonPressed.png-b273be20baf4b6e42e2e343931e3265f.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://SellButtonPressed.png"
dest_files=["res://.godot/imported/SellButtonPressed.png-b273be20baf4b6e42e2e343931e3265f.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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

33
Stock Ticker.tscn Normal file
View file

@ -0,0 +1,33 @@
[gd_scene load_steps=7 format=3 uid="uid://by18nc16h76y0"]
[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_button.gd" id="4_lfir0"]
[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"]
[node name="Node2D" type="Node2D"]
[node name="Background" type="Sprite2D" parent="."]
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")
[node name="BuyButton" type="TextureButton" parent="."]
offset_left = 168.0
offset_top = 450.0
offset_right = 523.0
offset_bottom = 579.0
texture_normal = ExtResource("2_8qhml")
texture_pressed = ExtResource("3_4kqfi")
script = ExtResource("4_lfir0")
[node name="TextureButton" type="TextureButton" parent="."]
offset_left = 649.0
offset_top = 450.0
offset_right = 1004.0
offset_bottom = 579.0
texture_normal = ExtResource("5_salj8")
texture_pressed = ExtResource("6_ifhss")

BIN
UI-Background-Colour.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 546 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://c6ed1ks2h58s7"
path="res://.godot/imported/UI-Background-Colour.png-bb6018e92357421b80f76ef27985e968.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://UI-Background-Colour.png"
dest_files=["res://.godot/imported/UI-Background-Colour.png-bb6018e92357421b80f76ef27985e968.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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

BIN
UI-Background-Colour.xcf Normal file

Binary file not shown.

11
buy_button.gd Normal file
View file

@ -0,0 +1,11 @@
extends TextureButton
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
pass