Browse Source

made mini-game faster

Nabzzz 4 months ago
parent
commit
9dd2ae7bb5
2 changed files with 4 additions and 2 deletions
  1. 2
    1
      mini-game/scenes/decor/foreground.gd
  2. 2
    1
      mini-game/scripts/scroll_movement.gd

+ 2
- 1
mini-game/scenes/decor/foreground.gd View File

@@ -16,7 +16,8 @@ func stop():
16 16
 func start():
17 17
 	moving = true
18 18
 	force_stop = false
19
-	texture.material.set_shader_param("scroll_speed", 0.2)
19
+	texture.material.set_shader_param("scroll_speed", 0.282)
20
+	#texture.material.set_shader_param("scroll_speed", 0.2)
20 21
 
21 22
 func _process(delta):
22 23
 	if not force_stop:

+ 2
- 1
mini-game/scripts/scroll_movement.gd View File

@@ -1,6 +1,7 @@
1 1
 extends Node2D
2 2
 
3
-export var scroll_speed = 6.3
3
+#export var scroll_speed = 6.3
4
+export var scroll_speed = 9
4 5
 
5 6
 func _ready():
6 7
 	Signals.connect("die",self,"game_over")

Loading…
Cancel
Save