File tree 3 files changed +15
-13
lines changed
examples/dodge-the-creeps/godot 3 files changed +15
-13
lines changed Original file line number Diff line number Diff line change 2
2
3
3
[ext_resource type ="PackedScene" uid ="uid://4vwrqjegqwpj" path ="res://Player.tscn" id ="3" ]
4
4
[ext_resource type ="PackedScene" uid ="uid://b6f427lco0mqk" 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" ]
5
+ [ext_resource type ="AudioStream" uid ="uid://jy3fk3ujnkpl " path ="res://art/House In a Forest Loop.ogg" id ="5" ]
6
+ [ext_resource type ="AudioStream" uid ="uid://cfb6f1t1p6axm " path ="res://art/gameover.wav" id ="6" ]
7
7
8
8
[sub_resource type ="Curve2D" id ="1" ]
9
9
_data = {
@@ -52,4 +52,4 @@ stream = ExtResource("6")
52
52
[connection signal ="timeout" from ="MobTimer" to ="." method ="on_mob_timer_timeout" ]
53
53
[connection signal ="timeout" from ="ScoreTimer" to ="." method ="on_score_timer_timeout" ]
54
54
[connection signal ="timeout" from ="StartTimer" to ="." method ="on_start_timer_timeout" ]
55
- [connection signal ="start_game" from ="Hud" to ="." method ="new_game" flags =3 ]
55
+ [connection signal ="start_game" from ="Hud" to ="." method ="new_game" flags =3 ]
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://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" ]
3
+ [ext_resource type ="Texture2D" uid ="uid://ch2bfqohapw00 " path ="res://art/enemyFlyingAlt_1.png" id ="2" ]
4
+ [ext_resource type ="Texture2D" uid ="uid://uhy7j2necuj2 " path ="res://art/enemyFlyingAlt_2.png" id ="3" ]
5
+ [ext_resource type ="Texture2D" uid ="uid://dd56ab6ouwms7 " path ="res://art/enemyWalking_1.png" id ="4" ]
6
+ [ext_resource type ="Texture2D" uid ="uid://dulw5juue3ivn " path ="res://art/enemyWalking_2.png" id ="5" ]
7
+ [ext_resource type ="Texture2D" uid ="uid://cnwoep5enlhrj " path ="res://art/enemySwimming_1.png" id ="6" ]
8
+ [ext_resource type ="Texture2D" uid ="uid://eqshh2v5g0dn " path ="res://art/enemySwimming_2.png" id ="7" ]
9
9
10
10
[sub_resource type ="SpriteFrames" id ="1" ]
11
11
animations = [{
@@ -37,6 +37,7 @@ gravity_scale = 0.0
37
37
scale = Vector2 (0.75 , 0.75 )
38
38
frames = SubResource ("1" )
39
39
animation = &"walk"
40
+ playing = true
40
41
41
42
[node name ="CollisionShape2D" type ="CollisionShape2D" parent ="." ]
42
43
rotation = 1.5708
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://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" ]
3
+ [ext_resource type ="Texture2D" uid ="uid://bei50n77gmlml " path ="res://art/playerGrey_walk1.png" id ="2" ]
4
+ [ext_resource type ="Texture2D" uid ="uid://bdkoaa5a3c44c " path ="res://art/playerGrey_walk2.png" id ="3" ]
5
+ [ext_resource type ="Texture2D" uid ="uid://qpg7fsh1wnd6 " path ="res://art/playerGrey_up1.png" id ="4" ]
6
+ [ext_resource type ="Texture2D" uid ="uid://c4vx8t665is8j " path ="res://art/playerGrey_up2.png" id ="5" ]
7
7
8
8
[sub_resource type ="SpriteFrames" id ="1" ]
9
9
animations = [{
@@ -41,6 +41,7 @@ scale_curve = SubResource("6")
41
41
color_ramp = SubResource ("4" )
42
42
43
43
[node name ="Player" type ="Player" ]
44
+ visible = false
44
45
z_index = 10
45
46
46
47
[node name ="AnimatedSprite2D" type ="AnimatedSprite2D" parent ="." ]
You can’t perform that action at this time.
0 commit comments