1

ch'uis un gros nioubi
pkoi ca marche pas?:


do //boucle qui va faire bouger le pion
{
if(key !=0)
Sprite16(xxb, yyb, 16, blanc, LCD_MEM, SPRT_XOR);

switch(key)
{
case 338: //gauche
if (xxb>31) xxb=xxb-20;


case 344: //droite
if(xxb<113) xxb=xxb+20;

}

Sprite16(xxb, yyb, 16, blanc, LCD_MEM, SPRT_XOR); //dessine le pion à la nouvelle position

key=ngetchx();
}
while(key != 264); //tant qu'on presse pas "esc"

ps: g un sprite "blanc", qui devrait etre redessiner qd on presse les fleches
avant ca marchait, pis je c pas ce qui se passe, ms ca marche plusconfusconfus
[edit]Edité par melbournian le 21-03-2002 à 11:17:25[/edit]
avatar
With your feet in the air and your head on the ground
Try this trick and spin it, yeah
Your head will collapse
But there's nothing in it
And you'll ask yourself
Where is my mind

2

tu as initialisé key ?
Site : http://www.phareaway.com/
Membre du groupe Phare Away et webmaster du site

3

oui
avatar
With your feet in the air and your head on the ground
Try this trick and spin it, yeah
Your head will collapse
But there's nothing in it
And you'll ask yourself
Where is my mind

4

do //boucle qui va faire bouger le pion
{
if(key !=0)
Sprite16(xxb, yyb, 16, blanc, LCD_MEM, SPRT_XOR);

switch(key)
{
case 338: //gauche
if (xxb>31) xxb-=20;


case 344: //droite
if(xxb<113) xxb+=20;

}

Sprite16(xxb, yyb, 16, blanc, LCD_MEM, SPRT_XOR); //dessine le pion à la nouvelle position

key=ngetchx();
}
while(key != 264); //tant qu'on presse pas "esc"

que vaut blanc ?
Site : http://www.phareaway.com/
Membre du groupe Phare Away et webmaster du site

5

ben c un sprite (mais il est pas tout blancwink)
static unsigned short blanc[]={ 0x7E0, 0x1FF8, 0x381C, 0x700E,0x6006, 0xC003, 0xC003, 0xC001, 0xC001, 0xC001, 0x4003, 0x6002, 0x3006, 0x1C1C, 0xFF8, 0x1C0};

bon, g regle le pb de l'adress error
le blem maintenant, c que ca marche pas qd on presse gauche
avatar
With your feet in the air and your head on the ground
Try this trick and spin it, yeah
Your head will collapse
But there's nothing in it
And you'll ask yourself
Where is my mind

6

tu as oublié de mettre le break!!
Site : http://www.phareaway.com/
Membre du groupe Phare Away et webmaster du site

7

je viens de le voir!!!!!!!!!!!!!!!!!!!!!!!
avatar
With your feet in the air and your head on the ground
Try this trick and spin it, yeah
Your head will collapse
But there's nothing in it
And you'll ask yourself
Where is my mind

8

gt en train de relire mes sources originales, et de comparer ligne à lignetongue
kel con qd meme!grin
(bah, j'avais bien dit: nioubiegrin)
merci qd meme!
avatar
With your feet in the air and your head on the ground
Try this trick and spin it, yeah
Your head will collapse
But there's nothing in it
And you'll ask yourself
Where is my mind