wont move onto the next
here's the codeinit = function() gamemode = "intro" introTimer = 1 end
update = function() if gamemode == "intro" then if introTimer == 100 then gamemode = "intro one" end introTimer+=1 end end
updateOne=function() if gamemode == "intro two" then if introTimer == 100 then gamemode = "intro three" end introTimer +=2 end end
draw = function() if gamemode == "intro" then CustomIntro() end if gamemode == "intro one" then CustomIntroOne() end if gamemode == "intro two" then CustomIntroTwo() end if gamemode == "intro three" then CustomIntroThree() end end
CustomIntro = function() screen.clear() screen.drawSprite( "icon", 0, 0, 100) screen.drawText("Alphakept", 0, 75, 20,"rgb(255,255,255)") end
CustomIntroOne = function() screen.clear() screen.drawText("A time long ago in history", 0, 50, 20,"rgb(255,255,255)") screen.drawText("where wars and click were the most", 0, 25, 20,"rgb(255,255,255)") screen.drawText("powerful of them all", 0, 3, 20, "rgb(255,255,255)") end
CustomIntroTwo=function() screen.clear() screen.drawText("All was good until one person joined", 0, 50,20,"rgb(255,255,255)") end
CustomIntroThree=function() screen.clear screen.drawText("He Was Know As", 0,50,20, "rgb(255,255,255)") end
getFlashValue = function(seconds_per_flash = 1.5) return pow(cos(system.time()/1000*PI/seconds_per_flash), 2) * 0.6 + .4 end


