Initial Android commit
This commit is contained in:
commit
1e2b80c13d
8521 changed files with 231475 additions and 0 deletions
|
@ -0,0 +1,28 @@
|
|||
extends "res://scripts/AlternativeChoices/AlternativeChoiceBase.gd"
|
||||
|
||||
func Localization():
|
||||
localization = ["", "choice15.3", ""];
|
||||
|
||||
func SetCursorStates():
|
||||
cursorStates = [CursorState.Walk, CursorState.Walk, CursorState.Press];
|
||||
|
||||
func AdjustLabels():
|
||||
$Labels / a2.rect_global_position.y = $Labels / a2.rect_global_position.y - 25;
|
||||
|
||||
func CheckForVariables():
|
||||
$SpriteButtons / a2.visible = int(Dialogic.get_variable("Time")) < 45;
|
||||
|
||||
func _on_a1_button_up():
|
||||
if not CheckHover():return ;
|
||||
Dialogic.set_variable("PreviousTimelineChoice", "back");
|
||||
End()
|
||||
|
||||
func _on_a2_button_up():
|
||||
if not CheckHover():return ;
|
||||
Dialogic.set_variable("PreviousTimelineChoice", "smoking");
|
||||
End()
|
||||
|
||||
func _on_a3_button_up():
|
||||
if not CheckHover():return ;
|
||||
Dialogic.set_variable("PreviousTimelineChoice", "text");
|
||||
End()
|
Loading…
Add table
Add a link
Reference in a new issue