Added issue tracker button
This commit is contained in:
parent
45791e789d
commit
8399a4065c
3 changed files with 14 additions and 0 deletions
|
@ -186,6 +186,14 @@ position = Vector2(16, 80)
|
|||
scale = Vector2(0.112694, 0.112694)
|
||||
texture = ExtResource("11_1ejug")
|
||||
|
||||
[node name="issuesButton" type="Button" parent="."]
|
||||
layout_mode = 0
|
||||
offset_left = 479.0
|
||||
offset_top = 504.0
|
||||
offset_right = 669.0
|
||||
offset_bottom = 570.0
|
||||
text = "ISSUE TRACKER"
|
||||
|
||||
[connection signal="pressed" from="Button" to="." method="_on_button_pressed"]
|
||||
[connection signal="mouse_entered" from="playButton" to="." method="_on_play_button_mouse_entered"]
|
||||
[connection signal="mouse_exited" from="playButton" to="." method="_on_play_button_mouse_exited"]
|
||||
|
@ -198,3 +206,4 @@ texture = ExtResource("11_1ejug")
|
|||
[connection signal="mouse_exited" from="creditsButton" to="." method="_on_credits_button_mouse_exited"]
|
||||
[connection signal="pressed" from="creditsButton" to="." method="_on_button_5_pressed"]
|
||||
[connection signal="pressed" from="lightButton" to="." method="_on_light_button_pressed"]
|
||||
[connection signal="pressed" from="issuesButton" to="." method="_on_issues_button_pressed"]
|
||||
|
|
|
@ -257,6 +257,7 @@ func restart_round():
|
|||
Global.iAmSpecial = false
|
||||
Global.specialDead = false
|
||||
Global.iAmDeadAndInnocent = false
|
||||
Global.roundInSession = true
|
||||
|
||||
### TUTORIAL STUFF ###
|
||||
|
||||
|
|
|
@ -106,3 +106,7 @@ func _on_light_button_pressed():
|
|||
audiostream.set_stream(load("res://sounds/light-switch.mp3"))
|
||||
add_child(audiostream)
|
||||
audiostream.play()
|
||||
|
||||
|
||||
func _on_issues_button_pressed():
|
||||
OS.shell_open("https://git.techwizz-emu.com/the_adventures_of_teddy/public_issues/issues")
|
||||
|
|
Loading…
Reference in a new issue