Complete C# rewrite with working game in Editor (#6)
* Refactor collectable components to C# and update resource scripts for consistency * Update resource paths and refactor properties for consistency * Refactor UI components to inherit from Control and update node paths for consistency * Update node paths and group assignments for consistency across scenes * Refactor GameManager and PlayerDeathComponent for improved state management and logging; update scene connections for player death handling * Add PhantomCamera components and UI elements for improved scene management; refactor existing components for better integration * Refactor skill components and update resource paths for consistency; enhance skill management in scenes * Add new UID files and update scene configurations for dialogue components; refactor skill management and input handling * Add next level command and refactor player retrieval in GameManager; update scene files for consistency * Add skill upgrade system and refactor skill components for enhanced functionality; update resource paths and configurations * Enhance ChargeProgressBar and Marketplace functionality; add owner exit handling and update skill button states * Refactor ChargeProgressBar and SkillManager; update skill handling and improve component interactions * Refactor player and level configurations; streamline FlipPlayerComponent and reposition Spaceship Enter
This commit is contained in:
17
addons/phantom_camera/themes/button_focus.tres
Normal file
17
addons/phantom_camera/themes/button_focus.tres
Normal file
@@ -0,0 +1,17 @@
|
||||
[gd_resource type="StyleBoxFlat" format=3 uid="uid://p058hmj3uut0"]
|
||||
|
||||
[resource]
|
||||
content_margin_left = 8.0
|
||||
content_margin_top = 4.0
|
||||
content_margin_right = 8.0
|
||||
content_margin_bottom = 4.0
|
||||
bg_color = Color(0.0784314, 0.109804, 0.129412, 1)
|
||||
border_width_left = 2
|
||||
border_width_top = 2
|
||||
border_width_right = 2
|
||||
border_width_bottom = 2
|
||||
border_color = Color(0.227451, 0.72549, 0.603922, 1)
|
||||
corner_radius_top_left = 8
|
||||
corner_radius_top_right = 8
|
||||
corner_radius_bottom_right = 8
|
||||
corner_radius_bottom_left = 8
|
13
addons/phantom_camera/themes/button_hover.tres
Normal file
13
addons/phantom_camera/themes/button_hover.tres
Normal file
@@ -0,0 +1,13 @@
|
||||
[gd_resource type="StyleBoxFlat" format=3 uid="uid://5weqvkjsfso3"]
|
||||
|
||||
[resource]
|
||||
content_margin_left = 8.0
|
||||
content_margin_top = 4.0
|
||||
content_margin_right = 8.0
|
||||
content_margin_bottom = 4.0
|
||||
bg_color = Color(0.960784, 0.960784, 0.960784, 1)
|
||||
border_color = Color(0.227451, 0.72549, 0.603922, 1)
|
||||
corner_radius_top_left = 8
|
||||
corner_radius_top_right = 8
|
||||
corner_radius_bottom_right = 8
|
||||
corner_radius_bottom_left = 8
|
17
addons/phantom_camera/themes/button_normal.tres
Normal file
17
addons/phantom_camera/themes/button_normal.tres
Normal file
@@ -0,0 +1,17 @@
|
||||
[gd_resource type="StyleBoxFlat" format=3 uid="uid://bclbwo3xrdat0"]
|
||||
|
||||
[resource]
|
||||
content_margin_left = 8.0
|
||||
content_margin_top = 4.0
|
||||
content_margin_right = 8.0
|
||||
content_margin_bottom = 4.0
|
||||
bg_color = Color(0.0784314, 0.109804, 0.129412, 1)
|
||||
border_width_left = 2
|
||||
border_width_top = 2
|
||||
border_width_right = 2
|
||||
border_width_bottom = 2
|
||||
border_color = Color(0.227451, 0.72549, 0.603922, 1)
|
||||
corner_radius_top_left = 8
|
||||
corner_radius_top_right = 8
|
||||
corner_radius_bottom_right = 8
|
||||
corner_radius_bottom_left = 8
|
102
addons/phantom_camera/themes/theme.tres
Normal file
102
addons/phantom_camera/themes/theme.tres
Normal file
@@ -0,0 +1,102 @@
|
||||
[gd_resource type="Theme" load_steps=12 format=3 uid="uid://bhppejri5dbsf"]
|
||||
|
||||
[ext_resource type="FontFile" uid="uid://dve7mgsjik4dg" path="res://addons/phantom_camera/fonts/Nunito-Regular.ttf" id="1_5rtjh"]
|
||||
[ext_resource type="StyleBox" uid="uid://5weqvkjsfso3" path="res://addons/phantom_camera/themes/button_hover.tres" id="2_du6h5"]
|
||||
[ext_resource type="StyleBox" uid="uid://bclbwo3xrdat0" path="res://addons/phantom_camera/themes/button_normal.tres" id="3_a8j1f"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ek0y3"]
|
||||
content_margin_left = 8.0
|
||||
content_margin_top = 4.0
|
||||
content_margin_right = 8.0
|
||||
content_margin_bottom = 4.0
|
||||
bg_color = Color(0.227451, 0.72549, 0.603922, 1)
|
||||
corner_radius_top_left = 8
|
||||
corner_radius_top_right = 8
|
||||
corner_radius_bottom_right = 8
|
||||
corner_radius_bottom_left = 8
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_rjkuq"]
|
||||
content_margin_left = 8.0
|
||||
content_margin_top = 4.0
|
||||
content_margin_right = 8.0
|
||||
content_margin_bottom = 4.0
|
||||
bg_color = Color(0.227451, 0.72549, 0.603922, 1)
|
||||
corner_radius_top_left = 8
|
||||
corner_radius_top_right = 8
|
||||
corner_radius_bottom_right = 8
|
||||
corner_radius_bottom_left = 8
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_x7u0w"]
|
||||
content_margin_top = 2.0
|
||||
content_margin_right = 8.0
|
||||
bg_color = Color(0.0784314, 0.109804, 0.129412, 1)
|
||||
border_width_top = 2
|
||||
border_width_right = 2
|
||||
border_color = Color(0.227451, 0.72549, 0.603922, 1)
|
||||
corner_radius_top_right = 10
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_dln2q"]
|
||||
content_margin_top = 8.0
|
||||
content_margin_bottom = 8.0
|
||||
draw_center = false
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_wk7ot"]
|
||||
bg_color = Color(0.227451, 0.72549, 0.603922, 1)
|
||||
border_color = Color(0.227451, 0.72549, 0.603922, 1)
|
||||
corner_radius_top_left = 8
|
||||
corner_radius_top_right = 8
|
||||
corner_radius_bottom_right = 8
|
||||
corner_radius_bottom_left = 8
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_jidrt"]
|
||||
bg_color = Color(0.960784, 0.960784, 0.960784, 1)
|
||||
border_width_left = 2
|
||||
border_width_top = 2
|
||||
border_width_right = 2
|
||||
border_width_bottom = 2
|
||||
corner_radius_top_left = 8
|
||||
corner_radius_top_right = 8
|
||||
corner_radius_bottom_right = 8
|
||||
corner_radius_bottom_left = 8
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_o2xwc"]
|
||||
bg_color = Color(0.960784, 0.960784, 0.960784, 1)
|
||||
border_width_left = 2
|
||||
border_width_top = 2
|
||||
border_width_right = 2
|
||||
border_width_bottom = 2
|
||||
corner_radius_top_left = 8
|
||||
corner_radius_top_right = 8
|
||||
corner_radius_bottom_right = 8
|
||||
corner_radius_bottom_left = 8
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ul127"]
|
||||
draw_center = false
|
||||
border_width_left = 4
|
||||
border_width_right = 4
|
||||
border_color = Color(0.8, 0.8, 0.8, 0)
|
||||
|
||||
[resource]
|
||||
default_font = ExtResource("1_5rtjh")
|
||||
Button/colors/font_color = Color(0.227451, 0.72549, 0.603922, 1)
|
||||
Button/colors/font_focus_color = Color(0.0784314, 0.109804, 0.129412, 1)
|
||||
Button/colors/font_hover_color = Color(0.0784314, 0.109804, 0.129412, 1)
|
||||
Button/colors/font_hover_pressed_color = Color(0.0784314, 0.109804, 0.129412, 1)
|
||||
Button/colors/font_pressed_color = Color(0.0784314, 0.109804, 0.129412, 1)
|
||||
Button/colors/icon_focus_color = Color(0.0784314, 0.109804, 0.129412, 1)
|
||||
Button/colors/icon_hover_color = Color(0.0784314, 0.109804, 0.129412, 1)
|
||||
Button/colors/icon_hover_pressed_color = Color(0.227451, 0.72549, 0.603922, 1)
|
||||
Button/colors/icon_normal_color = Color(0.0784314, 0.109804, 0.129412, 1)
|
||||
Button/colors/icon_pressed_color = Color(0.227451, 0.72549, 0.603922, 1)
|
||||
Button/styles/focus = SubResource("StyleBoxFlat_ek0y3")
|
||||
Button/styles/hover = ExtResource("2_du6h5")
|
||||
Button/styles/hover_pressed = null
|
||||
Button/styles/normal = ExtResource("3_a8j1f")
|
||||
Button/styles/pressed = SubResource("StyleBoxFlat_rjkuq")
|
||||
PanelContainer/styles/panel = SubResource("StyleBoxFlat_x7u0w")
|
||||
ScrollContainer/styles/panel = SubResource("StyleBoxFlat_dln2q")
|
||||
VBoxContainer/constants/separation = 8
|
||||
VScrollBar/styles/grabber = SubResource("StyleBoxFlat_wk7ot")
|
||||
VScrollBar/styles/grabber_highlight = SubResource("StyleBoxFlat_jidrt")
|
||||
VScrollBar/styles/grabber_pressed = SubResource("StyleBoxFlat_o2xwc")
|
||||
VScrollBar/styles/scroll = SubResource("StyleBoxFlat_ul127")
|
Reference in New Issue
Block a user