My game works fine in the simulator but shows an error on my phone.
The problem is with the button files not loading.
Here is my code:
button1 = widget.newButton(
{
x=270,
y=0,
width = 200,
height = 90,
defaultFile = “buttons/buttonRed.png”,
overFile = “buttons/buttonRedOVer.png”,
label = “MSG”,
fontSize = 60,
emboss = true,
labelColor = { default={ 1, 1, 1 }, over={ 1, 1, 1, 0.5 } },
});
button1:addEventListener( “tap”, onButtonShowPlayersTap )
_group:insert( button1 );
this is the warning:
12:07:14.957 WARNING: case of filename ‘C:\Multitouch\buttons/buttonRedOVer.png’ differs on disk
How can I load the images?