Last active
July 1, 2022 17:07
-
-
Save TheBonnec/d6fe9540b66cec57a36e9452a68e5ff9 to your computer and use it in GitHub Desktop.
WUL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_H=' winner ' | |
_G='HP : ' | |
_F=' critic ! ' | |
_E=' score : ' | |
_D=' ' | |
_C=' : ' | |
_B=False | |
_A=True | |
from math import * | |
from kandinsky import * | |
from ion import * | |
from time import * | |
try:from wul3c_v130 import *;uv=1 | |
except ImportError:uv=0 | |
pois=[0,0] | |
hpp1=0 | |
hpp2=0 | |
ta=0 | |
ta1=0 | |
disp1=[[1,1,1,0,0,0],[1,1,1,1,0,0,0,0],[1,0,0,0,0]] | |
disp2=[[1,1,1,0,0,0],[1,1,1,1,0,0,0,0],[1,0,0,0,0]] | |
coin=[0,0] | |
elldash=[0,0] | |
j1=str(input('joueur 1 : ')) | |
if j1=='':j1='joueur 1' | |
j2=str(input('joueur 2 : ')) | |
if j2=='':j2='joueur 2' | |
dell1=0 | |
roc1=0 | |
a=[0,100] | |
hp1=20 | |
d=1 | |
i1=0 | |
ii1=0 | |
tir1=0 | |
aa=[-5,-5] | |
aa1=[-5,-5] | |
curs1=[85,55] | |
deg1=10 | |
ulti1=20 | |
moove1=1 | |
delay1=0 | |
iii1=0 | |
roc2=0 | |
dell2=0 | |
delay2=0 | |
b=[310,100] | |
hp2=20 | |
d2=2 | |
i2=0 | |
ii2=0 | |
iii2=0 | |
bb=[-5,-5] | |
bb1=[-5,-5] | |
tir2=0 | |
curs2=[85,145] | |
deg2=10 | |
ulti2=20 | |
moove2=1 | |
score=[0,0] | |
arme=['gun','sniper','pompe','nerf(wish)','(elden)ring','poing'] | |
buff=['aucun','life','degats','eject','poison','drainage','dash+','nuit noir'] | |
ulti=['rocket','soin','shield','tp','tir assiste'] | |
mode=['++ PvP ++','++ classic ++','++ zombi ++'] | |
modes=0 | |
run=_A | |
menu=_A | |
game=_B | |
k=keydown | |
fl=fill_rect | |
dr=draw_string | |
def redraw(): | |
F='coin : ';E=' ! ';D='ulti : < ';C='buff : < ';B='arme : < ';A=' >';cc=255,0,0;cc1=0,0,255;fl(0,0,333,333,(255,255,255));dr('- Wood Ungear Liquid 3 -',50,0);dr('mode : < '+mode[modes]+A,50,20,(255,0,255));dr(B+str(arme[i1])+A,100,50,cc);dr(F+str(coin[0]),100,35,(255,0,0),(255,255,255),1);dr(C+str(buff[ii1])+A,100,70,cc);dr(D+str(ulti[iii1])+A,100,90,cc);dr(F+str(coin[1]),100,125,(0,0,255),(255,255,255),1);dr(B+str(arme[i2])+A,100,140,cc1);dr(C+str(buff[ii2])+A,100,160,cc1);dr(D+str(ulti[iii2])+A,100,180,cc1);fl(curs1[0],curs1[1],10,10,(255,0,0));fl(curs2[0],curs2[1],10,10,(0,0,255)) | |
if disp1[0][i1]!=1:dr(E,0,50,(255,0,255)) | |
if disp1[1][ii1]!=1:dr(E,0,70,(255,0,255)) | |
if disp1[2][iii1]!=1:dr(E,0,90,(255,0,255)) | |
if disp2[0][i2]!=1:dr(E,0,140,(255,0,255)) | |
if disp2[1][ii2]!=1:dr(E,0,160,(255,0,255)) | |
if disp2[2][iii2]!=1:dr(E,0,180,(255,0,255)) | |
fl(0,0,333,333,(255,255,255)) | |
x=[100,100] | |
y=[230,100] | |
xx=[-5,-5] | |
yy=[-5,-5] | |
he=0 | |
hee=0 | |
heee=0 | |
t1=14 | |
t2=14 | |
f=0 | |
xxx=[-5,-5] | |
uk2=1 | |
uk1=1 | |
if uv==1:beggin();neww() | |
else: | |
fill_rect(0,0,333,333,(0,0,0));sleep(0.5);fill_rect(100,50,100,10,(255,0,0));fill_rect(100,50,10,100,(255,0,0));fill_rect(100,100,100,10,(255,0,0));fill_rect(100,150,100,10,(255,0,0));fill_rect(140,50,10,100,(255,0,0));draw_string("+++ Ersatz d'Eratz studio +++",50,160,(255,0,0),(0,0,0),1);sleep(2);fill_rect(0,0,333,333,(0,0,0));sleep(0.5) | |
while not k(KEY_OK):dr(' -Wood Ungear Liquid 3- ',40,30,(255,255,0),(0,0,0));dr(' -war just beggin...- ',50,50,(255,255,0),(0,0,0));dr('> play <',100,80,(255,0,255),(0,0,0)) | |
while run: | |
redraw() | |
while menu: | |
fl(curs1[0],curs1[1],10,10,(255,0,0));fl(curs2[0],curs2[1],10,10,(0,0,255)) | |
if k(KEY_RIGHT): | |
if modes!=2:modes+=1;redraw() | |
if k(KEY_LEFT): | |
if modes!=0:modes-=1;redraw() | |
if modes==1:disp1=[[1,1,1,1,1,1],[1,1,1,1,1,1,1,1],[1,1,1,1,1]];disp2=disp1 | |
else:disp1=[[1,1,1,0,0,0],[1,1,1,1,0,0,0,0],[1,0,0,0,0]];disp2=disp1 | |
if modes!=2: | |
if k(KEY_ONE): | |
if curs1[1]!=95:curs1[1]+=20;redraw() | |
if k(KEY_SEVEN): | |
if curs1[1]!=55:curs1[1]-=20;redraw() | |
if k(KEY_FIVE): | |
if curs1[1]==55: | |
if i1!=5:i1+=1;redraw() | |
if curs1[1]==75: | |
if ii1!=7:ii1+=1;redraw() | |
if curs1[1]==95: | |
if iii1!=4:iii1+=1;redraw() | |
if k(KEY_FOUR): | |
if curs1[1]==55: | |
if i1!=0:i1-=1;redraw() | |
if curs1[1]==75: | |
if ii1!=0:ii1-=1;redraw() | |
if curs1[1]==95: | |
if iii1!=0:iii1-=1;redraw() | |
if modes!=2: | |
if k(KEY_MINUS): | |
if curs2[1]!=185:curs2[1]+=20;redraw() | |
if k(KEY_RIGHTPARENTHESIS): | |
if curs2[1]!=145:curs2[1]-=20;redraw() | |
if k(KEY_DIVISION): | |
if curs2[1]==145: | |
if i2!=5:i2+=1;redraw() | |
if curs2[1]==165: | |
if ii2!=7:ii2+=1;redraw() | |
if curs2[1]==185: | |
if iii2!=4:iii2+=1;redraw() | |
if k(KEY_MULTIPLICATION): | |
if curs2[1]==145: | |
if i2!=0:i2-=1;redraw() | |
if curs2[1]==165: | |
if ii2!=0:ii2-=1;redraw() | |
if curs2[1]==185: | |
if iii2!=0:iii2-=1;redraw() | |
sleep(0.1) | |
if k(KEY_ZERO)and coin[0]>=10: | |
if curs1[1]==55 and disp1[0][i1]!=1:coin[0]-=10;disp1[0][i1]=1 | |
elif curs1[1]==75 and disp1[1][ii1]!=1:coin[0]-=10;disp1[1][ii1]=1 | |
elif curs1[1]==95 and disp1[2][iii1]!=1:coin[0]-=10;disp1[2][iii1]=1 | |
redraw() | |
if k(KEY_EXE)and coin[1]>=10: | |
if curs2[1]==145 and disp2[0][i2]!=1:coin[1]-=10;disp2[0][i2]=1 | |
elif curs2[1]==165 and disp2[1][ii2]!=1:coin[1]-=10;disp2[1][ii2]=1 | |
elif curs2[1]==185 and disp2[2][iii2]!=1:coin[1]-=10;disp2[2][iii2]=1 | |
redraw() | |
if k(KEY_OK): | |
if disp1[0][i1]!=1:i1=0 | |
if disp1[1][ii1]!=1:ii1=0 | |
if disp1[2][iii1]!=1:iii1=0 | |
if disp2[0][i2]!=1:i2=0 | |
if disp2[1][ii2]!=1:ii2=0 | |
if disp2[2][iii2]!=1:iii2=0 | |
game=_A;menu=_B | |
if i1==1 and ii1==3:ii1=1 | |
if i2==1 and ii2==3:ii2=1 | |
delldash=[0,0];ulti1=20;ulti2=22 | |
if ii1==1:hp11=[120] | |
else:hp11=[100] | |
if ii2==1:hp2=120 | |
else:hp2=100 | |
hp1=hp11[0] | |
if ii1==2:deg1=12 | |
else:deg1=10 | |
if ii2==2:deg2=12 | |
else:deg2=10 | |
d=1;d1=2;a=[0,100];b=[310,100];tir1=0;tir2=0 | |
if modes==2: | |
try:from wul3_mob212 import *;tv=1 | |
except ImportError:tv=0 | |
else:tv=0 | |
if tv==1:mainn();game=_B;menu=_A | |
fl(0,0,333,333,(255,255,255));ta=0;ta1=0;hpp1=0;hpp2=0;pois=[0,0] | |
while game: | |
if moove1==1: | |
if k(KEY_FIVE):d=1;a[0]+=10 | |
elif k(KEY_FOUR):d=2;a[0]-=10 | |
elif k(KEY_SEVEN):d=3;a[1]-=10 | |
elif k(KEY_ONE):d=4;a[1]+=10 | |
if moove2==1: | |
if k(KEY_DIVISION):d1=1;b[0]+=10 | |
elif k(KEY_MULTIPLICATION):d1=2;b[0]-=10 | |
elif k(KEY_RIGHTPARENTHESIS):d1=3;b[1]-=10 | |
elif k(KEY_MINUS):d1=4;b[1]+=10 | |
if i1!=4: | |
if moove1==1: | |
if k(KEY_ZERO): | |
if tir1==0:aa[0]=a[0];aa[1]=a[1];dt=d;tir1=1 | |
if i1==4: | |
if b[0]>=a[0]-20 and b[1]>=a[1]-20 and b[0]<a[0]+30 and b[1]<a[1]+30:fl(b[0]+1,b[1]+5,8,-300,(255,0,255));sleep(0.1);hp2-=1;ulti1+=10 | |
if i2==4: | |
if a[0]>=b[0]-20 and a[1]>=b[1]-20 and a[0]<b[0]+30 and a[1]<b[1]+30:fl(a[0]+1,a[1]+5,8,-300,(255,0,255));sleep(0.1);hp1-=1;ulti2+=10 | |
if i2!=4: | |
if moove2==1: | |
if k(KEY_EXE): | |
if tir2==0:bb[0]=b[0];bb[1]=b[1];dt1=d1;tir2=1 | |
if moove1==1: | |
if k(KEY_SINE): | |
if ulti1>=230: | |
ulti1=0 | |
if iii1==4:ta=3 | |
if iii1==3: | |
if b[0]-40>=0:a[0]=b[0]-40;a[1]=b[1];d=1 | |
else:a[0]=b[0]+40;a[1]=b[1];d=2 | |
if iii1==0:aa1[0]=a[0];aa1[1]=a[1];dtu=d;roc1=1 | |
if iii1==1: | |
if i1==4:hp1+=8 | |
else:hp1+=40 | |
if iii1==2:dell1=4 | |
elif ulti1<230 and delldash[0]==222: | |
if ii1!=6:dassh1=10 | |
else:dassh1=20 | |
if d==1: | |
for i in range(6): | |
if a[0]!=310:a[0]+=dassh1 | |
elif d==2: | |
for i in range(6): | |
if a[0]!=0:a[0]-=dassh1 | |
elif d==3: | |
for i in range(6): | |
if a[1]!=0:a[1]-=dassh1 | |
else: | |
for i in range(6): | |
if a[1]!=210:a[1]+=dassh1 | |
delldash[0]=0 | |
if roc1==1: | |
if dtu==1:aa1[0]+=20 | |
if dtu==2:aa1[0]-=20 | |
if dtu==3:aa1[1]-=20 | |
if dtu==4:aa1[1]+=20 | |
if moove2==1: | |
if k(KEY_SQUARE): | |
if ulti2>=230: | |
ulti2=0 | |
if iii2==4:ta1=3 | |
if iii2==3: | |
if a[0]-40>=0:b[0]=a[0]-40;b[1]=a[1];d1=1 | |
else:b[0]=a[0]+40;b[1]=a[1];d=2 | |
if iii2==0:bb1[0]=b[0];bb1[1]=b[1];dtu1=d1;roc2=1 | |
if iii2==1: | |
if i2==4:hp2+=8 | |
else:hp2+=40 | |
if iii2==2:dell2=4 | |
elif ulti2<230 and delldash[1]==222: | |
if d1==1: | |
for i in range(6): | |
if b[0]!=310:b[0]+=10 | |
elif d1==2: | |
for i in range(6): | |
if b[0]!=0:b[0]-=10 | |
elif d1==3: | |
for i in range(6): | |
if b[1]!=0:b[1]-=10 | |
elif d1==4: | |
for i in range(6): | |
if b[1]!=210:b[1]+=10 | |
delldash[1]=0 | |
if roc2==1: | |
if dtu1==1:bb1[0]+=20 | |
if dtu1==2:bb1[0]-=20 | |
if dtu1==3:bb1[1]-=20 | |
if dtu1==4:bb1[1]+=20 | |
if a[0]<10:a[0]+=10 | |
if a[0]>=310:a[0]-=10 | |
if a[1]<20:a[1]+=10 | |
if a[1]>210:a[1]-=10 | |
if b[0]<10:b[0]+=10 | |
if b[0]>=310:b[0]-=10 | |
if b[1]<20:b[1]+=10 | |
if b[1]>210:b[1]-=10 | |
if aa[0]<10 or aa[0]>=310 or aa[1]<20 or aa[1]>=220:tir1=0 | |
if bb[0]<10 or bb[0]>=310 or bb[1]<20 or bb[1]>=220:tir2=0 | |
if aa1[0]<10 or aa1[0]>=310 or aa1[1]<0 or aa1[1]>=220:roc1=0;fl(0,0,333,18,(255,255,255)) | |
if bb1[0]<10 or bb1[0]>=310 or bb1[1]<0 or bb1[1]>=220:roc2=0;fl(0,0,333,18,(255,255,255)) | |
if tir1==1 and ta>0: | |
if aa[0]<b[0]:aa[0]+=10 | |
elif aa[0]>b[0]:aa[0]-=10 | |
if aa[1]<b[1]:aa[1]+=10 | |
elif aa[1]>b[1]:aa[1]-=10 | |
if aa[0]==b[0]and aa[1]==b[1]:hp2-=8;ta-=1;tir1=0 | |
elif tir1==1 and i1==5: | |
if dt==1:aa[0]+=10 | |
if dt==2:aa[0]-=10 | |
if dt==3:aa[1]-=10 | |
if dt==4:aa[1]+=10 | |
if aa[0]==b[0]and aa[1]==b[1]: | |
hp2-=10 | |
if i1==2:hp2-=2 | |
tir1=0 | |
elif tir1==1: | |
for i in range(3): | |
if tir1==0:0 | |
if tir1==1: | |
if dt==1:aa[0]+=10 | |
if dt==2:aa[0]-=10 | |
if dt==3:aa[1]-=10 | |
if dt==4:aa[1]+=10 | |
if aa[0]==b[0]and aa[1]==b[1]: | |
if ii1==3: | |
if dt==1:b[0]+=20;d1=1 | |
if dt==2:b[0]-=20;d1=2 | |
if dt==3:b[1]-=20;d1=3 | |
if dt==4:b[1]+=20;d1=4 | |
if i1==0 and dell2==0:hp2-=deg1;tir1=0 | |
if dell2!=0:dell2-=1;tir1=0 | |
if i1==3:ulti1+=60 | |
elif dell2==0: | |
if d1==4 and dt==3 or d1==3 and dt==4 or d1==2 and dt==1 or d1==1 and dt==2:draw_string(_F,100,50,(255,255,0));hp2-=2;ulti1+=20;sleep(0.03) | |
if i1==1:moove2=0;hp2-=deg1+2 | |
if i1==2: | |
if dt==2: | |
if 0<a[0]-b[0]<=70:hp2-=deg1+2 | |
else:hp2-=deg1-2 | |
tir1=0 | |
if dt==1: | |
if 0>a[0]-b[0]>=-70:hp2-=deg1+2 | |
else:hp2-=deg1-2 | |
tir1=0 | |
if dt==3: | |
if 0<a[1]-b[1]<=70:hp2-=deg1+2 | |
else:hp2-=deg1-2 | |
tir1=0 | |
if dt==4: | |
if 0>a[1]-b[1]>=-70:hp2-=deg1+2 | |
else:hp2-=deg1-2 | |
tir1=0 | |
if tir2==1 and ta1>0: | |
if bb[0]<a[0]:bb[0]+=10 | |
elif bb[0]>a[0]:bb[0]-=10 | |
if bb[1]<a[1]:bb[1]+=10 | |
elif bb[1]>a[1]:bb[1]-=10 | |
if bb[0]==a[0]and bb[1]==a[1]:hp1-=8;ta1-=1;tir2=0 | |
elif tir2==1 and i2==5: | |
if dt1==1:bb[0]+=10 | |
if dt1==2:bb[0]-=10 | |
if dt1==3:bb[1]-=10 | |
if dt1==4:bb[1]+=10 | |
if bb[0]==a[0]and a[1]==bb[1]: | |
hp1-=10 | |
if i2==2:hp1-=2 | |
tir2=0 | |
elif tir2==1: | |
for i in range(3): | |
if tir2==1: | |
if dt1==1:bb[0]+=10 | |
if dt1==2:bb[0]-=10 | |
if dt1==3:bb[1]-=10 | |
if dt1==4:bb[1]+=10 | |
if bb[0]==a[0]and bb[1]==a[1]: | |
if ii2==3: | |
if dt1==1:a[0]+=20;d=1 | |
if dt1==2:a[0]-=20;d=2 | |
if dt1==3:a[1]-=20;d=3 | |
if dt1==4:a[1]+=20;d=4 | |
if i2==0 and dell1==0:hp1-=deg2;tir2=0 | |
if dell1!=0:dell1-=1;tir2=0 | |
if i2==3:ulti2+=60 | |
elif dell1==0: | |
if d==4 and dt1==3 or d==3 and dt1==4 or d==2 and dt1==1 or d==1 and dt1==2:draw_string(_F,100,50,(255,255,0));hp1-=2;ulti2+=20;sleep(0.03) | |
if i2==1:moove1=0;hp1-=deg2+2 | |
if i2==2: | |
if dt1==2: | |
if 0<b[0]-a[0]<=70:hp1-=deg2+2 | |
else:hp1-=deg2-2 | |
tir2=0 | |
if dt1==1: | |
if 0>b[0]-a[0]>=-70:hp1-=deg2+2 | |
else:hp1-=deg2-2 | |
tir2=0 | |
if dt1==3: | |
if 0<b[1]-a[1]<=70:hp1-=deg2+2 | |
else:hp1-=deg2-2 | |
tir2=0 | |
if dt1==4: | |
if 0>b[1]-a[1]>=-70:hp1-=deg2+2 | |
else:hp1-=deg2-2 | |
tir2=0 | |
if roc1==1: | |
if b[0]>=aa1[0]-10 and b[1]>=aa1[1]-10 and b[0]<aa1[0]+20 and b[1]<aa1[1]+20:fl(0,0,333,18,(255,255,255));roc1=0;hp2-=35 | |
if roc2==1: | |
if a[0]>=bb1[0]-10 and a[1]>=bb1[1]-10 and a[0]<bb1[0]+20 and a[1]<bb1[1]+20:fl(0,0,333,18,(255,255,255));roc2=0;hp1-=35 | |
if tir1==1 and tir2==1: | |
if bb[0]==aa[0]and bb[1]==aa[1]or bb[0]==aa[0]-10 and bb[1]==aa[1]or bb[0]==aa[0]+10 and bb[1]==aa[1]or bb[1]==aa[1]-10 and bb[0]==aa[0]or bb[1]==aa[1]+10 and bb[0]==aa[0]:tir1=0;tir2=0;ulti1+=10;ulti2+=10 | |
draw_string(_G+str(hp1)+' ',20,0,(255,0,0));draw_string(_G+str(hp2)+' ',220,0,(0,0,255)) | |
if ii1!=7 and ii2!=7: | |
fl(0,18,333,333,(255,255,255)) | |
if ii1==5:fl(a[0]-30,a[1]-30,70,70,(255,0,255)) | |
if ii2==5:fl(b[0]-30,b[1]-30,70,70,(255,0,255)) | |
if ii1!=7 and ii2!=7: | |
if dell1>0:fl(a[0]-2,a[1]-2,14,14,(255,0,255)) | |
if dell2>0:fl(b[0]-2,b[1]-2,14,14,(255,0,255)) | |
if i1==4:fl(a[0]-20,a[1]-20,50,50,(255,0,255));fl(a[0]-17,a[1]-17,44,44,(255,255,255)) | |
if i2==4:fl(b[0]-20,b[1]-20,50,50,(255,0,255));fl(b[0]-17,b[1]-17,44,44,(255,255,255)) | |
if ulti1>=230:fl(a[0]-2,a[1]-2,14,14,(255,255,0)) | |
if ulti2>=230:fl(b[0]-2,b[1]-2,14,14,(255,255,0)) | |
fl(a[0],a[1],10,10,(255,0,0));fl(b[0],b[1],10,10,(0,0,255));fl(0,0,10,ulti1,(255,255,0));fl(310,0,10,ulti2,(255,255,0));fl(9,0,1,delldash[0],(255,0,255));fl(310,0,1,delldash[1],(255,0,255)) | |
if tir1==1:fl(aa[0]+1,aa[1]+1,8,8,(0,0,0)) | |
if tir2==1:fl(bb[0]+1,bb[1]+1,8,8,(0,0,0)) | |
if roc1==1:fl(aa1[0]-10,aa1[1]-10,30,30,(255,255,0)) | |
if roc2==1:fl(bb1[0]-10,bb1[1]-10,30,30,(255,255,0)) | |
if moove1==0:delay1+=1 | |
if delay1==10:delay1=0;moove1=1 | |
if moove2==0:delay2+=1 | |
if delay2==10:delay2=0;moove2=1 | |
if hp1<=0 and hp2<=0:fl(0,0,333,333,(255,255,255));draw_string(' draw ',120,50);draw_string(_E,110,80);draw_string(j1+_C+str(score[0])+_D,20,110,(255,0,0));draw_string(j2+_C+str(score[1])+_D,170,110,(0,0,255));coin[0]+=5;coin[1]+=5;sleep(3);menu=_A;game=_B | |
elif hp1<=0:fl(0,0,333,333,(255,255,255));score[1]+=1;draw_string(j2+_H,100,50,(0,0,255));draw_string(_E,110,80);draw_string(j1+_C+str(score[0])+_D,20,110,(255,0,0));draw_string(j2+_C+str(score[1])+_D,170,110,(0,0,255));coin[1]+=10;coin[0]+=5;sleep(3);menu=_A;game=_B | |
elif hp2<=0:fl(0,0,333,333,(255,255,255));score[0]+=1;draw_string(j1+_H,100,50,(255,0,0));draw_string(_E,110,80);draw_string(j1+_C+str(score[0])+_D,20,110,(255,0,0));draw_string(j2+_C+str(score[1])+_D,170,110,(0,0,255));coin[1]+=5;coin[0]+=10;sleep(3);menu=_A;game=_B | |
if delldash[0]<222:delldash[0]+=1 | |
if delldash[1]<222:delldash[1]+=1 | |
sleep(0.03) | |
if tir1==1 and i1==5:tir1=0 | |
if tir2==1 and i2==5:tir2=0 | |
if ii1==5: | |
if a[0]-30<=b[0]<a[0]+40 and a[1]-30<=b[1]<a[1]+40: | |
hpp2+=1 | |
if hpp2==20:hp1+=1;hp2-=1;hpp2=0 | |
if ii2==5: | |
if b[0]-30<=a[0]<b[0]+40 and b[1]-30<=a[1]<b[1]+40: | |
hpp1+=1 | |
if hpp1==20:hp2+=1;hp1-=1;hpp1=0 | |
if aa==b: | |
if ii1==4:pois[1]=1 | |
pois[0]=0 | |
if bb==a: | |
if ii2==4:pois[0]=1 | |
pois[1]=0 | |
if pois[0]==1: | |
hpp2+=1 | |
if hpp2==20:hp1-=1;hpp2=0 | |
if pois[1]==1: | |
hpp1+=1 | |
if hpp1==20:hp2-=1;hpp1=0 | |
if tir1==0:aa=[-5,-5] | |
if tir2==0:bb=[-5,-5] | |
if ii1==7 or ii2==7: | |
fl(0,18,333,222,(0,0,0)) | |
if ii1==7:fl(a[0]-30,a[1]-30,70,70,(255,255,255));fl(a[0],a[1],10,10,(255,0,0)) | |
if ii2==7:fl(b[0]-30,b[1]-30,70,70,(255,255,255));fl(b[0],b[1],10,10,(0,0,255)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from math import * | |
from math import * | |
from kandinsky import fill_rect,draw_string | |
from time import sleep | |
from ion import keydown,KEY_ZERO,KEY_OK,KEY_UP,KEY_DOWN,KEY_LEFT,KEY_RIGHT | |
fl=fill_rect | |
dr=draw_string | |
k=keydown | |
x=[100,100,1,20,0,-5,-5,-5,-5] | |
y=[260,100,1,20,0,-5,-5] | |
c=255,0,255 | |
f=0 | |
n=1 | |
def logo():fill_rect(0,0,333,333,(0,0,0));fill_rect(100,50,100,10,(255,0,0));fill_rect(100,50,10,100,(255,0,0));fill_rect(100,100,100,10,(255,0,0));fill_rect(100,150,100,10,(255,0,0));fill_rect(140,50,10,100,(255,0,0));draw_string("+++ Ersatz d'Eratz studio +++",50,160,(255,0,0),(0,0,0),1) | |
def v(): | |
B='^';A='v';fl(0,0,333,333,(0,0,0));zy=0 | |
while not k(KEY_ZERO): | |
if zy==0:dr('+++historique recent des MAJ+++',0,0,(255,255,0),(0,0,0));dr('>\tv1.3.0 (actuel):\nnew gear\nnew weapon\nmicro transactions\nre:re:patch hitbox\n\n>\tv1.2.0:\ndashs\n\n>\tv1.1.2 :\nacces au jeu depuis terminal exam\necran de debut hors 2eme script\n\n',0,25,(255,0,255),(0,0,0),1);dr(A,150,200,(255,0,0),(0,0,0)) | |
if zy==1:dr(B,150,0,(255,0,0),(0,0,0));dr('>\tv1.1.1\nlogo append\nserver discord append \n\n>\tv1.1.0:\nnouvel ecran de demarrage\nmenu offgame\nre:patch hitbox\n\n>\tv1.0.2:\nwild deep lore disappear\n\n',0,25,(255,0,255),(0,0,0),1);dr(A,150,200,(255,0,0),(0,0,0)) | |
if zy==2:dr(B,150,0,(255,0,0),(0,0,0));dr('>\tv1.0.1:\npatch hitbox\nmissed system\n\n>\tv1.0.0:\ncinematique ingame\nulti system\nnew gear\nnew weapon\n\n>\tbeta (aka pubg_mobile) :\njuste le jeu tkt',0,25,(255,0,255),(0,0,0),1) | |
if k(KEY_DOWN)and zy!=2:fl(0,0,333,333,(0,0,0));zy+=1;sleep(0.03) | |
if k(KEY_UP)and zy!=0:fl(0,0,333,333,(0,0,0));zy-=1;sleep(0.3) | |
def LOR(): | |
fl(0,0,333,333,(0,0,0)) | |
while not k(KEY_ZERO):dr('+++ resume +++',90,0,(255,255,0),(0,0,0));dr("la terrible guerre est loin d'etre finie pour\nIdari Asukawa. en effet,son pire ennemi,\nHubert du-Bleu-de-Franche-Loiron,est revenu\nd'entre les morts, grace a de sombres\nmalefices. c'est donc pour lui l'occasion\nde laver l'affront fait il y a 69 ans. \n\nincarnez Idari et Hubert dans ce troisieme\nvolet de wood ungear liquid criant de realisme\net de magnificiance. partez a l'aventure dans\nce vaste monde d'Okelia, plus beau et vaste\nque jamais.",0,30,(255,0,255),(0,0,0),1) | |
def trib(): | |
fl(0,0,333,333,(0,0,0)) | |
while not k(KEY_ZERO):dr('+++ credits +++',90,0,(255,255,0),(0,0,0));dr("> hitbox : nanabel and necros \n> menu offgame: necros\n> main: dimitrri('Imperateur d'Hyrule#0547') \n> patching : natachah, anna, daihel \n> moral support : whynot, tyrix36, fanta \n> other: Superdoggy,TheYummiDogo,Aliennt-H",0,30,(255,0,255),(0,0,0),1) | |
def neww(): | |
A='-10';fl(0,0,333,333,(255,255,255));x=[100,100,1,20,0,-5,-5,-5,-5];y=[260,100,1,20,0,-5,-5];c=255,0,255;f=0;n=1 | |
while not k(KEY_ZERO): | |
dr(' welcome to ',100,0,(255,0,255));dr(' -Wood Ungear Liquid 3- HD ',10,20);dr(' -war just beggin...- ',42,40);dr(' ++ definitive edition ++',40,60,(255,0,255));dr(' ++ remaster ++ ',60,145,(255,0,255));dr('!new contain: new gear, weapon ',0,185,(255,0,0));dr('!re:re:patch: hitbox ',0,205,(255,0,0));dr('!new contain: (new) achats ',0,165,(255,0,0));dr('press 0',0,100,c);dr(' v1.3.0 ',0,145,(255,0,0),(255,255,255),1);fl(80,77,200,67,(222,222,222)) | |
if x[2]==1:fl(x[0]-2,x[1]-2,14,14,(255,255,0)) | |
if y[2]==1:fl(y[0]-2,y[1]-2,14,14,(255,255,0)) | |
if x[4]==1:fl(x[5]+1,x[6]+1,8,8,(0,0,0)) | |
if y[4]==1:fl(y[5]+1,y[6]+1,8,8,(0,0,0)) | |
if x[2]==0:fl(x[7],x[8],30,30,(255,255,0));fl(x[7]-5,x[8]+5,5,20,(255,255,0));fl(x[7]-10,x[8]+10,5,10,(255,255,0)) | |
fl(x[0],x[1],10,10,(255,0,0));fl(y[0],y[1],10,10,(0,0,255));fl(x[0]-5,x[1]-5,x[3],2,(255,0,255));fl(y[0]-5,y[1]-5,y[3],2,(255,0,255)) | |
if f==2 or f==3:y[0]-=10;y[4]=1;y[5]=y[0];y[6]=y[1] | |
if y[4]==1 and f>=4:y[5]-=10 | |
if y[5]==x[0]:y[5]=-5;y[4]=0;dr(A,x[0]-15,x[1]-25,(255,255,0),(222,222,222));x[3]-=2;sleep(0.1);f=100 | |
if f==102:x[5]=x[0];x[6]=x[1];x[4]=1 | |
if x[4]==1 and f>=104: | |
x[5]+=10 | |
if x[5]==y[0]: | |
x[4]=0;dr(A,y[0]-15,y[1]-25,(255,255,0),(222,222,222));y[3]-=2;sleep(0.1) | |
if n==1:f=100;n-=1 | |
else:f=150 | |
if f==151:y[1]+=10 | |
if f==153:y[2]=0;y[3]+=4;dr('+40',y[0]-15,y[1]-25,(255,255,0),(222,222,222));sleep(0.1) | |
if f==155:x[2]=0;x[7]=x[0];x[8]=x[1] | |
if x[2]==0 and f>=157:x[7]+=20 | |
if x[8]+10==y[1]and f>=164:fl(y[0]-5,y[1]-5,20,20,(255,150,0));dr(' ++player 1 winner++ ',80,110,(255,0,0));x[2]=1;sleep(2);x=[100,100,1,20,0,-5,-5,-5,-5];y=[260,100,1,20,0,-5,-5];f=0;n=1 | |
sleep(0.05);f+=1 | |
if c==(255,0,255):c=255,255,0 | |
else:c=255,0,255 | |
def beggin(): | |
H=' <';G='> ';F='-WAR JUST BEGGIN...-';E='- WOOD UNGEAR LIQUID 3 -';D=' maj ';C=' credits ';B=' deep lore ';A=' play ' | |
def fn():fl(0,0,333,333,(0,0,0));sleep(0.4) | |
def fn1():fl(0,110,333,100,(0,0,0));dr(A,110,120,(255,0,255),(0,0,0));dr(B,90,140,(255,0,255),(0,0,0));dr(C,100,160,(255,0,255),(0,0,0));dr(D,112,180,(255,0,255),(0,0,0)) | |
f=0;x=[0,100,120];d=3;roo=True | |
while roo: | |
if f==0:fn();logo() | |
if f==1:fn();dr(' a game realised by ',60,50,(255,0,255),(0,0,0)) | |
if f==2:fn();dr(" +++ ERSATZ D'ERATZ studio +++ ",10,50,(255,0,0),(0,0,0)) | |
if f==3:fn();dr(' most specially ',65,50,(255,0,255),(0,0,0)) | |
if f==4:fn();dr('+++ DIMITRRI, SYSTEM ERATZ +++',10,50,(255,0,0),(0,0,0)) | |
if f==5:fn();dr(E,30,50,(255,255,0),(0,0,0));sleep(2);dr(F,80,70,(255,255,0),(0,0,0),1) | |
if f==6:d=0.07;dr(A,110,120,(255,0,255),(0,0,0));dr(B,90,140,(255,0,255),(0,0,0));dr(C,100,160,(255,0,255),(0,0,0));dr(D,112,180,(255,0,255),(0,0,0)) | |
if f>=6: | |
if k(KEY_UP): | |
if x[2]!=120:x[2]-=20;x[0]-=1;fn1() | |
elif k(KEY_DOWN): | |
if x[2]!=180:x[2]+=20;x[0]+=1;fn1() | |
if x[0]==0: | |
if k(KEY_OK):roo=False | |
dr(G,100,x[2],(255,0,0),(0,0,0));dr(H,160,x[2],(255,0,0),(0,0,0)) | |
if x[0]==1: | |
if k(KEY_OK):LOR();fl(0,0,333,333,(0,0,0));dr(E,30,50,(255,255,0),(0,0,0));dr(F,80,70,(255,255,0),(0,0,0),1);dr(A,110,120,(255,0,255),(0,0,0));dr(B,90,140,(255,0,255),(0,0,0));dr(C,100,160,(255,0,255),(0,0,0));dr(D,112,180,(255,0,255),(0,0,0)) | |
dr(G,80,x[2],(255,0,0),(0,0,0));dr(H,190,x[2],(255,0,0),(0,0,0)) | |
if x[0]==2: | |
if k(KEY_OK):trib();fl(0,0,333,333,(0,0,0));dr(E,30,50,(255,255,0),(0,0,0));dr(F,80,70,(255,255,0),(0,0,0),1);dr(A,110,120,(255,0,255),(0,0,0));dr(B,90,140,(255,0,255),(0,0,0));dr(C,100,160,(255,0,255),(0,0,0));dr(D,112,180,(255,0,255),(0,0,0)) | |
dr(G,90,x[2],(255,0,0),(0,0,0));dr(H,180,x[2],(255,0,0),(0,0,0)) | |
if x[0]==3: | |
if k(KEY_OK):v();fl(0,0,333,333,(0,0,0));dr(E,30,50,(255,255,0),(0,0,0));dr(F,80,70,(255,255,0),(0,0,0),1);dr(A,110,120,(255,0,255),(0,0,0));dr(B,90,140,(255,0,255),(0,0,0));dr(C,100,160,(255,0,255),(0,0,0));dr(D,112,180,(255,0,255),(0,0,0)) | |
dr(G,100,x[2],(255,0,0),(0,0,0));dr(H,150,x[2],(255,0,0),(0,0,0)) | |
sleep(d);f+=1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment