- implementing biom change
- fixing typo in "highscore"
This commit is contained in:
parent
520a5db2c6
commit
431fb8220e
24 changed files with 242 additions and 105 deletions
|
@ -13,10 +13,10 @@ func _spawn() -> void:
|
|||
|
||||
var v1 = 1.5 - (speed / 260)
|
||||
var v2 = 2.0 - (speed / 260)
|
||||
print(str(v1)," ",str(v2))
|
||||
#print(str(v1)," ",str(v2))
|
||||
|
||||
$"../SpawnTimer".wait_time = randf_range(v1,v2)
|
||||
print("speed: ",speed)
|
||||
#print("speed: ",speed)
|
||||
add_child(hindernis)
|
||||
|
||||
func del_all():
|
||||
|
|
|
@ -9,3 +9,5 @@ func _ready() -> void:
|
|||
func _process(delta: float) -> void:
|
||||
speed = $"..".speed
|
||||
global_position.x -= speed*delta
|
||||
if global_position.x < -30:
|
||||
queue_free()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue