File tree Expand file tree Collapse file tree 14 files changed +57
-224
lines changed
examples/dodge-the-creeps Expand file tree Collapse file tree 14 files changed +57
-224
lines changed Original file line number Diff line number Diff line change 1
- list =[]
1
+ list =Array[Dictionary]([])
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- [gd_scene load_steps =2 format =3 uid ="uid://b6f427lco0mqk" ]
1
+ [gd_scene load_steps =4 format =3 uid ="uid://ccqoreueuxdb7" ]
2
+
3
+ [ext_resource type ="FontFile" uid ="uid://cit6gwe5px1q8" path ="res://fonts/Xolonium-Regular.ttf" id ="1_poxll" ]
4
+
5
+ [sub_resource type ="InputEventAction" id ="InputEventAction_fopy7" ]
6
+ action = &"start_game"
2
7
3
8
[sub_resource type ="Shortcut" id ="4" ]
9
+ events = [SubResource ("InputEventAction_fopy7" )]
4
10
5
11
[node name ="Hud" type ="Hud" ]
6
12
@@ -9,6 +15,7 @@ anchors_preset = 10
9
15
anchor_right = 1.0
10
16
offset_bottom = 78.0
11
17
grow_horizontal = 2
18
+ theme_override_fonts/font = ExtResource ("1_poxll" )
12
19
theme_override_font_sizes/font_size = 60
13
20
text = "0"
14
21
horizontal_alignment = 1
@@ -22,6 +29,7 @@ offset_top = -79.5
22
29
offset_bottom = 79.5
23
30
grow_horizontal = 2
24
31
grow_vertical = 2
32
+ theme_override_fonts/font = ExtResource ("1_poxll" )
25
33
theme_override_font_sizes/font_size = 60
26
34
text = "Dodge the
27
35
Creeps"
@@ -39,6 +47,7 @@ offset_right = 90.0
39
47
offset_bottom = -100.0
40
48
grow_horizontal = 2
41
49
grow_vertical = 0
50
+ theme_override_fonts/font = ExtResource ("1_poxll" )
42
51
theme_override_font_sizes/font_size = 60
43
52
shortcut = SubResource ("4" )
44
53
text = "Start"
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
[gd_scene load_steps =6 format =3 uid ="uid://cyfwty2q3rdse" ]
2
2
3
3
[ext_resource type ="PackedScene" uid ="uid://4vwrqjegqwpj" path ="res://Player.tscn" id ="3" ]
4
- [ext_resource type ="PackedScene" uid ="uid://b6f427lco0mqk " path ="res://Hud.tscn" id ="4" ]
5
- [ext_resource type ="AudioStream" uid ="uid://4nydgv0blw0f " path ="res://art/House In a Forest Loop.ogg" id ="5" ]
6
- [ext_resource type ="AudioStream" uid ="uid://bfm4mpbt2cmpk " path ="res://art/gameover.wav" id ="6" ]
4
+ [ext_resource type ="PackedScene" uid ="uid://ccqoreueuxdb7 " path ="res://Hud.tscn" id ="4" ]
5
+ [ext_resource type ="AudioStream" uid ="uid://q2pf4fr8d0ks " path ="res://art/House In a Forest Loop.ogg" id ="5" ]
6
+ [ext_resource type ="AudioStream" uid ="uid://dw26fpygeag8o " path ="res://art/gameover.wav" id ="6" ]
7
7
8
8
[sub_resource type ="Curve2D" id ="1" ]
9
9
_data = {
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
[gd_scene load_steps =9 format =3 uid ="uid://rkdnhqgf2hpj" ]
2
2
3
- [ext_resource type ="Texture2D" uid ="uid://cm5gcq5ye1dfp " path ="res://art/enemyFlyingAlt_1.png" id ="2" ]
4
- [ext_resource type ="Texture2D" uid ="uid://bgm216v7s45eh " path ="res://art/enemyFlyingAlt_2.png" id ="3" ]
5
- [ext_resource type ="Texture2D" uid ="uid://8mvo2d5mwhbr " path ="res://art/enemyWalking_1.png" id ="4" ]
6
- [ext_resource type ="Texture2D" uid ="uid://c8wjbhrgviadh " path ="res://art/enemyWalking_2.png" id ="5" ]
7
- [ext_resource type ="Texture2D" uid ="uid://bmw4gn8qp4owc " path ="res://art/enemySwimming_1.png" id ="6" ]
8
- [ext_resource type ="Texture2D" uid ="uid://bciy3d2t3uuvf " path ="res://art/enemySwimming_2.png" id ="7" ]
3
+ [ext_resource type ="Texture2D" uid ="uid://yqglrrsx7j1f " path ="res://art/enemyFlyingAlt_1.png" id ="2" ]
4
+ [ext_resource type ="Texture2D" uid ="uid://bpot8awhdn6ph " path ="res://art/enemyFlyingAlt_2.png" id ="3" ]
5
+ [ext_resource type ="Texture2D" uid ="uid://bu4221t7qpa7d " path ="res://art/enemyWalking_1.png" id ="4" ]
6
+ [ext_resource type ="Texture2D" uid ="uid://booij5t7h4efb " path ="res://art/enemyWalking_2.png" id ="5" ]
7
+ [ext_resource type ="Texture2D" uid ="uid://5lvm88ij4jqn " path ="res://art/enemySwimming_1.png" id ="6" ]
8
+ [ext_resource type ="Texture2D" uid ="uid://bng45cvsgufqc " path ="res://art/enemySwimming_2.png" id ="7" ]
9
9
10
10
[sub_resource type ="SpriteFrames" id ="1" ]
11
11
animations = [{
@@ -54,7 +54,7 @@ gravity_scale = 0.0
54
54
[node name ="AnimatedSprite2D" type ="AnimatedSprite2D" parent ="." ]
55
55
scale = Vector2 (0.75 , 0.75 )
56
56
sprite_frames = SubResource ("1" )
57
- animation = &"fly "
57
+ animation = &"walk "
58
58
59
59
[node name ="CollisionShape2D" type ="CollisionShape2D" parent ="." ]
60
60
rotation = 1.5708
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
[gd_scene load_steps =12 format =3 uid ="uid://4vwrqjegqwpj" ]
2
2
3
- [ext_resource type ="Texture2D" uid ="uid://bj4l4w7uqqvj8 " path ="res://art/playerGrey_walk1.png" id ="2" ]
4
- [ext_resource type ="Texture2D" uid ="uid://m72luixufvrn " path ="res://art/playerGrey_walk2.png" id ="3" ]
5
- [ext_resource type ="Texture2D" uid ="uid://capk1keirob5u " path ="res://art/playerGrey_up1.png" id ="4" ]
6
- [ext_resource type ="Texture2D" uid ="uid://l7hs5mf40b2s " path ="res://art/playerGrey_up2.png" id ="5" ]
3
+ [ext_resource type ="Texture2D" uid ="uid://ftkxr8r4qghp " path ="res://art/playerGrey_walk1.png" id ="2" ]
4
+ [ext_resource type ="Texture2D" uid ="uid://couyhcegeihme " path ="res://art/playerGrey_walk2.png" id ="3" ]
5
+ [ext_resource type ="Texture2D" uid ="uid://b4yyoafu8bi0q " path ="res://art/playerGrey_up1.png" id ="4" ]
6
+ [ext_resource type ="Texture2D" uid ="uid://bko65a0nd66st " path ="res://art/playerGrey_up2.png" id ="5" ]
7
7
8
8
[sub_resource type ="SpriteFrames" id ="1" ]
9
9
animations = [{
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments