extends CanvasLayer
const PLAYER2 = preload("res://scenes/characters/players/player_2.tscn")
var player2 = PLAYER2.instance()
func ready():
$UIcontainer/fullhearts.rectsize.x = 144
func physicsprocess(delta):
$UIcontainer/ballcounter.text = str(balls)
func ballsChange():
balls -= 1
func healthChange():
$UIcontainer/fullhearts.rect_size.x -= 48
i have this script and every time i run the scene an error pops up that says:
Parser Error: Can't preload resource at path:
res://scenes/characters/players/player_2.tscn
what does the error mean?