πŸ–ΌοΈImage

To display an image in Matthias you will have to provide the following arguments:

  • Position of the Image: [f32; 2]

  • Size of the Image: [f32; 2]

  • Path to the Image: String

--Position (x, y)
position = {500., 500.}

--Image Size (width, height)
size = {100., 300.}

--Draw image on draw
function OnDraw()
    draw_image(position, size, "C:\\Path\\To\\Your\\Image.png")
end