Code: Select all
function pause()
local pad
repeat
pad = Controls.read()
screen.waitVblankStart(5)
until pad:start()
end
Code: Select all
function pause()
local pad
repeat
pad = Controls.read()
screen.waitVblankStart(5)
until pad:start()
end
Code: Select all
repeat
System.sleep(100)
pad = Controls.read()
until pad:buttons()
Code: Select all
if xx > 480 then xx = 480 end
if yy > 272 then yy = 272 end
menuImg = Image.createEmpty(xx, yy)