Re: [A tous] BUG GRAPHIQUE de "point(x,y)"
Publié : lun. 22/nov./2010 18:38
J'en avais déjà parlé un peu plus haut.Frenchy Pilou a écrit :ah on y vient au modulo
Forums PureBasic - Français
https://www.purebasic.fr/french/
J'en avais déjà parlé un peu plus haut.Frenchy Pilou a écrit :ah on y vient au modulo
Code : Tout sélectionner
color=RGB(Random(i%700)&255,Random(u%400)&255,Random((i+u)%600)&255)
Code : Tout sélectionner
color=RGB(Random(i%700)%255,Random(u%400)%255,Random((i+u)%600)%255)
Code : Tout sélectionner
color=RGB(Random(i%700),Random(u%400),Random((i+u)%600))
If color>=0 And color<=$FFFFFF
Plot(i,u,color)
p(i,u)=color
EndIf
Je vais aller couché septique...djes a écrit :Pas de bug, que ce soit avec en ligne 35ouCode : Tout sélectionner
color=RGB(Random(i%700)&255,Random(u%400)&255,Random((i+u)%600)&255)
ouCode : Tout sélectionner
color=RGB(Random(i%700)%255,Random(u%400)%255,Random((i+u)%600)%255)
Code : Tout sélectionner
color=RGB(Random(i%700),Random(u%400),Random((i+u)%600)) If color>=0 And color<=$FFFFFF Plot(i,u,color) p(i,u)=color EndIf
faut prendre des antibiotiques!SPH a écrit :Je vais aller couché septique...
Sans jeu, je te dirais demain car je gagne la (mmo)djes a écrit :faut prendre des antibiotiques!SPH a écrit :Je vais aller couché septique...![]()
Tu as un pourcentage élevé en changeant la ligne 35?
Code : Tout sélectionner
Procedure.i SPH_RGB(r,g,b)
If r<0 : r=0 : EndIf
If g<0 : g=0 : EndIf
If b<0 : b=0 : EndIf
If r>255 : r=255 : EndIf
If g>255 : g=255 : EndIf
If b>255 : b=255 : EndIf
ProcedureReturn RGB(r,g,b)
EndProcedure
C'est sword of the new worlddjes a écrit :Avec i+u ça devrait fonctionner, puisque ça ne dépasse pas $FFFFFF. C'est quel jeu?
En etant agen. Et de preference le matin vers 9h00djes a écrit :Dans quelles conditions le lances-tu?