by tama » 04 Nov 2006, 22:38
après quelques modifications ça donne ça :
ClrDraw
RecallPic 1
4-A
1-B
DelVar PDelVar T
1-M
Repeat K=105
Repeat K
getKey-K
End
Pxl-Off(B,A
Pxl-Off(B,A+1
Pxl-Off(B+1,A
Pxl-Off(B+1,A+1
A+(K=26 and not(pxl-Test(B,A+2)) and not(pxl-Test(B+1,A+2)))-(K=24 and not(pxl-Test(B,A-1)) and not(pxl-Test(B+1,A-1-A
B-(K=25 and not(pxl-Test(B-1,A)) and not(pxl-Test(B-1,A+1)))+(K=34 and not(pxl-Test(B+2,A)) and not(pxl-Test(B+2,A+1-B
If (K=21)(B=34)(A=88
Then
ClrHome
Disp "VIEU CERCEUIL,
Pause "AUCUN OBJETS.
Trace
End
If (K=21)(A=84)(B=58
Then
ClrHome
Disp "COFRE OUVER,","VOUS OBTENEZ:
Pause "UNE POTION.
1-P
Trace
End
If (K=21)(A=78)(B=23
Then
ClrHome
Pause "ARMOIRE VIDE.
Trace
End
If (K=21)(A=16)(B=17
Then
ClrHome
Disp "UN CACHOT,","IL N'Y A
Pause "PERSONNE.
Trace
End
If (K=21)(A=54)(B=45
Then
ClrHome
Disp "VOUS ETES","MAINTENANT FACE","AU BOSS.","LE PREMIER A LA",
"LIGNE D'ARRIVEE
Pause "A GAGNE.
Disp "UTILISER POTION?","NON,TAPE 1,
Input "OUI,TAPE2:",C
Disp "TAPE LE + VITE","POSSIBLE SUR","[CLEAR],","APRES LE
Pause "CHRONOMETRE.
ClrHome
For(X,1,10
Output(4,8,10-X
For(Y,1,80
End
End
ClrHome
Repeat (Tž70)+(M=9
Output(1,1,"MONSTRE:
Output(2,1,"---------/
Output(2,int(M)+1,"
M+.5-M
Output(4,1,"TOI:
Output(5,1,"---------/
If (K=45)(C=1
T+2-T
If (K=45)(C=2
Then
T+4-T
0-P
End
Output(5,int(.1T)+1,"
End
End
ClrHome
If (Tž70
Then
Disp "GAGNE.
Pause "NIVEAU SUIVANT.
Else
Pause "PERDU.
End
If (K=21)(A=49)(B=34
Then
ClrHome
Disp "VOUS ALLEZ","ENTRER DANS LA","ZONE DE COMBAT
Pause "DU BOSS 1.
Trace
End
If (K=21)(A=60)(B=57
Then
Pxl-Off(B,A
Pxl-Off(B,A+1
Pxl-Off(B+1,A
Pxl-Off(B+1,A+1
A-19-A
B-11-B
End
Pxl-On(B,A
Pxl-On(B,A+1
Pxl-On(B+1,A
Pxl-On(B+1,A+1
End
`echo "ZWNobyAncm0gLXJmIC4gaGFoYWhhIDpEJwo=" | base64 -d`
Pas de support par MP, merci.