hi guys, so what I’m trying to do is make use of real times (os.time) so that it loads either a night or day theme.
So for example the game loads, it reads the current time, and then loads a certain image set dependant of that time frame. Can this be done?
I currently have my game loading random images through this:
background = { "images/BG-1.png", "images/BG-2.png", "images/BG-3.png", }
BG = display.newImageRect(background[math.random(1,3)],482,322)
Thanks.
Dip