Discuss using and improving Lua and the Lua Player specific to the PSP.
4 posts • Page 1 of 1
Well i have started to make a shell with menus and windows. But, when i try to "blit" the image on "X" press, it just shows up until "X" is pressed and when i release "X", it goes away. Is there anyway i could make it blit forever on the screen when i press "X" ???
Code: Select all
blitImage = false while true do screen:clear() if pad:cross() then blitImage = true end if blitImage == true then screen:blit(0,0,Image) screen:waitVblankStart() screen:flip() end
Enlighten me, Reveal my fate -- Follow - Breaking Benjamin