summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkdx <kikoodx@paranoici.org>2023-10-29 20:59:08 +0100
committerkdx <kikoodx@paranoici.org>2023-10-29 20:59:08 +0100
commitfc905f76a3a562bc341e5e23afdc6760935ef18c (patch)
tree4a07f2849c19364394febba700d3fc7210097891
parent27b3b3aa611deb52d736eb9438d813227130177f (diff)
downloadgenshin2-fc905f76a3a562bc341e5e23afdc6760935ef18c.tar.gz
coping
-rw-r--r--ColorRect.gd2
-rw-r--r--characters.pngbin328918 -> 332320 bytes
-rw-r--r--coin.tscn2
-rw-r--r--game.tscn10
4 files changed, 7 insertions, 7 deletions
diff --git a/ColorRect.gd b/ColorRect.gd
index 15a5156..be5c6ac 100644
--- a/ColorRect.gd
+++ b/ColorRect.gd
@@ -9,7 +9,7 @@ func _ready() -> void:
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _physics_process(_delta: float) -> void:
if !Globals.FUN:
- color.r = 0
+ color.r = 0 if name == "RestrBackground" else 0.18
else:
color.r = randi_range(0, 1)
color.g = color.r
diff --git a/characters.png b/characters.png
index bf4375e..8107538 100644
--- a/characters.png
+++ b/characters.png
Binary files differ
diff --git a/coin.tscn b/coin.tscn
index d578396..7411c6a 100644
--- a/coin.tscn
+++ b/coin.tscn
@@ -9,7 +9,7 @@ radius = 36.0139
[node name="Coin" type="Area2D"]
script = ExtResource("1_spp6n")
attraction_range = 256.0
-attraction_speed = 16.0
+attraction_speed = 6.0
metadata/_edit_group_ = true
[node name="Sprite2D" type="Sprite2D" parent="."]
diff --git a/game.tscn b/game.tscn
index d38c0fd..b0aaf26 100644
--- a/game.tscn
+++ b/game.tscn
@@ -28,10 +28,10 @@ anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
-offset_left = -800.0
-offset_top = -600.0
-offset_right = 800.0
-offset_bottom = 600.0
+offset_left = -1664.0
+offset_top = -1504.0
+offset_right = 384.0
+offset_bottom = 544.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0, 0, 0, 1)
@@ -80,7 +80,7 @@ position = Vector2(-1024, -1024)
[node name="SpawnTimer" type="Timer" parent="."]
process_callback = 0
-wait_time = 4.0
+wait_time = 2.5
autostart = true
[connection signal="timeout" from="SpawnTimer" to="." method="_on_spawn_timer_timeout"]