- improving textures
- adding coins (no shop jet) - adding skin changing [no gui jet - fixing loops for deleting stuff]
This commit is contained in:
parent
45193fc27f
commit
dd5b4bcae5
45 changed files with 547 additions and 382 deletions
|
@ -7,11 +7,10 @@ var speed: float
|
|||
func _ready() -> void:
|
||||
pass
|
||||
|
||||
func _physics_process(delta: float) -> void:
|
||||
func _process(delta: float) -> void:
|
||||
if $"/root/Global".gamerunning:
|
||||
print("ahhhh")
|
||||
global_position.x -= $"/root/Global".speed*delta
|
||||
if global_position.y < -30:
|
||||
queue_free()
|
||||
|
||||
|
||||
func screen_e() -> void:
|
||||
|
|
|
@ -21,6 +21,15 @@ func probability(prozent):
|
|||
return randf() > 1 - (0.01 * prozent)
|
||||
|
||||
func change_biom():
|
||||
#if active_biom == "w_n":
|
||||
# active_biom = "n"
|
||||
#elif active_biom == "s_n":
|
||||
# active_biom = "n"
|
||||
#elif active_biom == "n_w":
|
||||
# active_biom = "w"
|
||||
#elif active_biom == "n_s":
|
||||
# active_biom = "s"
|
||||
|
||||
if biom_type == "n":
|
||||
change_in -= 1
|
||||
if probability(60):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue