Initial Android commit
This commit is contained in:
commit
1e2b80c13d
8521 changed files with 231475 additions and 0 deletions
23
scripts/AlternativeChoices/AlternativeChoiceTimeline_0.gd
Normal file
23
scripts/AlternativeChoices/AlternativeChoiceTimeline_0.gd
Normal file
|
@ -0,0 +1,23 @@
|
|||
extends "res://scripts/AlternativeChoices/AlternativeChoiceBase.gd"
|
||||
|
||||
func Localization():
|
||||
localization = [""];
|
||||
|
||||
func SetCursorStates():
|
||||
cursorStates = [CursorState.Press];
|
||||
|
||||
func CheckForVariables():
|
||||
$Timer.start();
|
||||
$PhonePlayer.play();
|
||||
|
||||
func _on_Orange_button_up():
|
||||
if CheckHover():
|
||||
$PhonePlayer.stop();
|
||||
$Timer.stop();
|
||||
Dialogic.set_variable("PreviousTimelineChoice", "answer");
|
||||
End()
|
||||
|
||||
func _on_Timer_timeout():
|
||||
$PhonePlayer.stop();
|
||||
Dialogic.set_variable("PreviousTimelineChoice", "no_answer");
|
||||
End();
|
Loading…
Add table
Add a link
Reference in a new issue