How would you go about showing text on screen with an integer and string, ie: showing a stats/records screen where it says something like wins: 5 losses: 2?
I was guessing it would be something along the lines of:
extends Label
var x = 5
var y = 2
func _ready():
set_text("wins: " + x + "Losses: " + y)
However, this doesn't seem to work.
Also, how would I go about adding a line, to get this:
Wins: 5
Losses: 2