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" ???
Plz help!
New to lua so plz help!
Moderators: Shine, Insert_witty_name
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