Skip to content
This repository has been archived by the owner on Oct 17, 2024. It is now read-only.

Commit

Permalink
Add readme, rename nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
WallK committed Sep 23, 2023
1 parent d86e5e1 commit 1af8d8c
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 8 deletions.
3 changes: 2 additions & 1 deletion Button2.gd
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ func _button_pressed():
# var exit_code = OS.execute("ls", ["-l", "/"], output, true)
var exit_code = OS.execute("bash", ["touch_external.sh"], output)
print("exit code: ", exit_code)
print("output: ", output)
print("output: ",
output)
2 changes: 1 addition & 1 deletion export_presets.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ custom_features=""
export_filter="all_resources"
include_filter=""
exclude_filter=""
export_path="./export/RetroDECK_Configurator_Godot.x86_64"
export_path="export/configurator.x86_64"
encryption_include_filters=""
encryption_exclude_filters=""
encrypt_pck=false
Expand Down
2 changes: 1 addition & 1 deletion main.gd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
extends Control

func _ready():
$VBoxContainer/Button.grab_focus()
$VBoxContainerButtons/Button.grab_focus()
10 changes: 5 additions & 5 deletions main.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_obpq7")

[node name="ColorRect" type="ColorRect" parent="."]
[node name="Background" type="ColorRect" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
Expand All @@ -31,7 +31,7 @@ position = Vector2(76, 66)
scale = Vector2(0.25, 0.25)
texture = ExtResource("1_axfei")

[node name="Label" type="Label" parent="."]
[node name="TitleText" type="Label" parent="."]
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
Expand All @@ -45,7 +45,7 @@ text = "Welcome to RetroDECK configurator"
label_settings = SubResource("LabelSettings_b77hh")
horizontal_alignment = 1

[node name="VBoxContainer" type="VBoxContainer" parent="."]
[node name="VBoxContainerButtons" type="VBoxContainer" parent="."]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
Expand All @@ -59,15 +59,15 @@ offset_bottom = 33.0
grow_horizontal = 2
grow_vertical = 2

[node name="Button" type="Button" parent="VBoxContainer"]
[node name="Button" type="Button" parent="VBoxContainerButtons"]
layout_mode = 2
size_flags_horizontal = 4
focus_neighbor_top = NodePath("../Button2")
focus_neighbor_bottom = NodePath("../Button2")
text = "Hardcoded script"
script = ExtResource("3_aenvv")

[node name="Button2" type="Button" parent="VBoxContainer"]
[node name="Button2" type="Button" parent="VBoxContainerButtons"]
layout_mode = 2
size_flags_horizontal = 4
focus_neighbor_top = NodePath("../Button")
Expand Down
3 changes: 3 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# RetroDECK Configurator made in [Godot](https://github.com/godotengine/godot)

This is a POC

0 comments on commit 1af8d8c

Please sign in to comment.