def loop(step): ef.meatballs(c, step) if beat % 2: c.text(4, 10, ".", "UNTZ") else: c.text(15, 30, ".", "UNTZ")
def loop(step): global auxstep1,auxstep2 # DANGER ZONE #ef.mandelbrot(c,step) # ef.automaton(c,step) #ef.gandalf(c,gandalfdata,step/4) # c.text(5,4," ","brilliant") #ef.euskallogo(c,vscroll,55) if not test: if beat<46: ef.euskallogo(c,vscroll,adjust(step/3)) if beat<18: ef.scroll(c,"EUSKAL ENCOUNTER 23",5,"#",step) elif beat<30: if beat==18: auxstep1=step ef.scroll(c,"STAGE7",5,"`",step-auxstep1) else: if beat==30: auxstep2=step ef.scroll(c,"ACHIFAIFA",5,"`",step-auxstep2) elif beat<77: ef.copperbars(c,step) c.text(10,3,"#","PRESENT") if beat>54: c.text(3,13,"#","TEXT") c.text(13,23,"#","PERIMENT") if beat>60: if beat==61: auxstep1=step ef.scroll(c,"A REALTIME ASCII INTRO",32,"#",(step-auxstep1)*2) elif beat<107: if beat==77: auxstep1=step ef.starfield(c,step-auxstep1) ef.scroll(c,"you cant use python they say",32,"#",step-auxstep1) elif beat<137: if beat==107: auxstep1=step ef.meatballs(c,step) ef.scroll(c,"you cant fit it in 64k they say",32,"*",step-auxstep1) elif beat<152: if beat==137: auxstep1=step ef.threedcube(c,step/2) c.text(7,4,"#","oh noes") ef.scroll(c,"what can we do",32,"#",step-auxstep1) elif beat<168: if beat==152: auxstep1=step ef.parallax(c,step*3) ef.scroll(c,"to the batcave",32," ",step-auxstep1) elif beat<183: ef.rotozoom(c,step) elif beat<197: ef.moire(c,step) elif beat<212: ef.plasma(c,step) c.text(2,4,"#","after") c.text(46,4,"#","much") c.text(2,12,"#","time") elif beat<227: ef.automaton(c,step) c.text(7,4,"\033[34mx\033[0m","and") c.text(5,12,"\033[34mx\033[0m","headaches") elif beat<242: ef.tunnel(c,step) c.text(4,4,"#","its ready") elif beat<256: ef.floppyrainbow(c,floppy,step) c.text(16,4,"#","behold") elif beat<272: if beat==256:auxstep1=step ef.laugh(c,testframe[(step/5)%4]) if not beat%4 and step%2: ef.laugh(c,rayframe[0]) if beat%4==1 and step%2: ef.laugh(c,rayframe[1]) ef.scroll(c,"mwahahahahahahahahahaha",3,"#",(step-auxstep1)*2) elif beat<287: ef.gandalf(c,gandalfdata,step/4) c.text(5,4," ","brilliant") elif beat<302: ef.fire(c) c.text(4,3,"#", "the compo") c.text(4,11,"#"," is ours") elif beat<314: for i in range(40): for j in range(80): if beat<308: try: c.grid[i][j]=genshikenlogo[i][j] except IndexError: pass else: try: c.grid[i][j]=pktteamlogo[i][j] except IndexError: pass elif beat<377: if beat==314: auxstep1=step c.text(10,5,"#","greets") if beat<349:ef.sinescroll(c,"marcan",20,"#",step-auxstep1) if 344>beat>314: ef.sinescroll(c,"bixo",30,"#",step-auxstep1-120) if 350>beat>330:ef.sinescroll(c,"soga",20,"#",step-auxstep1-200) if 360>beat>335:ef.sinescroll(c,"freddy",30,"#",step-auxstep1-290) if 374>beat>345:ef.sinescroll(c,"collapse",20,"#",step-auxstep1-400) if 487>beat>356:ef.sinescroll(c,"sfl",30,"#",step-auxstep1-540) if beat>360: ef.sinescroll(c,"purples",20,"#",step-auxstep1-600) elif beat<405: ef.euskallogo(c,vscroll,55) else: 1/0
def loop(step): global auxstep1, auxstep2 # DANGER ZONE #ef.mandelbrot(c,step) # ef.automaton(c,step) #ef.gandalf(c,gandalfdata,step/4) # c.text(5,4," ","brilliant") #ef.euskallogo(c,vscroll,55) if not test: if beat < 46: ef.euskallogo(c, vscroll, adjust(step / 3)) if beat < 18: ef.scroll(c, "EUSKAL ENCOUNTER 23", 5, "#", step) elif beat < 30: if beat == 18: auxstep1 = step ef.scroll(c, "STAGE7", 5, "`", step - auxstep1) else: if beat == 30: auxstep2 = step ef.scroll(c, "ACHIFAIFA", 5, "`", step - auxstep2) elif beat < 77: ef.copperbars(c, step) c.text(10, 3, "#", "PRESENT") if beat > 54: c.text(3, 13, "#", "TEXT") c.text(13, 23, "#", "PERIMENT") if beat > 60: if beat == 61: auxstep1 = step ef.scroll(c, "A REALTIME ASCII INTRO", 32, "#", (step - auxstep1) * 2) elif beat < 107: if beat == 77: auxstep1 = step ef.starfield(c, step - auxstep1) ef.scroll(c, "you cant use python they say", 32, "#", step - auxstep1) elif beat < 137: if beat == 107: auxstep1 = step ef.meatballs(c, step) ef.scroll(c, "you cant fit it in 64k they say", 32, "*", step - auxstep1) elif beat < 152: if beat == 137: auxstep1 = step ef.threedcube(c, step / 2) c.text(7, 4, "#", "oh noes") ef.scroll(c, "what can we do", 32, "#", step - auxstep1) elif beat < 168: if beat == 152: auxstep1 = step ef.parallax(c, step * 3) ef.scroll(c, "to the batcave", 32, " ", step - auxstep1) elif beat < 183: ef.rotozoom(c, step) elif beat < 197: ef.moire(c, step) elif beat < 212: ef.plasma(c, step) c.text(2, 4, "#", "after") c.text(46, 4, "#", "much") c.text(2, 12, "#", "time") elif beat < 227: ef.automaton(c, step) c.text(7, 4, "\033[34mx\033[0m", "and") c.text(5, 12, "\033[34mx\033[0m", "headaches") elif beat < 242: ef.tunnel(c, step) c.text(4, 4, "#", "its ready") elif beat < 256: ef.floppyrainbow(c, floppy, step) c.text(16, 4, "#", "behold") elif beat < 272: if beat == 256: auxstep1 = step ef.laugh(c, testframe[(step / 5) % 4]) if not beat % 4 and step % 2: ef.laugh(c, rayframe[0]) if beat % 4 == 1 and step % 2: ef.laugh(c, rayframe[1]) ef.scroll(c, "mwahahahahahahahahahaha", 3, "#", (step - auxstep1) * 2) elif beat < 287: ef.gandalf(c, gandalfdata, step / 4) c.text(5, 4, " ", "brilliant") elif beat < 302: ef.fire(c) c.text(4, 3, "#", "the compo") c.text(4, 11, "#", " is ours") elif beat < 314: for i in range(40): for j in range(80): if beat < 308: try: c.grid[i][j] = genshikenlogo[i][j] except IndexError: pass else: try: c.grid[i][j] = pktteamlogo[i][j] except IndexError: pass elif beat < 377: if beat == 314: auxstep1 = step c.text(10, 5, "#", "greets") if beat < 349: ef.sinescroll(c, "marcan", 20, "#", step - auxstep1) if 344 > beat > 314: ef.sinescroll(c, "bixo", 30, "#", step - auxstep1 - 120) if 350 > beat > 330: ef.sinescroll(c, "soga", 20, "#", step - auxstep1 - 200) if 360 > beat > 335: ef.sinescroll(c, "freddy", 30, "#", step - auxstep1 - 290) if 374 > beat > 345: ef.sinescroll(c, "collapse", 20, "#", step - auxstep1 - 400) if 487 > beat > 356: ef.sinescroll(c, "sfl", 30, "#", step - auxstep1 - 540) if beat > 360: ef.sinescroll(c, "purples", 20, "#", step - auxstep1 - 600) elif beat < 405: ef.euskallogo(c, vscroll, 55) else: 1 / 0
def loop(step): ef.meatballs(c,step) if beat%2: c.text(4,10,".","UNTZ") else: c.text(15,30,".","UNTZ")