diff --git a/.import/Cloud.png-a0f5bc28b2ba9effeb7a4fe75f154a67.md5 b/.import/Cloud.png-a0f5bc28b2ba9effeb7a4fe75f154a67.md5 index 5dbbd8a..6d53f08 100644 --- a/.import/Cloud.png-a0f5bc28b2ba9effeb7a4fe75f154a67.md5 +++ b/.import/Cloud.png-a0f5bc28b2ba9effeb7a4fe75f154a67.md5 @@ -1,3 +1,3 @@ -source_md5="c350e2bb99fd3bbcfa0e51ce07d5d1df" -dest_md5="9780a2ab73ad9cb49a2ac8022da4e194" +source_md5="b10a44e408c8c41ee5c84c8293a3515a" +dest_md5="e990e59bd92466ba24bc9edc7ef741e4" diff --git a/.import/Cloud.png-a0f5bc28b2ba9effeb7a4fe75f154a67.stex b/.import/Cloud.png-a0f5bc28b2ba9effeb7a4fe75f154a67.stex index 7000c0f..b3b53c1 100644 Binary files a/.import/Cloud.png-a0f5bc28b2ba9effeb7a4fe75f154a67.stex and b/.import/Cloud.png-a0f5bc28b2ba9effeb7a4fe75f154a67.stex differ diff --git a/.import/Mountains.png-734df2eff639336545f73cc9147b2dfd.md5 b/.import/Mountains.png-734df2eff639336545f73cc9147b2dfd.md5 index 53894b0..8399ac6 100644 --- a/.import/Mountains.png-734df2eff639336545f73cc9147b2dfd.md5 +++ b/.import/Mountains.png-734df2eff639336545f73cc9147b2dfd.md5 @@ -1,3 +1,3 @@ -source_md5="c04e7531e98e282ea6e97ce1c2acc7dc" -dest_md5="0274b5ec36c6ae93812570674124efd4" +source_md5="0d01b387917b9c8659b4efe4db39fd01" +dest_md5="3e5df1708238d7533a1b53be96896ced" diff --git a/.import/Mountains.png-734df2eff639336545f73cc9147b2dfd.stex b/.import/Mountains.png-734df2eff639336545f73cc9147b2dfd.stex index d0cb48e..1260ec1 100644 Binary files a/.import/Mountains.png-734df2eff639336545f73cc9147b2dfd.stex and b/.import/Mountains.png-734df2eff639336545f73cc9147b2dfd.stex differ diff --git a/Aseprite/Cloud.aseprite b/Aseprite/Cloud.aseprite index ada631b..dcd8ec7 100644 Binary files a/Aseprite/Cloud.aseprite and b/Aseprite/Cloud.aseprite differ diff --git a/Aseprite/Cloud.png b/Aseprite/Cloud.png index d46eb4c..505395a 100644 Binary files a/Aseprite/Cloud.png and b/Aseprite/Cloud.png differ diff --git a/Aseprite/Mountains.aseprite b/Aseprite/Mountains.aseprite index abc8df9..aae88c1 100644 Binary files a/Aseprite/Mountains.aseprite and b/Aseprite/Mountains.aseprite differ diff --git a/Aseprite/Mountains.png b/Aseprite/Mountains.png index 4753aba..00d804d 100644 Binary files a/Aseprite/Mountains.png and b/Aseprite/Mountains.png differ diff --git a/World/Cloud.gd b/World/Cloud.gd index 6660471..10376b1 100644 --- a/World/Cloud.gd +++ b/World/Cloud.gd @@ -2,6 +2,9 @@ extends Sprite var direction = 0 +func _ready(): + frame = randi() % hframes + func _physics_process(delta): global_position += Vector2(direction, 0) diff --git a/World/Cloud.tscn b/World/Cloud.tscn index 97b0452..4111ecc 100644 --- a/World/Cloud.tscn +++ b/World/Cloud.tscn @@ -5,10 +5,11 @@ [node name="Cloud" type="Sprite"] texture = ExtResource( 1 ) +hframes = 8 script = ExtResource( 2 ) [node name="Timer" type="Timer" parent="."] -wait_time = 20.0 +wait_time = 25.0 autostart = true [connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"] diff --git a/World/Main.tscn b/World/Main.tscn index df06f3e..46ebaab 100644 --- a/World/Main.tscn +++ b/World/Main.tscn @@ -166,7 +166,7 @@ material = SubResource( 3 ) margin_left = 1.0 margin_top = 1.0 margin_right = 105.0 -margin_bottom = 120.0 +margin_bottom = 124.0 theme = ExtResource( 5 ) custom_colors/default_color = Color( 0.94902, 0.988235, 0.878431, 1 ) custom_fonts/normal_font = SubResource( 4 )