79180480

Date: 2024-11-12 09:28:31
Score: 1.5
Natty:
Report link

Actually, load_from_file and create_from_image are not procedures but functions and return Image and ImageTexture, so solution was just

var img = Image.new().load_from_file(lang_path + "logo.png")
var texture = ImageTexture.new().create_from_image(img)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Alexandr