Ouroboros/Scripts/instruction_label.gd

22 lines
1.0 KiB
GDScript

extends Label
func _ready() -> void:
if OS.has_feature("web_android") or OS.has_feature("web_ios"):
text = "A game of Ouroboros is about creating loops of snakes, called an Ouroboros. The aim is to create as many Ouroboroses as you can.
To control your snake, you can swipe in the direction you want to go.
Eating a fruit does not give you any points, but will increase the length of your snake according the type of fruit as shown below.
Each time you achieve an Ouroboros, you get one score and start as a new snake inside the old Ouroboros, making the arena smaller."
else:
text = "A game of Ouroboros is about creating loops of snakes, called an Ouroboros. The aim is to create as many Ouroboroses as you can.
To control your snake, you can use, WASD, arrow keys or Vi direction keys.
Eating a fruit does not give you any points, but will increase the length of your snake according the type of fruit as shown below.
Each time you achieve an Ouroboros, you get one score and start as a new snake inside the old Ouroboros, making the arena smaller."