Skip to content

Commit 12f211c

Browse files
committed
Fix merge and integration issues with remap menu
Added input button attributions
1 parent 0ca318e commit 12f211c

File tree

5 files changed

+24
-20
lines changed

5 files changed

+24
-20
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,6 @@ Current team members include:
1515

1616
#### Attributions:
1717
First Song: <a href="https://freesound.org/people/Magntron/sounds/335571/" title="gameMusic">gameMusic by Magntron - freesound.org</a>
18+
Input buttons by <a href="https://thoseawesomeguys.com/prompts/" title="inputkeys">Nicolae (Xelu) Berbece</a>
1819

1920

project.godot

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ config_version=5
1010

1111
[application]
1212

13+
config/name="ProjectFunkEngine"
1314
run/main_scene="res://scenes/SceneTransitions/TitleScreen.tscn"
1415
config/features=PackedStringArray("4.3", "C#", "Forward Plus")
1516
config/icon="res://scenes/BattleDirector/assets/Character1.png"
@@ -33,7 +34,7 @@ project/assembly_name="Funk Engine"
3334

3435
[game]
3536

36-
input_scheme="ARROWS"
37+
input_scheme="QWERT"
3738

3839
[input]
3940

scenes/Remapping/ControlSchemes.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ public static class ControlSchemes
3232
"QWERT",
3333
new Dictionary<string, string>()
3434
{
35-
{ "arrowUp", "E" },
36-
{ "arrowDown", "W" },
35+
{ "arrowUp", "W" },
36+
{ "arrowDown", "E" },
3737
{ "arrowLeft", "Q" },
3838
{ "arrowRight", "R" },
3939
}
@@ -71,8 +71,8 @@ public static class ControlSchemes
7171
{
7272
{ "left", "res://scenes/Remapping/assets/Q_Key_Light.png" },
7373
{ "right", "res://scenes/Remapping/assets/R_Key_Light.png" },
74-
{ "up", "res://scenes/Remapping/assets/E_Key_Light.png" },
75-
{ "down", "res://scenes/Remapping/assets/W_Key_Light.png" },
74+
{ "up", "res://scenes/Remapping/assets/W_Key_Light.png" },
75+
{ "down", "res://scenes/Remapping/assets/E_Key_Light.png" },
7676
}
7777
},
7878
};

scenes/Remapping/Remap.tscn

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
[gd_scene load_steps=9 format=3 uid="uid://bew23sumjs0fg"]
1+
[gd_scene load_steps=8 format=3 uid="uid://bew23sumjs0fg"]
22

33
[ext_resource type="Script" path="res://scenes/Remapping/ControlSettings.cs" id="1_ir12b"]
4-
[ext_resource type="Script" path="res://scenes/Remapping/ControlSchemes.cs" id="1_n6sxo"]
54
[ext_resource type="Script" path="res://scenes/SceneTransitions/scripts/SceneChange.cs" id="2_oippk"]
65
[ext_resource type="Texture2D" uid="uid://xtygvpk7s8e4" path="res://scenes/NoteManager/assets/outline_white.png" id="4_se2m3"]
76
[ext_resource type="Texture2D" uid="uid://cr6wtf6j6dcfg" path="res://scenes/Remapping/assets/Arrow_Left_Key_Light.png" id="5_xn13c"]
@@ -21,7 +20,6 @@ offset_left = 4.0
2120
offset_top = 4.0
2221
offset_right = 638.0
2322
offset_bottom = 346.0
24-
script = ExtResource("1_n6sxo")
2523

2624
[node name="Label" type="Label" parent="Panel"]
2725
layout_mode = 2
@@ -72,47 +70,51 @@ offset_top = -4.0
7270
offset_right = 36.0
7371
offset_bottom = 36.0
7472

75-
[node name="Right" type="Sprite2D" parent="Panel/Control"]
73+
[node name="Left" type="Sprite2D" parent="Panel/Control"]
7674
position = Vector2(67, 85)
7775
rotation = -3.14159
7876
texture = ExtResource("4_se2m3")
7977

80-
[node name="Left" type="Sprite2D" parent="Panel/Control"]
78+
[node name="Up" type="Sprite2D" parent="Panel/Control"]
8179
position = Vector2(67, 139)
82-
rotation = 1.5708
80+
rotation = -1.5708
8381
texture = ExtResource("4_se2m3")
8482

85-
[node name="Up" type="Sprite2D" parent="Panel/Control"]
83+
[node name="Down" type="Sprite2D" parent="Panel/Control"]
8684
position = Vector2(67, 196)
87-
rotation = -1.5708
85+
rotation = 1.5708
8886
texture = ExtResource("4_se2m3")
8987

90-
[node name="Down" type="Sprite2D" parent="Panel/Control"]
88+
[node name="Right" type="Sprite2D" parent="Panel/Control"]
9189
position = Vector2(68, 249)
9290
texture = ExtResource("4_se2m3")
9391

9492
[node name="Label" type="Label" parent="Panel/Control"]
93+
layout_mode = 0
9594
offset_left = 95.0
9695
offset_top = 74.0
9796
offset_right = 108.0
9897
offset_bottom = 97.0
9998
text = "="
10099

101100
[node name="Label2" type="Label" parent="Panel/Control"]
101+
layout_mode = 0
102102
offset_left = 94.0
103103
offset_top = 128.0
104104
offset_right = 107.0
105105
offset_bottom = 151.0
106106
text = "="
107107

108108
[node name="Label3" type="Label" parent="Panel/Control"]
109+
layout_mode = 0
109110
offset_left = 96.0
110111
offset_top = 187.0
111112
offset_right = 109.0
112113
offset_bottom = 210.0
113114
text = "="
114115

115116
[node name="Label4" type="Label" parent="Panel/Control"]
117+
layout_mode = 0
116118
offset_left = 96.0
117119
offset_top = 239.0
118120
offset_right = 109.0
@@ -124,15 +126,15 @@ position = Vector2(147, 87)
124126
scale = Vector2(0.62, 0.62)
125127
texture = ExtResource("5_xn13c")
126128

127-
[node name="DownRemap" type="Sprite2D" parent="Panel/Control"]
129+
[node name="UpRemap" type="Sprite2D" parent="Panel/Control"]
128130
position = Vector2(148, 139)
129131
scale = Vector2(0.62, 0.62)
130-
texture = ExtResource("6_qrl0g")
132+
texture = ExtResource("7_1a2jy")
131133

132-
[node name="UpRemap" type="Sprite2D" parent="Panel/Control"]
134+
[node name="DownRemap" type="Sprite2D" parent="Panel/Control"]
133135
position = Vector2(148, 197)
134136
scale = Vector2(0.62, 0.62)
135-
texture = ExtResource("7_1a2jy")
137+
texture = ExtResource("6_qrl0g")
136138

137139
[node name="RightRemap" type="Sprite2D" parent="Panel/Control"]
138140
position = Vector2(150, 255)

scenes/SceneTransitions/TitleScreen.tscn

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,10 @@ layout_mode = 2
103103
size_flags_horizontal = 3
104104
text = "Quit Game"
105105
script = ExtResource("2_7f3m6")
106-
ScenePath = 2
106+
ScenePath = 4
107107

108108
[node name="Button" type="Button" parent="VBoxContainer"]
109109
layout_mode = 2
110110
text = "Change Controls"
111111
script = ExtResource("2_7f3m6")
112-
ScenePath = 4
112+
ScenePath = 6

0 commit comments

Comments
 (0)