Fixed Bugs; Added Mobile Support

This commit is contained in:
Exobyt 2024-08-20 12:17:01 +02:00
parent 956b719e62
commit fdfb6a7d39
35 changed files with 709 additions and 150 deletions

10
Theme/button_normal.tres Normal file
View file

@ -0,0 +1,10 @@
[gd_resource type="StyleBoxTexture" load_steps=2 format=3 uid="uid://dj3hx8vj1mid1"]
[ext_resource type="Texture2D" uid="uid://b2s6ir44pjyg1" path="res://assets/Buttons/BasicButton_normal.png" id="1_arer0"]
[resource]
texture = ExtResource("1_arer0")
texture_margin_left = 30.0
texture_margin_top = 30.0
texture_margin_right = 30.0
texture_margin_bottom = 30.0

View file

@ -0,0 +1,10 @@
[gd_resource type="StyleBoxTexture" load_steps=2 format=3 uid="uid://ddgwjywgelxnh"]
[ext_resource type="Texture2D" uid="uid://fhfxfbphnrlq" path="res://assets/Buttons/BasicButton_pressed.png" id="1_hjs03"]
[resource]
texture = ExtResource("1_hjs03")
texture_margin_left = 30.0
texture_margin_top = 30.0
texture_margin_right = 30.0
texture_margin_bottom = 30.0

12
Theme/main.tres Normal file
View file

@ -0,0 +1,12 @@
[gd_resource type="Theme" load_steps=4 format=3 uid="uid://1nebbd65iyce"]
[ext_resource type="StyleBox" uid="uid://dj3hx8vj1mid1" path="res://Theme/button_normal.tres" id="1_0lddq"]
[ext_resource type="StyleBox" uid="uid://ddgwjywgelxnh" path="res://Theme/button_pressedl.tres" id="2_eqhtm"]
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_rp1q2"]
[resource]
Button/styles/focus = SubResource("StyleBoxTexture_rp1q2")
Button/styles/hover = ExtResource("1_0lddq")
Button/styles/normal = ExtResource("1_0lddq")
Button/styles/pressed = ExtResource("2_eqhtm")