Almost working buttons

instead of bullet flying trajectory changing and hyperbollic line
This commit is contained in:
Moonshrike
2021-11-15 12:59:44 +02:00
parent 0706f73970
commit 3c9189aef0
5 changed files with 19 additions and 18 deletions

View File

@@ -12,19 +12,23 @@ func _ready():
func _on_line_pressed():
Global.get('player').enable_trajectory_line('line')
#Global.get('player').choose_trajectory('line')
pass # Replace with function body.
func _on_parabol_pressed():
on_parab_pressed = true
Global.get('player').enable_trajectory_line('parab')
#Global.get('player').choose_trajectory('parab')
pass # Replace with function body.
func _on_hyperbol_pressed():
on_hyper_pressed = true
Global.get('player').enable_trajectory_line('hyper')
#Global.get('player').trajectory_line = 'hyper'
pass # Replace with function body.
func _on_sine_pressed():
on_sine_pressed = true
Global.get('player').enable_trajectory_line('sine')
#Global.get('player').trajectory_line = 'sine'
pass # Replace with function body.