truc con, mais qui marche pas
:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
if (Key.isDown(127) and lvl2>20) {
		Gamer2_mc._x += 35;
		Gamer2_mc._y -= 17.5;
		lvl2 -= 20;
	}
alors que ça marche :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
if (Key.isDown(Key.Up) and lvl2>20) {
		Gamer2_mc._x += 35;
		Gamer2_mc._y -= 17.5;
		lvl2 -= 20;
	}
c'est bien Key.isDown(ascii) ??