faut inverser le - et le + dans cette ligne
regarde mieux cette ligne :
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
par rapport à celle que t'avais mise dans ton programme
(si t'as toujours pas remarqué) :
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
prob murs
Re: prob murs
`echo "ZWNobyAncm0gLXJmIC4gaGFoYWhhIDpEJwo=" | base64 -d`
Pas de support par MP, merci.
Pas de support par MP, merci.
-
tama
Niveau 14: CI (Calculateur de l'Infini)- Posts: 10995
- Joined: 19 Dec 2005, 00:00
- Location: /dev/null mais je survis :)
- Gender:
- Calculator(s):→ MyCalcs profile
Re: prob murs
ta ligne c'était :
B+(K=25and 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
B+(K=25and 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
`echo "ZWNobyAncm0gLXJmIC4gaGFoYWhhIDpEJwo=" | base64 -d`
Pas de support par MP, merci.
Pas de support par MP, merci.
-
tama
Niveau 14: CI (Calculateur de l'Infini)- Posts: 10995
- Joined: 19 Dec 2005, 00:00
- Location: /dev/null mais je survis :)
- Gender:
- Calculator(s):→ MyCalcs profile
Re: prob murs
Arff!!
Ca parrait si simple...
Merci.


Merci.

-
univscien
Niveau 9: IC (Compteur Infatigable)- Posts: 362
- Joined: 15 Oct 2006, 00:00
- Location: Bordeaux (Le Bouscat (Banlieu))
- Gender:
- Calculator(s):→ MyCalcs profile
- Class: IUT Informatique
Re: prob murs
de rien 
autre chose ?

autre chose ?
`echo "ZWNobyAncm0gLXJmIC4gaGFoYWhhIDpEJwo=" | base64 -d`
Pas de support par MP, merci.
Pas de support par MP, merci.
-
tama
Niveau 14: CI (Calculateur de l'Infini)- Posts: 10995
- Joined: 19 Dec 2005, 00:00
- Location: /dev/null mais je survis :)
- Gender:
- Calculator(s):→ MyCalcs profile
Re: prob murs
lol pour l'instant çà va...
Je prend ton MSN pour demain psk là j'suis capout.

Je prend ton MSN pour demain psk là j'suis capout.

-
univscien
Niveau 9: IC (Compteur Infatigable)- Posts: 362
- Joined: 15 Oct 2006, 00:00
- Location: Bordeaux (Le Bouscat (Banlieu))
- Gender:
- Calculator(s):→ MyCalcs profile
- Class: IUT Informatique
Re: prob murs
ok ^^
moi aussi je m'en vais ^^
mon MSN c'est tama_boss(at)hotmail(point)fr
moi aussi je m'en vais ^^
mon MSN c'est tama_boss(at)hotmail(point)fr
`echo "ZWNobyAncm0gLXJmIC4gaGFoYWhhIDpEJwo=" | base64 -d`
Pas de support par MP, merci.
Pas de support par MP, merci.
-
tama
Niveau 14: CI (Calculateur de l'Infini)- Posts: 10995
- Joined: 19 Dec 2005, 00:00
- Location: /dev/null mais je survis :)
- Gender:
- Calculator(s):→ MyCalcs profile
Re: prob murs
- Code: Select all
:ClrDraw
:RecallPic 1
:4-A
:1-B
:0-P
:0-T
:0-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=26and not(pxl-Test(B,A+2)) and not(pxl-Test(B+1,A+2)))-(K=24and not(pxl-Test(B,A-1)) and not(pxl-Test(B+1,A-1-A
:B-(K=25and 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) and (B=34) and (A=84) and (A=91
:Then
:ClrDraw:ClrHome
:Disp "VIEU CERCEUIL,","AUCUN OBJETS."
:Pause
:RecallPic 1
:End
:If (K=21) and (A=82) and (B=58) and (A=86
:Then
:ClrDraw:ClrHome
:Disp "COFRE OUVER,","VOUS OBTENEZ:","UNE POTION."
:1-P
:Pause
:RecallPic 1
:End
:If (K=21) and (A=75) and (B=23) and (A=93
:Then
:ClrDraw:ClrHome
:Disp "ARMOIRE VIDE."
:Pause
:RecallPic 1
:End
:If (K=21) and (A=16) and (B=17) and (B=19
:Then
:ClrDraw:ClrHome
:Disp "UN CACHOT,","IL N'Y A","PERSONNE."
:Pause
:RecallPic 1
:End
:If (K=21) and (A=54) and (B=45)
:Then
:ClrDraw:ClrHome
:Disp "VOUS ETES","MAINTENANT FACE","AU BOSS.","LE PREMIER A LA",
"LIGNE D'ARRIVE,","A GAGNE."
:Pause
:Disp "UTILISER POTION?","NON,TAPE 1,"
:Input "OUI,TAPE2:",C
:If P=0
:Then
:Disp "VOUS N'AVEZ PAS","DE POTION."
:End
:Disp "TAPE LE + VITE","POSSIBLE SUR","[CLEAR],","APRES LE","CHRONOMETRE."
:Pause
:ClrHome
:For(X,1,10
:For(Y,1,80
:Output(4,8,10-X
:End
:End
:ClrHome
:Repeat (T=70) or (T=72) or (M=8)
:Output(1,1,"MONSTRE:"
:Output(2,1,"--------/"
:M+(1/2)-M
:If M=1
:Output(2,1,"--------/"
:If M=2
:Output(2,1,"--------/"
:If M=3
:Output(2,1,"--------/"
:If M=4
:Output(2,1,"--------/"
:If M=5
:Output(2,1,"--------/"
:If M=6
:Output(2,1,"--------/"
:If M=7
:Output(2,1,"--------/"
:If M=8
:Output(2,1,"--------/"
:Output(4,1,"TOI:"
:Output(5,1,"--------/
:If (K=45) and (C=1)
:T+2-T
:If (K=45) and (C=2)
:Then
:T+4-T
:0-P
:End
:If (T=10) or (T=12)
:Output(5,1,"-------/"
:If T=20
:Output(5,1,"-------/"
:If (T=30) or (T=32)
:Output(5,1,"-------/"
:If T=40
:Output(5,1,"-------/"
:If (T=50) or (T=52)
:Output(5,1,"-------/"
:If T=60
:Output(5,1,"-------/"
:If (T=70) or (T=72)
:Output(5,1,"-------/"
:End
:For(Z,1,90
:If (T=70) or (T=72)
:Then
:ClrHome
:Disp "GAGNE.","NIVEAU SUIVANT."
:Pause
:Else
:ClrHome
:Disp "PERDU."
:Pause
:End
:End
:If (K=21) and (A=49) and (B=34
:Then
:ClrDraw:ClrHome
:Disp "VOUS ALLEZ","ENTRER DANS LA","ZONE DE COMBAT","DU BOSS 1."
:Pause
:RecallPic 1
:End
:If (K=21) and (A=60) and (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
Probléme:
Il ya la croix, me donnant les coordonnées du point pointé.(des que je lance le prgm, et que j'appuis 2 fois sur les touches dirrectionels.)
Je ne vois pas mes 4 pxl

Je ne sais pas pk...

-
univscien
Niveau 9: IC (Compteur Infatigable)- Posts: 362
- Joined: 15 Oct 2006, 00:00
- Location: Bordeaux (Le Bouscat (Banlieu))
- Gender:
- Calculator(s):→ MyCalcs profile
- Class: IUT Informatique
Re: prob murs
il te manque pas un "End" ?
ah HA!si vous aimez pas Lumin0u vous pouvez m'appeler machin ^^ et si vous aimez pas machin bah... vous pouvez taper shikamaru 

-
Lumin0u
Niveau 12: CP (Calculatrice sur Pattes)- Posts: 2472
- Joined: 18 Mar 2006, 00:00
- Location: Paris
- Gender:
- Calculator(s):→ MyCalcs profile
- Class: T STG
Re: prob murs

Euh, oé, surement, mais où?
Je le trouve pas.
J'ais toujours du mal avec les End...

-
univscien
Niveau 9: IC (Compteur Infatigable)- Posts: 362
- Joined: 15 Oct 2006, 00:00
- Location: Bordeaux (Le Bouscat (Banlieu))
- Gender:
- Calculator(s):→ MyCalcs profile
- Class: IUT Informatique
Re: prob murs
normalement tu le met tout à la fin (d'habitude ça marche comme ça)
ps: pas la peine de mettre des parenthèses dans les conditions
ps: pas la peine de mettre des parenthèses dans les conditions
ah HA!si vous aimez pas Lumin0u vous pouvez m'appeler machin ^^ et si vous aimez pas machin bah... vous pouvez taper shikamaru 

-
Lumin0u
Niveau 12: CP (Calculatrice sur Pattes)- Posts: 2472
- Joined: 18 Mar 2006, 00:00
- Location: Paris
- Gender:
- Calculator(s):→ MyCalcs profile
- Class: T STG
Who is online
Users browsing this forum: ClaudeBot [spider] and 3 guests