more clouds!

This commit is contained in:
tess 2021-12-07 13:18:23 +01:00
parent 3f28da0d8b
commit 2abfa54906
11 changed files with 10 additions and 6 deletions

View file

@ -1,3 +1,3 @@
source_md5="c350e2bb99fd3bbcfa0e51ce07d5d1df" source_md5="b10a44e408c8c41ee5c84c8293a3515a"
dest_md5="9780a2ab73ad9cb49a2ac8022da4e194" dest_md5="e990e59bd92466ba24bc9edc7ef741e4"

View file

@ -1,3 +1,3 @@
source_md5="c04e7531e98e282ea6e97ce1c2acc7dc" source_md5="0d01b387917b9c8659b4efe4db39fd01"
dest_md5="0274b5ec36c6ae93812570674124efd4" dest_md5="3e5df1708238d7533a1b53be96896ced"

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 179 B

After

Width:  |  Height:  |  Size: 1,011 B

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 3 KiB

View file

@ -2,6 +2,9 @@ extends Sprite
var direction = 0 var direction = 0
func _ready():
frame = randi() % hframes
func _physics_process(delta): func _physics_process(delta):
global_position += Vector2(direction, 0) global_position += Vector2(direction, 0)

View file

@ -5,10 +5,11 @@
[node name="Cloud" type="Sprite"] [node name="Cloud" type="Sprite"]
texture = ExtResource( 1 ) texture = ExtResource( 1 )
hframes = 8
script = ExtResource( 2 ) script = ExtResource( 2 )
[node name="Timer" type="Timer" parent="."] [node name="Timer" type="Timer" parent="."]
wait_time = 20.0 wait_time = 25.0
autostart = true autostart = true
[connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"] [connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"]

View file

@ -166,7 +166,7 @@ material = SubResource( 3 )
margin_left = 1.0 margin_left = 1.0
margin_top = 1.0 margin_top = 1.0
margin_right = 105.0 margin_right = 105.0
margin_bottom = 120.0 margin_bottom = 124.0
theme = ExtResource( 5 ) theme = ExtResource( 5 )
custom_colors/default_color = Color( 0.94902, 0.988235, 0.878431, 1 ) custom_colors/default_color = Color( 0.94902, 0.988235, 0.878431, 1 )
custom_fonts/normal_font = SubResource( 4 ) custom_fonts/normal_font = SubResource( 4 )