merge
This commit is contained in:
commit
02df9254d3
2
Boss.pde
2
Boss.pde
|
|
@ -110,6 +110,7 @@ class Boss {
|
||||||
clignote = !clignote;
|
clignote = !clignote;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//affiche l'anime de explosion :
|
//affiche l'anime de explosion :
|
||||||
if ( !show && NUMEROXEPLO<50 ) {
|
if ( !show && NUMEROXEPLO<50 ) {
|
||||||
// Ou Methode avec un if :
|
// Ou Methode avec un if :
|
||||||
|
|
@ -124,6 +125,7 @@ class Boss {
|
||||||
if (NUMEROXEPLO < 50 && !clignote) image(visu_boss, x, y);
|
if (NUMEROXEPLO < 50 && !clignote) image(visu_boss, x, y);
|
||||||
//println("boss ..");
|
//println("boss ..");
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void affiche_et_mets_a_jour_le_boss(){
|
void affiche_et_mets_a_jour_le_boss(){
|
||||||
|
|
|
||||||
|
|
@ -60,9 +60,9 @@ void setup() {
|
||||||
size(1600, 900);
|
size(1600, 900);
|
||||||
imageMode(CENTER);
|
imageMode(CENTER);
|
||||||
|
|
||||||
c[0] = new Alien2(800,350,5,"mechant_tres_mechant150x150.png");
|
c[0] = new Alien2(800,350,5,"mechant_tres_mechant150x150.png");
|
||||||
c[1] = new Alien2(1200,350,5,"mechant_tres_mechant150x150.png");
|
c[1] = new Alien2(1200,350,5,"mechant_tres_mechant150x150.png");
|
||||||
c[2] = new Alien2(400,350,5,"mechant_tres_mechant150x150.png");
|
c[2] = new Alien2(400,350,5,"mechant_tres_mechant150x150.png");
|
||||||
|
|
||||||
|
|
||||||
//là, ça charge les images dans leurres varibles
|
//là, ça charge les images dans leurres varibles
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue