Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dofile("funciones.lua")
- --se cargan imagenes
- fonstart = image.load("imagenes/fonstart.png")
- fon6 = image.load("imagenes/fon6.png")
- fonx = image.load("imagenes/fonx.png")
- fonc = image.load("imagenes/fonc.png")
- font = image.load("imagenes/font.png")
- foncu = image.load("imagenes/foncu.png")
- menu = function()
- fonstart:blit(0,0)
- if controls.press("start") then
- fon6:blit(0,0)
- system.sleep(1000)
- fonx:blit(0,0)
- system.sleep(1000)
- fonc:blit(0,0)
- system.sleep(1000)
- font:blit(0,0)
- system.sleep(1000)
- foncu:blit(0,0)
- system.sleep(1000)
- fon6:blit(0,0)
- end
- if controls.press("cross") then
- dofile("funciones.lua")
- end
- if controls.press("circle") then
- menu()
- end
- if controls.press("triangle") then
- menu()
- end
- if controls.press("square") then
- menu()
- end
- end
- while true do
- controls.read()
- menu()
- screen.flip()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement