I am trying to adjust my games so they use the “rect”, but it has been giving me some problems. At first my UI button worked, but that was on UI version 1.1. I realized that it was now up to 2.4 so i downloaded it, and put it into my application. The button no longer worked, so i looked and found that there was a different way of writing the buttons.
local btn = ui.newButton{
defaultSrc = "images/clickhere.png,
overSrc = "images/clickheredown.png,
overAlpha = .5,
overScale = 1.1,
onEvent = ButtonTouch,
id = "Button",
}
Can someone help me out with what I’m doing wrong?
Thanks [import]uid: 24708 topic_id: 22432 reply_id: 322432[/import]