Skip to content

Commit 7d42ae3

Browse files
Rename Dodge The Creeps files to snake case (#1084)
This follows the style guide: - https://docs.godotengine.org/en/stable/tutorials/best_practices/project_organization.html#style-guide For reference, a documentation PR exists to update references to the demo.
1 parent e6fcf24 commit 7d42ae3

File tree

9 files changed

+16
-16
lines changed

9 files changed

+16
-16
lines changed
File renamed without changes.

2d/dodge_the_creeps/HUD.tscn renamed to 2d/dodge_the_creeps/hud.tscn

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[gd_scene load_steps=5 format=3 uid="uid://ccqoreueuxdb7"]
22

3-
[ext_resource type="Script" path="res://HUD.gd" id="1"]
3+
[ext_resource type="Script" path="res://hud.gd" id="1"]
44
[ext_resource type="FontFile" uid="uid://cit6gwe5px1q8" path="res://fonts/Xolonium-Regular.ttf" id="2_2jm3i"]
55

66
[sub_resource type="InputEventAction" id="InputEventAction_fopy7"]
File renamed without changes.

2d/dodge_the_creeps/Main.tscn renamed to 2d/dodge_the_creeps/main.tscn

+12-12
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[gd_scene load_steps=8 format=3 uid="uid://cyfwty2q3rdse"]
22

3-
[ext_resource type="Script" path="res://Main.gd" id="1"]
4-
[ext_resource type="PackedScene" uid="uid://rkdnhqgf2hpj" path="res://Mob.tscn" id="2"]
5-
[ext_resource type="PackedScene" uid="uid://4vwrqjegqwpj" path="res://Player.tscn" id="3"]
6-
[ext_resource type="PackedScene" uid="uid://ccqoreueuxdb7" path="res://HUD.tscn" id="4"]
7-
[ext_resource type="AudioStream" uid="uid://q2pf4fr8d0ks" path="res://art/House In a Forest Loop.ogg" id="5"]
8-
[ext_resource type="AudioStream" uid="uid://dw26fpygeag8o" path="res://art/gameover.wav" id="6"]
3+
[ext_resource type="Script" path="res://main.gd" id="1_0r6n5"]
4+
[ext_resource type="PackedScene" uid="uid://rkdnhqgf2hpj" path="res://mob.tscn" id="2_50pww"]
5+
[ext_resource type="PackedScene" uid="uid://4vwrqjegqwpj" path="res://player.tscn" id="3_veqnc"]
6+
[ext_resource type="PackedScene" uid="uid://ccqoreueuxdb7" path="res://hud.tscn" id="4_0qnje"]
7+
[ext_resource type="AudioStream" uid="uid://q2pf4fr8d0ks" path="res://art/House In a Forest Loop.ogg" id="5_55d8h"]
8+
[ext_resource type="AudioStream" uid="uid://dw26fpygeag8o" path="res://art/gameover.wav" id="6_hp1r0"]
99

1010
[sub_resource type="Curve2D" id="1"]
1111
_data = {
@@ -14,8 +14,8 @@ _data = {
1414
point_count = 5
1515

1616
[node name="Main" type="Node"]
17-
script = ExtResource("1")
18-
mob_scene = ExtResource("2")
17+
script = ExtResource("1_0r6n5")
18+
mob_scene = ExtResource("2_50pww")
1919

2020
[node name="ColorRect" type="ColorRect" parent="."]
2121
anchors_preset = 15
@@ -25,7 +25,7 @@ grow_horizontal = 2
2525
grow_vertical = 2
2626
color = Color(0.219608, 0.372549, 0.380392, 1)
2727

28-
[node name="Player" parent="." instance=ExtResource("3")]
28+
[node name="Player" parent="." instance=ExtResource("3_veqnc")]
2929

3030
[node name="MobTimer" type="Timer" parent="."]
3131
wait_time = 0.5
@@ -44,13 +44,13 @@ curve = SubResource("1")
4444

4545
[node name="MobSpawnLocation" type="PathFollow2D" parent="MobPath"]
4646

47-
[node name="HUD" parent="." instance=ExtResource("4")]
47+
[node name="HUD" parent="." instance=ExtResource("4_0qnje")]
4848

4949
[node name="Music" type="AudioStreamPlayer" parent="."]
50-
stream = ExtResource("5")
50+
stream = ExtResource("5_55d8h")
5151

5252
[node name="DeathSound" type="AudioStreamPlayer" parent="."]
53-
stream = ExtResource("6")
53+
stream = ExtResource("6_hp1r0")
5454

5555
[connection signal="hit" from="Player" to="." method="game_over"]
5656
[connection signal="timeout" from="MobTimer" to="." method="_on_MobTimer_timeout"]
File renamed without changes.

2d/dodge_the_creeps/Mob.tscn renamed to 2d/dodge_the_creeps/mob.tscn

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[gd_scene load_steps=10 format=3 uid="uid://rkdnhqgf2hpj"]
22

3-
[ext_resource type="Script" path="res://Mob.gd" id="1"]
3+
[ext_resource type="Script" path="res://mob.gd" id="1"]
44
[ext_resource type="Texture2D" uid="uid://yqglrrsx7j1f" path="res://art/enemyFlyingAlt_1.png" id="2"]
55
[ext_resource type="Texture2D" uid="uid://bpot8awhdn6ph" path="res://art/enemyFlyingAlt_2.png" id="3"]
66
[ext_resource type="Texture2D" uid="uid://bu4221t7qpa7d" path="res://art/enemyWalking_1.png" id="4"]
File renamed without changes.

2d/dodge_the_creeps/Player.tscn renamed to 2d/dodge_the_creeps/player.tscn

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[gd_scene load_steps=13 format=3 uid="uid://4vwrqjegqwpj"]
22

3-
[ext_resource type="Script" path="res://Player.gd" id="1"]
3+
[ext_resource type="Script" path="res://player.gd" id="1"]
44
[ext_resource type="Texture2D" uid="uid://ftkxr8r4qghp" path="res://art/playerGrey_walk1.png" id="2"]
55
[ext_resource type="Texture2D" uid="uid://couyhcegeihme" path="res://art/playerGrey_walk2.png" id="3"]
66
[ext_resource type="Texture2D" uid="uid://b4yyoafu8bi0q" path="res://art/playerGrey_up1.png" id="4"]

2d/dodge_the_creeps/project.godot

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ This is a finished version of the game featured in the 'Your first 2D game'
1818
tutorial in the documentation. For more details, consider
1919
following the tutorial in the documentation."
2020
config/tags=PackedStringArray("2d", "demo", "official")
21-
run/main_scene="res://Main.tscn"
21+
run/main_scene="res://main.tscn"
2222
config/features=PackedStringArray("4.2")
2323
config/icon="res://icon.webp"
2424

0 commit comments

Comments
 (0)