Hello all,
I would like to use a button from my computer instead of a down loaded widget, I tried entering playredBtn, but since it’s not a widget I got lost after --forward declarations and other locals.
Here are all the codes that show playBtn.
-- forward declarations and other locals local playBtn ------------------------------------------------------------------------------- -- 'onRelease' event listener for playBtn local function onPlayBtnRelease() ------------------------------------------------------------------------------- -- create a widget button (which will loads level1.lua on release) playBtn = widget.newButton { label="Play Now", labelColor = { default={0, 0, 0}, over={128} }, default="button.png", over="button-over.png", width=154, height=40, onRelease = onPlayBtnRelease -- event listener function } playBtn.x = display.contentCenterX playBtn.y = display.contentHeight - 125
Sorry the button is so large.
Appreciate any help,
Thank you