I’ll give this a go tonight and let you know (on an old Mac with 10.4 at the moment so can’t do anything!) [import]uid: 45932 topic_id: 8065 reply_id: 28956[/import]
Hi, this is the stripped-down code I’ve got so far. I still don’t quite know what needs to happen to get the hours to work…
local time\_now = os.time('\*t');
function timeTest()
if (time\_now \>= ...) and (time\_now \< ...) then
display.newImage("good\_night.png",0,0)
else
display.newImage("good\_day.png",0,0)
end
end
timeTest()
Any help would be very gratefully received!
Thanks
Steve [import]uid: 45932 topic_id: 8065 reply_id: 29056[/import]