mirror of
https://github.com/kristoferssolo/FuncIt.git
synced 2026-03-22 00:26:23 +00:00
Almost working buttons
instead of bullet flying trajectory changing and hyperbollic line
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user