Help adding image to dialog box
Posted: Sat Apr 25, 2015 12:02 pm
Hello just a quick one when making dialog windows is there an easy way to add an image to spruce up the dialog?
i see this being used but i dont know how to use it. i have a simple PNG image and ive pointed the file="" to it still i cant see it in game.
local Image = require "engine.ui.Image"
image = Image.new{file="lore/"..l.image, auto_width=true, auto_height=true}
i see this being used but i dont know how to use it. i have a simple PNG image and ive pointed the file="" to it still i cant see it in game.
local Image = require "engine.ui.Image"
image = Image.new{file="lore/"..l.image, auto_width=true, auto_height=true}