Rebinded buttons.

- WIP and very primitive power grid logic
This commit is contained in:
Tony Bark 2021-10-02 11:55:14 -04:00
parent abf160838c
commit 44386959d3
3 changed files with 195 additions and 13 deletions

View file

@ -52,11 +52,11 @@ func _get_budget():
SimData.budget += total_income
SimData.res_income = total_income
func _on_Zone_body_entered(body):
func _on_Zone_body_entered(body: Node):
if SimData.has_power and can_grab == false:
quarters.start()
_animante_sprite()
func _on_Zone_body_exited(body):
func _on_Zone_body_exited(body: Node):
quarters.stop()
_animante_sprite(false)

View file

@ -46,4 +46,5 @@ func _on_CheetaBtn_toggled(button_pressed):
turtle_btn.pressed = false
func _on_VRMode_pressed():
get_tree().change_scene("res://scenes/VR Game.tscn")
# get_tree().change_scene("res://scenes/VR Game.tscn")
pass