Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Colors
- black = color.new(0,0,0,255)
- --Loading images
- menu = {}
- menu[1] = image.load("Images/Menu1.png")
- menu[2] = image.load("Images/Menu2.png")
- menu[3] = image.load("Images/Menu3.png")
- options = 3
- mActual = 1
- while true do
- controls.read()
- image.blit(0,0,menu[mActual])
- if controls.press("up") and mActual > 1 then
- mActual = mActual - 1
- end
- if controls.press("down") and mActual < options then
- mActual = mActual + 1
- end
- if controls.press("cross") and mActual == 1 then
- dofile("menuselect.lua")
- end
- if controls.press("cross") and mActual == 2 then
- os.message("Wait to the next Version. Thx. ..::Drunk The Waitress::.. Game By Deinous. Credits",0)
- end
- if controls.press("cross") and mActual == 3 then
- os.quit()
- end
- screen.flip()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement