commit ab519c206d69bd9e54d8495567b16bd2357c8435 Author: Stève Oriol Date: Sun Jan 17 18:57:36 2021 +0100 Premier commit diff --git a/Boss.pde b/Boss.pde new file mode 100644 index 0000000..19af5bd --- /dev/null +++ b/Boss.pde @@ -0,0 +1,176 @@ +boolean boss_d_ou_g = false; +int boss_bouge = 800; +int boss_y = 171; +int boss_vitesse = 8; +boolean collision_laser = false; +float boss_cooldown = 5; +float boss_time; +int boss_stop = 4; +int pv_baseboss = 1; +int boss_pv = pv_baseboss; +int Xa, Xb, Xc, Ya, Yb, Yc, Xd, Yd, Xe, Ye; +float time_game = millis()/1000; +float ABC, DBC, ACB, DCB, EBC, ECB; +int H_jpv = 25, W_jpv = 650, x_jpv, y_jpv = 20; +int largeur_bar_vie_T = W_jpv; +int largeur_bar_vie_cible = W_jpv; +boolean invincible = false, son_Laser = false, clignote = false; +int invisi_time = 1000; // temps de d'invincibilité en millisecondes (2 secondes) +int deta_time, time_inv_boss; +int deta_cligno_time = 150; // temps de clignotage en millisecondes +int time_cligno_boss; + +void boss() { + + time_game = millis()/1000; + println("second : "+ time_game); + println("boss_time + boss_cooldown : " + boss_time + boss_cooldown); + if (boss_time + boss_cooldown < time_game && !invincible){ + boss_vitesse = 0; + image(laserboss1, boss_bouge, 380 + boss_y); + //joue le son du laser une seul fois + if(!son_Laser){ + son_Laser = true; + sonLaser_boss.play(); + } + //calcul dimension laser: + //coordonnées point haut + Xa = boss_bouge; + Ya = -100 + boss_y; + + Xb = boss_bouge - 566; + Yb = -100 + boss_y + 981; + + Xc = boss_bouge + 566; + Yc = Yb; + + //triangle(Xa, Ya, Xb, Yb, Xc, Yc); + + //coordonnées base du vaisseau: + Xd = x - 100; + Yd = y + 100; + + Xe = x + 100; + Ye = Yd; + + //calcul des angles + ABC = acos( ( ((Xc-Xb)*(Xa-Xb)) + ((Yc-Yb)*(Ya-Yb)) )/( sqrt(sq(Xc-Xb)+sq(Yc-Yb)) * sqrt(sq(Xa-Xb)+sq(Ya-Yb)) ) ); + ACB = ABC; + //println("ABC : "+ ABC); + //DBC = acos( ( ((Xc-Xb)*(Xd-Xb)) + ((Yc-Yb)*(Yd-Yb)) )/( sqrt(sq(Xc-Xb)+sq(Yc-Yb)) * sqrt(sq(Xd-Xb)+sq(Yd-Yb)) ) ); + DCB = acos( ( ((Xb-Xc)*(Xd-Xc)) + ((Yb-Yc)*(Yd-Yc)) )/( sqrt(sq(Xb-Xc)+sq(Yb-Yc)) * sqrt(sq(Xd-Xc)+sq(Yd-Yc)) ) ); + EBC = acos( ( ((Xc-Xb)*(Xe-Xb)) + ((Yc-Yb)*(Ye-Yb)) )/( sqrt(sq(Xc-Xb)+sq(Yc-Yb)) * sqrt(sq(Xe-Xb)+sq(Ye-Yb)) ) ); + //println("DCB : "+ DCB + " / EBC : "+ EBC); + + //line(Xd, Yd, Xe, Ye); + //println("Xb, Xe : " + Xb + " <> " + Xe); + //test collisions avec le laser: + if (EBC > ABC || ACB < DCB) { + collision_laser = false; + } else { + collision_laser = true; + ship.collision = true; + println("collision : " + collision_laser); + } + + + // boucle fin d'attaque + if (boss_time + boss_cooldown + boss_stop < time_game){ + boss_cooldown = random(1, 7); + boss_vitesse = 8; + boss_time = time_game; + son_Laser = false; + } + + //println("boss_time + boss_cooldown + boss_stop : "+ boss_time + boss_cooldown + boss_stop); + } + + if(!clignote){ + image(imgboss1, boss_bouge, boss_y); + } + + if (boss_d_ou_g == true){ //si le boss vas vers la gauche + if (boss_bouge > 0){ //si le boss il n'est pas tout a gauche + boss_bouge -= boss_vitesse; //on le fais aller a gauche + } else { //sinon + boss_d_ou_g = false; //on lui dit d'aller a gauche + } + } + + if (boss_d_ou_g == false && boss_bouge < width){ + boss_bouge += boss_vitesse; + } else { + boss_d_ou_g = true; + } + + + + + //largeur en pixels en fonction des pv courants du boss + largeur_bar_vie_cible = W_jpv * boss_pv / pv_baseboss; + println ("T : " + largeur_bar_vie_T + " C : " + largeur_bar_vie_cible); + + if (time_inv_boss + deta_time <= millis()){ + if (largeur_bar_vie_T > largeur_bar_vie_cible){ + largeur_bar_vie_T -- ; + invincible = true; + } else { + invincible = false; + } + time_inv_boss = millis(); + } + + // clignotement : + if (invincible && time_cligno_boss + deta_cligno_time <= millis()) { + time_cligno_boss = millis(); + clignote = !clignote; + } else if (!invincible) { + clignote = false; + } + + //jauge des pv du boss + x_jpv = width/2-W_jpv/2; + fill(255, 255, 255, 40); + noStroke(); + rect(x_jpv, y_jpv, W_jpv, H_jpv, H_jpv / 2); + fill(#AE0202, 230); + noStroke(); + rect( + x_jpv + (W_jpv - largeur_bar_vie_T)/2, // coordonnées X de la bar de vie + y_jpv, // coordonnées Y de la bar de vie + largeur_bar_vie_T, + H_jpv, // hauteur de la bar de vie + H_jpv / 2 // pour arrondir les angles de la bar de vie du boss + ); + fill(255); + textSize(H_jpv / 1.5); + textAlign(CENTER, CENTER); + text(boss_pv + " / " + pv_baseboss , x_jpv + W_jpv / 2 , y_jpv + H_jpv /2); + textAlign(LEFT, BOTTOM); + textSize(12); + strokeWeight(2); + stroke(#ffffff); + noFill(); + rect(x_jpv, y_jpv, W_jpv, H_jpv, H_jpv / 2); + fill(255, 255, 255); + strokeWeight(1); + stroke(#000000); + + if ( dist(ship.x, ship.y, boss_bouge, boss_y) < 200 ) { + // en gros le vaisseau éclate quand il touche le boss + ship.collision = true; + } else { + //si le missile est en contact avec le boss et qu'il n'est pas invincible le boss perd un point de vie + if ( dist(xm, ym, boss_bouge, boss_y) < 114 && !invincible ){ + boss_pv = boss_pv - 1; + sonCollision.play(); + time_inv_boss = time_cligno_boss = millis(); + //calcul delai en miliseconds pour chaque pixels a supprimer de la bars de vie en fonction du temps d'invincibilité du boss + // temps / pixels a suprimmer de la barre : + deta_time = invisi_time / (W_jpv - (W_jpv * boss_pv / pv_baseboss)); + //println("boss_pv : " + boss_pv + " :: deta_time : " + deta_time); + lancermisile = false; + clignote = false; + } + } +} diff --git a/Misile.pde b/Misile.pde new file mode 100644 index 0000000..de680fc --- /dev/null +++ b/Misile.pde @@ -0,0 +1,63 @@ +//code des Misiles des méchants +class Misile { + + boolean show = false; + PImage misile; + int y,x,yStart; + float time; + + Misile(int xt,int yt,String misilet,float timet) { + x = xt; + y = yStart = yt; + time = timet; + misile = loadImage(misilet); + } + + void apparaitre() { + image(misile, x, y); + } + + void verifiercollisions() { + + // Si un missile est en cours + if (show) { + + // Si le missile sort en bas de l'écran + if (y > hauteur) { + //on supprime le missile + show = false; + //on remet le y du missile pour le prochain + y = yStart; + } + + if ( dist(ship.x, ship.y, x, y) < 130 ) { + // Averti le vaiseau de la collision avec le missile + ship.collision = true; + sonCollision.play(); + + // supprime le missile + show = false; + } + + } + + } + + void tomber() { + y += 10; + } + + void affiche_et_mets_a_jour_le_missile() { + if (show) { + tomber(); + verifiercollisions(); + apparaitre(); + } else { + //Si pas de missile actif on peut en lancer un de temps en temps si le ship et toujours en vie: + // 0.1% du temps + if ( ship.pv != 0 && random(1000) < 1 ) show = true; + } + } + +} + diff --git a/README.md b/README.md new file mode 100644 index 0000000..276409a --- /dev/null +++ b/README.md @@ -0,0 +1,14 @@ +# Premier jeux de Arthaud avec Processing + +https://processing.org/ + +liens utiles: + +- https://processing.org/examples/loadsavetable.html +- https://processing.org/examples/loadsavejson.html +- https://processing.org/examples/arraylistclass.html +- https://processing.org/examples/arraylistclass.html +- https://processing.org/tutorials/arrays/ +- https://processing.org/examples/arrayobjects.html +- https://processing.org/examples/movingoncurves.html + diff --git a/SRC/124-1247845_illuminati-png.png b/SRC/124-1247845_illuminati-png.png new file mode 100644 index 0000000..78403fc Binary files /dev/null and b/SRC/124-1247845_illuminati-png.png differ diff --git a/SRC/Info.txt b/SRC/Info.txt new file mode 100644 index 0000000..680c6f3 --- /dev/null +++ b/SRC/Info.txt @@ -0,0 +1,2 @@ + +Pour utiliser "Shéma angle.json" aller sur https://excalidraw.com/ diff --git a/SRC/Item de jeu.svg b/SRC/Item de jeu.svg new file mode 100644 index 0000000..5d62860 --- /dev/null +++ b/SRC/Item de jeu.svg @@ -0,0 +1,12141 @@ + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + diff --git a/SRC/Shéma angle.json b/SRC/Shéma angle.json new file mode 100644 index 0000000..ed2df82 --- /dev/null +++ b/SRC/Shéma angle.json @@ -0,0 +1,3513 @@ +{ + "type": "excalidraw", + "version": 2, + "source": "https://excalidraw.com", + "elements": [ + { + "type": "text", + "version": 554, + "versionNonce": 1043108434, + "isDeleted": false, + "id": "qhNyMmC0RAa14CZyDwzcw", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": 611, + "y": 935.5, + "strokeColor": "#000000", + "backgroundColor": "#e64980", + "width": 445, + "height": 216, + "seed": 833551698, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [ + "jhMLGDlWp3iPf21zOwyh2" + ], + "fontSize": 20, + "fontFamily": 3, + "text": "Si ABC > DBC alors D droite AB \n\n donc si ABC < DBC alors D gauche AB\n\nSi ABC > EBC alors E droite AB \n\n donc si ABC < EBC alors E gauche AB\n\n", + "baseline": 211, + "textAlign": "left", + "verticalAlign": "top" + }, + { + "type": "arrow", + "version": 495, + "versionNonce": 254125522, + "isDeleted": false, + "id": "ZndaSC4jpcMBLZDe4prZe", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": 17, + "y": 88, + "strokeColor": "#000000", + "backgroundColor": "#e64980", + "width": 591.9432370367798, + "height": 4.37771105176509, + "seed": 1413894175, + "groupIds": [], + "strokeSharpness": "round", + "boundElementIds": [], + "startBinding": null, + "endBinding": null, + "points": [ + [ + 0, + 0 + ], + [ + 591.9432370367798, + 4.37771105176509 + ] + ], + "lastCommittedPoint": null + }, + { + "type": "arrow", + "version": 62, + "versionNonce": 466475086, + "isDeleted": false, + "id": "_OrYzCrJeUuf3f_qCOhoK", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": 22, + "y": 84, + "strokeColor": "#000000", + "backgroundColor": "#e64980", + "width": 9, + "height": 432, + "seed": 1962220287, + "groupIds": [], + "strokeSharpness": "round", + "boundElementIds": [], + "startBinding": null, + "endBinding": null, + "points": [ + [ + 0, + 0 + ], + [ + -9, + 432 + ] + ], + "lastCommittedPoint": null + }, + { + "type": "text", + "version": 148, + "versionNonce": 928393806, + "isDeleted": false, + "id": "KAjPVLpos-P78cNnVY5gR", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": 547, + "y": 50.5, + "strokeColor": "#000000", + "backgroundColor": "#15aabf", + "width": 102, + "height": 23, + "seed": 326268754, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [], + "fontSize": 20, + "fontFamily": 2, + "text": "abscisse X ", + "baseline": 19, + "textAlign": "left", + "verticalAlign": "top" + }, + { + "type": "text", + "version": 39, + "versionNonce": 400528206, + "isDeleted": false, + "id": "gNp_rgKso4iYqeEkqE5sP", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": 377, + "y": 56.5, + "strokeColor": "#000000", + "backgroundColor": "transparent", + "width": 13, + "height": 23, + "seed": 1542337042, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [], + "fontSize": 20, + "fontFamily": 2, + "text": "A", + "baseline": 19, + "textAlign": "left", + "verticalAlign": "top" + }, + { + "type": "text", + "version": 41, + "versionNonce": 101748882, + "isDeleted": false, + "id": "vUtK3FtthK8gqcGMZWTBC", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": 181, + "y": 507.5, + "strokeColor": "#000000", + "backgroundColor": "transparent", + "width": 13, + "height": 23, + "seed": 2179790, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [], + "fontSize": 20, + "fontFamily": 2, + "text": "B", + "baseline": 19, + "textAlign": "left", + "verticalAlign": "top" + }, + { + "type": "text", + "version": 39, + "versionNonce": 225180046, + "isDeleted": false, + "id": "-9HRs78rJKBBhtjT2xOBM", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": 554, + "y": 505.5, + "strokeColor": "#000000", + "backgroundColor": "transparent", + "width": 14, + "height": 23, + "seed": 1731534, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [], + "fontSize": 20, + "fontFamily": 2, + "text": "C", + "baseline": 19, + "textAlign": "left", + "verticalAlign": "top" + }, + { + "type": "text", + "version": 79, + "versionNonce": 1494325198, + "isDeleted": false, + "id": "OCrznYHE-CPckKFyX3TDC", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": 463, + "y": 504.5, + "strokeColor": "#000000", + "backgroundColor": "transparent", + "width": 14, + "height": 23, + "seed": 735785550, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [], + "fontSize": 20, + "fontFamily": 2, + "text": "D", + "baseline": 19, + "textAlign": "left", + "verticalAlign": "top" + }, + { + "type": "text", + "version": 80, + "versionNonce": 743379986, + "isDeleted": false, + "id": "brUEeNP60K0KmPsI9VxXH", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": 612, + "y": 503.5, + "strokeColor": "#000000", + "backgroundColor": "transparent", + "width": 13, + "height": 23, + "seed": 477457678, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [], + "fontSize": 20, + "fontFamily": 2, + "text": "E", + "baseline": 19, + "textAlign": "left", + "verticalAlign": "top" + }, + { + "type": "line", + "version": 300, + "versionNonce": 1804872850, + "isDeleted": false, + "id": "qKgRxsct5PDadqMoJDche", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": 387.72943757514, + "y": 885.9958167509083, + "strokeColor": "#000000", + "backgroundColor": "#15aabf", + "width": 168, + "height": 415, + "seed": 257713618, + "groupIds": [], + "strokeSharpness": "round", + "boundElementIds": [], + "startBinding": null, + "endBinding": null, + "points": [ + [ + 0, + 0 + ], + [ + -168, + 415 + ] + ], + "lastCommittedPoint": null + }, + { + "type": "arrow", + "version": 814, + "versionNonce": 1753226638, + "isDeleted": false, + "id": "jhMLGDlWp3iPf21zOwyh2", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": 35.21415519341838, + "y": 877.8853414930403, + "strokeColor": "#000000", + "backgroundColor": "#e64980", + "width": 553.7441651753386, + "height": 4.247651828883363, + "seed": 1868765262, + "groupIds": [], + "strokeSharpness": "round", + "boundElementIds": [], + "startBinding": null, + "endBinding": { + "elementId": "ZWcl_NMPPf4y_g6_pGyOG", + "focus": -2.0849252299013474, + "gap": 12.632993321923664 + }, + "points": [ + [ + 0, + 0 + ], + [ + 553.7441651753386, + 4.247651828883363 + ] + ], + "lastCommittedPoint": null + }, + { + "type": "arrow", + "version": 201, + "versionNonce": 1967442514, + "isDeleted": false, + "id": "OJ5uY4k6pc3RgJp9NtvBr", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": 34, + "y": 880, + "strokeColor": "#000000", + "backgroundColor": "#e64980", + "width": 9, + "height": 432, + "seed": 2117327762, + "groupIds": [], + "strokeSharpness": "round", + "boundElementIds": [], + "startBinding": null, + "endBinding": null, + "points": [ + [ + 0, + 0 + ], + [ + -9, + 432 + ] + ], + "lastCommittedPoint": null + }, + { + "type": "text", + "version": 240, + "versionNonce": 100744142, + "isDeleted": false, + "id": "ZWcl_NMPPf4y_g6_pGyOG", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": 574, + "y": 846.5, + "strokeColor": "#000000", + "backgroundColor": "#15aabf", + "width": 10, + "height": 23, + "seed": 339140238, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [ + "jhMLGDlWp3iPf21zOwyh2" + ], + "fontSize": 20, + "fontFamily": 2, + "text": "x", + "baseline": 19, + "textAlign": "left", + "verticalAlign": "top" + }, + { + "type": "text", + "version": 194, + "versionNonce": 1117499410, + "isDeleted": false, + "id": "mckHbj4epNs0vIFKaLkaj", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": -7, + "y": 1283.5, + "strokeColor": "#000000", + "backgroundColor": "#15aabf", + "width": 10, + "height": 23, + "seed": 370579794, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [], + "fontSize": 20, + "fontFamily": 2, + "text": "y", + "baseline": 19, + "textAlign": "left", + "verticalAlign": "top" + }, + { + "type": "text", + "version": 178, + "versionNonce": 172265998, + "isDeleted": false, + "id": "s_g0yOJ4TYD241zYH6X1Z", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": 389, + "y": 852.5, + "strokeColor": "#000000", + "backgroundColor": "transparent", + "width": 13, + "height": 23, + "seed": 1865931982, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [], + "fontSize": 20, + "fontFamily": 2, + "text": "A", + "baseline": 19, + "textAlign": "left", + "verticalAlign": "top" + }, + { + "type": "text", + "version": 183, + "versionNonce": 395304402, + "isDeleted": false, + "id": "Hhi5wOyxwaMXZoQv7zMj5", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": 193, + "y": 1303.5, + "strokeColor": "#000000", + "backgroundColor": "transparent", + "width": 13, + "height": 23, + "seed": 643538706, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [], + "fontSize": 20, + "fontFamily": 2, + "text": "B", + "baseline": 19, + "textAlign": "left", + "verticalAlign": "top" + }, + { + "type": "text", + "version": 181, + "versionNonce": 1346576462, + "isDeleted": false, + "id": "1xXcSjpPQ-f3Sszgv3p74", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": 566, + "y": 1301.5, + "strokeColor": "#000000", + "backgroundColor": "transparent", + "width": 14, + "height": 23, + "seed": 905909006, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [], + "fontSize": 20, + "fontFamily": 2, + "text": "C", + "baseline": 19, + "textAlign": "left", + "verticalAlign": "top" + }, + { + "type": "text", + "version": 178, + "versionNonce": 1809180302, + "isDeleted": false, + "id": "8uKFjxti0K8MLDnrJFBDU", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": 425, + "y": 1209.5, + "strokeColor": "#000000", + "backgroundColor": "transparent", + "width": 14, + "height": 23, + "seed": 50692430, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [], + "fontSize": 20, + "fontFamily": 2, + "text": "D", + "baseline": 19, + "textAlign": "left", + "verticalAlign": "top" + }, + { + "type": "line", + "version": 303, + "versionNonce": 230024398, + "isDeleted": false, + "id": "LPMdl6PDGfyy7P5fdyMOT", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": 554.7294375751401, + "y": 1297.9958167509083, + "strokeColor": "#000000", + "backgroundColor": "#15aabf", + "width": 334, + "height": 6, + "seed": 967059342, + "groupIds": [], + "strokeSharpness": "round", + "boundElementIds": [], + "startBinding": null, + "endBinding": null, + "points": [ + [ + 0, + 0 + ], + [ + -334, + 6 + ] + ], + "lastCommittedPoint": null + }, + { + "type": "line", + "version": 326, + "versionNonce": 1017255698, + "isDeleted": false, + "id": "xTFjdszDddOMxOWJBPWit", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": 387.72943757514, + "y": 886.9958167509083, + "strokeColor": "#000000", + "backgroundColor": "#15aabf", + "width": 168, + "height": 413, + "seed": 1069441106, + "groupIds": [], + "strokeSharpness": "round", + "boundElementIds": [], + "startBinding": null, + "endBinding": null, + "points": [ + [ + 0, + 0 + ], + [ + 168, + 413 + ] + ], + "lastCommittedPoint": null + }, + { + "type": "line", + "version": 227, + "versionNonce": 262244686, + "isDeleted": false, + "id": "9--knfha_jeECIWffhAEa", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "dotted", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": 222, + "y": 1305, + "strokeColor": "#000000", + "backgroundColor": "#15aabf", + "width": 203, + "height": 96, + "seed": 896408590, + "groupIds": [], + "strokeSharpness": "round", + "boundElementIds": [], + "startBinding": null, + "endBinding": null, + "points": [ + [ + 0, + 0 + ], + [ + 203, + -96 + ] + ], + "lastCommittedPoint": null + }, + { + "type": "rectangle", + "version": 781, + "versionNonce": 344465234, + "isDeleted": false, + "id": "tw74R37s0C9ZZ5A4RFbcj", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": 641, + "y": 925.5, + "strokeColor": "#1864ab", + "backgroundColor": "#228be6", + "width": 44, + "height": 9, + "seed": 1364152466, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [] + }, + { + "type": "rectangle", + "version": 791, + "versionNonce": 1862907598, + "isDeleted": false, + "id": "aSCmmGI5tcJkLOrbEW_s6", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": 732, + "y": 969.5, + "strokeColor": "#1864ab", + "backgroundColor": "#228be6", + "width": 44, + "height": 9, + "seed": 712587662, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [] + }, + { + "type": "rectangle", + "version": 1042, + "versionNonce": 682386706, + "isDeleted": false, + "id": "24nU8kl6jkPAILpHX84hX", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": 806, + "y": 972.5, + "strokeColor": "#c92a2a", + "backgroundColor": "#e64980", + "width": 44, + "height": 9, + "seed": 1073442386, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [] + }, + { + "type": "rectangle", + "version": 815, + "versionNonce": 1384492302, + "isDeleted": false, + "id": "YUvks5k0GEmR8y_uwalqW", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": 708, + "y": 925.5, + "strokeColor": "#c92a2a", + "backgroundColor": "#e64980", + "width": 44, + "height": 9, + "seed": 1651955662, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [] + }, + { + "type": "rectangle", + "version": 900, + "versionNonce": 1565912978, + "isDeleted": false, + "id": "7zwIUE9O9Lx1QokdUSTBY", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": 639.5, + "y": 1019.5, + "strokeColor": "#1864ab", + "backgroundColor": "#228be6", + "width": 44, + "height": 9, + "seed": 1240084562, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [] + }, + { + "type": "rectangle", + "version": 861, + "versionNonce": 1055918734, + "isDeleted": false, + "id": "x_ziwx3-gBGPrekSDOBhJ", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": 735.5, + "y": 1070.5, + "strokeColor": "#1864ab", + "backgroundColor": "#228be6", + "width": 44, + "height": 9, + "seed": 1162687950, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [] + }, + { + "type": "rectangle", + "version": 805, + "versionNonce": 1258861330, + "isDeleted": false, + "id": "uPf9daVPbjIjRfVmIo8ui", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": 804, + "y": 1068.25, + "strokeColor": "#5c940d", + "backgroundColor": "#40c057", + "width": 44, + "height": 9, + "seed": 886992782, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [] + }, + { + "type": "rectangle", + "version": 802, + "versionNonce": 1297956622, + "isDeleted": false, + "id": "YFjCI8RTfqfHvmYg1VudY", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": 711, + "y": 1018.75, + "strokeColor": "#5c940d", + "backgroundColor": "#40c057", + "width": 44, + "height": 9, + "seed": 1647089746, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [] + }, + { + "type": "line", + "version": 51, + "versionNonce": 1863116818, + "isDeleted": false, + "id": "h49yjbvDAReK5GdewNhy_", + "fillStyle": "solid", + "strokeWidth": 2, + "strokeStyle": "solid", + "roughness": 0, + "opacity": 100, + "angle": 0, + "x": 454.0000000000001, + "y": 500, + "strokeColor": "#000000", + "backgroundColor": "#e64980", + "width": 18, + "height": 9, + "seed": 1179791246, + "groupIds": [], + "strokeSharpness": "round", + "boundElementIds": [], + "startBinding": null, + "endBinding": null, + "points": [ + [ + 0, + 0 + ], + [ + 18, + 9 + ] + ], + "lastCommittedPoint": null + }, + { + "type": "line", + "version": 51, + "versionNonce": 44227086, + "isDeleted": false, + "id": "i8xmuzaXMsm7sSN3DKk2_", + "fillStyle": "solid", + "strokeWidth": 2, + "strokeStyle": "solid", + "roughness": 0, + "opacity": 100, + "angle": 0, + "x": 464.0000000000001, + "y": 495.00000000000006, + "strokeColor": "#000000", + "backgroundColor": "#e64980", + "width": 6, + "height": 16, + "seed": 1206198098, + "groupIds": [], + "strokeSharpness": "round", + "boundElementIds": [], + "startBinding": null, + "endBinding": null, + "points": [ + [ + 0, + 0 + ], + [ + -6, + 16 + ] + ], + "lastCommittedPoint": null + }, + { + "type": "line", + "version": 50, + "versionNonce": 286922194, + "isDeleted": false, + "id": "juZaACCwkbJbSpfS9dRF4", + "fillStyle": "solid", + "strokeWidth": 2, + "strokeStyle": "solid", + "roughness": 0, + "opacity": 100, + "angle": 0, + "x": 603.0000000000001, + "y": 497.00000000000006, + "strokeColor": "#000000", + "backgroundColor": "#e64980", + "width": 13, + "height": 6, + "seed": 2023481294, + "groupIds": [], + "strokeSharpness": "round", + "boundElementIds": [], + "startBinding": null, + "endBinding": null, + "points": [ + [ + 0, + 0 + ], + [ + 13, + 6 + ] + ], + "lastCommittedPoint": null + }, + { + "type": "line", + "version": 53, + "versionNonce": 899180622, + "isDeleted": false, + "id": "HwP2ZBvTAPKFwWwRvTdP-", + "fillStyle": "solid", + "strokeWidth": 2, + "strokeStyle": "solid", + "roughness": 0, + "opacity": 100, + "angle": 0, + "x": 612.0000000000001, + "y": 496.00000000000006, + "strokeColor": "#000000", + "backgroundColor": "#e64980", + "width": 11, + "height": 7, + "seed": 1531120270, + "groupIds": [], + "strokeSharpness": "round", + "boundElementIds": [], + "startBinding": null, + "endBinding": null, + "points": [ + [ + 0, + 0 + ], + [ + -11, + 7 + ] + ], + "lastCommittedPoint": null + }, + { + "type": "line", + "version": 16, + "versionNonce": 417307858, + "isDeleted": false, + "id": "R9QPdFK8kjU7Y0z_XYDC-", + "fillStyle": "hachure", + "strokeWidth": 2, + "strokeStyle": "solid", + "roughness": 0, + "opacity": 100, + "angle": 0, + "x": 418.0000000000001, + "y": 1204, + "strokeColor": "#000000", + "backgroundColor": "#e64980", + "width": 19, + "height": 5, + "seed": 19841810, + "groupIds": [], + "strokeSharpness": "round", + "boundElementIds": [], + "startBinding": null, + "endBinding": null, + "points": [ + [ + 0, + 0 + ], + [ + 19, + 5 + ] + ], + "lastCommittedPoint": null + }, + { + "type": "line", + "version": 18, + "versionNonce": 470995278, + "isDeleted": false, + "id": "54a98ez7VEHzEP61yjAkw", + "fillStyle": "hachure", + "strokeWidth": 2, + "strokeStyle": "solid", + "roughness": 0, + "opacity": 100, + "angle": 0, + "x": 431.0000000000001, + "y": 1201, + "strokeColor": "#000000", + "backgroundColor": "#e64980", + "width": 5, + "height": 10, + "seed": 38685522, + "groupIds": [], + "strokeSharpness": "round", + "boundElementIds": [], + "startBinding": null, + "endBinding": null, + "points": [ + [ + 0, + 0 + ], + [ + -5, + 10 + ] + ], + "lastCommittedPoint": null + }, + { + "type": "line", + "version": 179, + "versionNonce": 400883406, + "isDeleted": false, + "id": "rsytPY5aQrWVlHO1ZFpbi", + "fillStyle": "hachure", + "strokeWidth": 2, + "strokeStyle": "solid", + "roughness": 0, + "opacity": 100, + "angle": 0, + "x": 246.0000000000001, + "y": 1239, + "strokeColor": "#1864ab", + "backgroundColor": "#7950f2", + "width": 59.99999999999999, + "height": 65, + "seed": 905499730, + "groupIds": [], + "strokeSharpness": "round", + "boundElementIds": [], + "startBinding": null, + "endBinding": null, + "points": [ + [ + 0, + 0 + ], + [ + 49.253731343283526, + 20.44943820224719 + ], + [ + 59.99999999999999, + 65 + ] + ], + "lastCommittedPoint": null + }, + { + "type": "line", + "version": 82, + "versionNonce": 67738898, + "isDeleted": false, + "id": "byVKPm85zfFCRfejnLuIQ", + "fillStyle": "hachure", + "strokeWidth": 2, + "strokeStyle": "solid", + "roughness": 0, + "opacity": 100, + "angle": 0, + "x": 350.0000000000001, + "y": 1245, + "strokeColor": "#c92a2a", + "backgroundColor": "#7950f2", + "width": 24.900927492716196, + "height": 56.99999999999998, + "seed": 556237458, + "groupIds": [], + "strokeSharpness": "round", + "boundElementIds": [], + "startBinding": null, + "endBinding": null, + "points": [ + [ + 0, + 0 + ], + [ + 24.900927492716196, + 26.391208791208907 + ], + [ + 12.131221086195065, + 56.99999999999998 + ] + ], + "lastCommittedPoint": null + }, + { + "type": "text", + "version": 15, + "versionNonce": 667877522, + "isDeleted": false, + "id": "rVvtxHdfTz00wL0ik4oz5", + "fillStyle": "hachure", + "strokeWidth": 2, + "strokeStyle": "solid", + "roughness": 0, + "opacity": 100, + "angle": 0, + "x": 161.0000000000001, + "y": 1247.5, + "strokeColor": "#1864ab", + "backgroundColor": "#7950f2", + "width": 35, + "height": 24, + "seed": 1333694350, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [], + "fontSize": 20, + "fontFamily": 3, + "text": "ABC", + "baseline": 19, + "textAlign": "left", + "verticalAlign": "top" + }, + { + "type": "text", + "version": 15, + "versionNonce": 1091340686, + "isDeleted": false, + "id": "11urWOS3mXM9Z70K1vgpy", + "fillStyle": "hachure", + "strokeWidth": 2, + "strokeStyle": "solid", + "roughness": 0, + "opacity": 100, + "angle": 0, + "x": 321.0000000000001, + "y": 1186.5, + "strokeColor": "#c92a2a", + "backgroundColor": "#7950f2", + "width": 35, + "height": 24, + "seed": 1300040974, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [], + "fontSize": 20, + "fontFamily": 3, + "text": "DBC", + "baseline": 19, + "textAlign": "left", + "verticalAlign": "top" + }, + { + "type": "text", + "version": 15, + "versionNonce": 184884818, + "isDeleted": false, + "id": "9x8_XYkYlJkJykUNVRKtY", + "fillStyle": "hachure", + "strokeWidth": 2, + "strokeStyle": "solid", + "roughness": 0, + "opacity": 100, + "angle": 0, + "x": 466.0000000000001, + "y": 1310.5, + "strokeColor": "#5c940d", + "backgroundColor": "#7950f2", + "width": 35, + "height": 24, + "seed": 819948174, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [], + "fontSize": 20, + "fontFamily": 3, + "text": "EBC", + "baseline": 19, + "textAlign": "left", + "verticalAlign": "top" + }, + { + "type": "rectangle", + "version": 180, + "versionNonce": 1780492238, + "isDeleted": false, + "id": "gSh3wA0YdZqilP0lzHzbv", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 0, + "opacity": 100, + "angle": 0, + "x": 460.0000000000001, + "y": 343, + "strokeColor": "#087f5b", + "backgroundColor": "#12b886", + "width": 148, + "height": 159, + "seed": 1310804242, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [] + }, + { + "type": "text", + "version": 89, + "versionNonce": 1697743890, + "isDeleted": false, + "id": "m_bLgsG2H0cW6af0cQwXn", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 0, + "opacity": 100, + "angle": 0, + "x": 568.0000000000002, + "y": 245.50000000000006, + "strokeColor": "#000000", + "backgroundColor": "transparent", + "width": 527, + "height": 48, + "seed": 2041993806, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [], + "fontSize": 20, + "fontFamily": 3, + "text": "Si (B < D et D < C) ou (B < E et E < C) \n alors D et/ou E est compris entre B et C.", + "baseline": 43, + "textAlign": "left", + "verticalAlign": "top" + }, + { + "type": "line", + "version": 237, + "versionNonce": 1671822862, + "isDeleted": false, + "id": "VaYPZS9FYkF6HkilF-vzb", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 0, + "opacity": 100, + "angle": 0, + "x": 383.0000000000001, + "y": 88.00000000000006, + "strokeColor": "#5f3dc4", + "backgroundColor": "#7950f2", + "width": 365, + "height": 415.99999999999994, + "seed": 1367508242, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [], + "startBinding": null, + "endBinding": null, + "points": [ + [ + 0, + 0 + ], + [ + -186.99999999999994, + 415.99999999999994 + ], + [ + 178.00000000000003, + 414 + ], + [ + 0, + 0 + ] + ], + "lastCommittedPoint": null + }, + { + "type": "text", + "version": 201, + "versionNonce": 273363410, + "isDeleted": false, + "id": "VgBBK2f2ZwyKGm3wAE-zO", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 0, + "opacity": 100, + "angle": 0, + "x": 30.000000000000227, + "y": -24.499999999999943, + "strokeColor": "#000000", + "backgroundColor": "#7950f2", + "width": 853, + "height": 34, + "seed": 1277226898, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [], + "fontSize": 28, + "fontFamily": 3, + "text": "Sur une même hauteur on peut dire des abscisses ... ", + "baseline": 27, + "textAlign": "left", + "verticalAlign": "top" + }, + { + "type": "text", + "version": 117, + "versionNonce": 1385630798, + "isDeleted": false, + "id": "xB12Aj6cNxfh7JWN99clD", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 0, + "opacity": 100, + "angle": 0, + "x": -142.9999999999999, + "y": 488.5, + "strokeColor": "#000000", + "backgroundColor": "#7950f2", + "width": 129, + "height": 24, + "seed": 1169856402, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [], + "fontSize": 20, + "fontFamily": 3, + "text": "ordonnées Y", + "baseline": 19, + "textAlign": "left", + "verticalAlign": "top" + }, + { + "type": "text", + "version": 118, + "versionNonce": 258549650, + "isDeleted": false, + "id": "wXWUI75nEteshpEBYv-f5", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 0, + "opacity": 100, + "angle": 0, + "x": 32.000000000000114, + "y": 802.5, + "strokeColor": "#000000", + "backgroundColor": "#7950f2", + "width": 869, + "height": 34, + "seed": 1108863506, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [], + "fontSize": 28, + "fontFamily": 3, + "text": "Pour savoir où se trouve D par rapport à la droite AB", + "baseline": 27, + "textAlign": "left", + "verticalAlign": "top" + }, + { + "type": "text", + "version": 649, + "versionNonce": 1755190711, + "isDeleted": false, + "id": "H2Ck9X4oBTstLsdARtbXI", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": 559.75, + "y": 2541.75, + "strokeColor": "#000000", + "backgroundColor": "#40c057", + "width": 750, + "height": 120, + "seed": 827240146, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [], + "fontSize": 20, + "fontFamily": 3, + "text": "Si (B < D et D < C) ou (B < E et E < C) \n alors D et/ou E est compris entre B et C.\n\nSi (D droite AB et D gauche AC) ou (E droite AB et E gauche AC) \n alors D et/ou E est compris entre B et C.", + "baseline": 115, + "textAlign": "left", + "verticalAlign": "top" + }, + { + "type": "text", + "version": 579, + "versionNonce": 1791124818, + "isDeleted": false, + "id": "0WhdsCbsKn_uZjXoSq_PT", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": 559.2500000000001, + "y": 2697.75, + "strokeColor": "#000000", + "backgroundColor": "#40c057", + "width": 656, + "height": 48, + "seed": 1398136654, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [], + "fontSize": 20, + "fontFamily": 3, + "text": "Si (ABC > DBC et ACB > DCB) ou (ABC > EBC et ACB > ECB) \n alors D et/ou E est compris entre B et C.", + "baseline": 43, + "textAlign": "left", + "verticalAlign": "top" + }, + { + "type": "rectangle", + "version": 1010, + "versionNonce": 1694421198, + "isDeleted": false, + "id": "rYwRlmaDx-TRmEkXgU_aZ", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 60, + "angle": 0, + "x": 598.7500000000001, + "y": 2688.25, + "strokeColor": "#1864ab", + "backgroundColor": "#228be6", + "width": 44, + "height": 9, + "seed": 485819538, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [] + }, + { + "type": "rectangle", + "version": 1178, + "versionNonce": 195947282, + "isDeleted": false, + "id": "44jel9Em9aqlr-k0StaP2", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 60, + "angle": 0, + "x": 670.7500000000001, + "y": 2689.25, + "strokeColor": "#c92a2a", + "backgroundColor": "#fa5252", + "width": 44, + "height": 9, + "seed": 473482638, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [] + }, + { + "type": "rectangle", + "version": 844, + "versionNonce": 1053263630, + "isDeleted": false, + "id": "j0qCXxJNRRURnQCqPe_CC", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 60, + "angle": 0, + "x": 750.7500000000001, + "y": 2689.25, + "strokeColor": "#e67700", + "backgroundColor": "#fd7e14", + "width": 44, + "height": 9, + "seed": 1959436882, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [] + }, + { + "type": "rectangle", + "version": 1052, + "versionNonce": 413317330, + "isDeleted": false, + "id": "5dNcXQEZaP65UJNUrMUjb", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 60, + "angle": 0, + "x": 824.7500000000001, + "y": 2689.25, + "strokeColor": "#fc03f0", + "backgroundColor": "#e64980", + "width": 44, + "height": 9, + "seed": 207938510, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [] + }, + { + "type": "rectangle", + "version": 1027, + "versionNonce": 1117746510, + "isDeleted": false, + "id": "VPt0PbONRRIUvoQ8nVoYa", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 60, + "angle": 0, + "x": 928.7500000000001, + "y": 2689.25, + "strokeColor": "#1864ab", + "backgroundColor": "#228be6", + "width": 44, + "height": 9, + "seed": 61245458, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [] + }, + { + "type": "rectangle", + "version": 903, + "versionNonce": 1362611858, + "isDeleted": false, + "id": "nlDW9uojY6sz8pj7ID3hL", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 60, + "angle": 0, + "x": 1084.75, + "y": 2686.25, + "strokeColor": "#e67700", + "backgroundColor": "#fd7e14", + "width": 44, + "height": 9, + "seed": 1442003470, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [] + }, + { + "type": "rectangle", + "version": 945, + "versionNonce": 1507826574, + "isDeleted": false, + "id": "byUcLjSXFXGq07VqH4TEV", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 60, + "angle": 0, + "x": 999.75, + "y": 2689.25, + "strokeColor": "#5c940d", + "backgroundColor": "#40c057", + "width": 44, + "height": 9, + "seed": 562017746, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [] + }, + { + "type": "rectangle", + "version": 1090, + "versionNonce": 236604302, + "isDeleted": false, + "id": "lSNkwVHhSkp2YHQ7qNWQe", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 60, + "angle": 0, + "x": 1151.75, + "y": 2686.25, + "strokeColor": "#862e9c", + "backgroundColor": "#e64980", + "width": 44, + "height": 9, + "seed": 2145175630, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [] + }, + { + "type": "text", + "version": 561, + "versionNonce": 1522596302, + "isDeleted": false, + "id": "kQXmTwC1KPUcW-bziK2Wd", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": 558.5000000000001, + "y": 1916, + "strokeColor": "#000000", + "backgroundColor": "#e64980", + "width": 445, + "height": 240, + "seed": 1896803154, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [ + "4x2zL087Q705RFC2hW6RX" + ], + "fontSize": 20, + "fontFamily": 3, + "text": "\n\n\nSi ACB > DCB alors D gauche AC \n\n donc si ACB < DCB alors D droite AC\n\nSi ACB > ECB alors E gauche AC \n\n donc si ACB < ECB alors E droite AC", + "baseline": 235, + "textAlign": "left", + "verticalAlign": "top" + }, + { + "type": "line", + "version": 368, + "versionNonce": 1765724690, + "isDeleted": false, + "id": "Xyu-nzB2Vlr-N4B2T6miX", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": 335.22943757514014, + "y": 1868.4958167509085, + "strokeColor": "#000000", + "backgroundColor": "#15aabf", + "width": 168, + "height": 415, + "seed": 472230606, + "groupIds": [], + "strokeSharpness": "round", + "boundElementIds": [], + "startBinding": null, + "endBinding": null, + "points": [ + [ + 0, + 0 + ], + [ + -168, + 415 + ] + ], + "lastCommittedPoint": null + }, + { + "type": "arrow", + "version": 827, + "versionNonce": 1818005518, + "isDeleted": false, + "id": "4x2zL087Q705RFC2hW6RX", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": -23.499999999999886, + "y": 1866.5, + "strokeColor": "#000000", + "backgroundColor": "#e64980", + "width": 565.0255250514458, + "height": 0.5358363367562333, + "seed": 1652142354, + "groupIds": [], + "strokeSharpness": "round", + "boundElementIds": [], + "startBinding": null, + "endBinding": { + "elementId": "hZl_LqQm4EijGZxzQo_f_", + "focus": -2.2146010431405947, + "gap": 13.964163663243653 + }, + "points": [ + [ + 0, + 0 + ], + [ + 565.0255250514458, + -0.5358363367562333 + ] + ], + "lastCommittedPoint": null + }, + { + "type": "arrow", + "version": 240, + "versionNonce": 25083858, + "isDeleted": false, + "id": "fmh4B_TQLeaL5ax6Ubvtv", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": -18.499999999999886, + "y": 1862.5, + "strokeColor": "#000000", + "backgroundColor": "#e64980", + "width": 9, + "height": 432, + "seed": 1610817806, + "groupIds": [], + "strokeSharpness": "round", + "boundElementIds": [], + "startBinding": null, + "endBinding": null, + "points": [ + [ + 0, + 0 + ], + [ + -9, + 432 + ] + ], + "lastCommittedPoint": null + }, + { + "type": "text", + "version": 278, + "versionNonce": 1789615694, + "isDeleted": false, + "id": "hZl_LqQm4EijGZxzQo_f_", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": 521.5000000000001, + "y": 1829, + "strokeColor": "#000000", + "backgroundColor": "#15aabf", + "width": 10, + "height": 23, + "seed": 1845870290, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [ + "4x2zL087Q705RFC2hW6RX" + ], + "fontSize": 20, + "fontFamily": 2, + "text": "x", + "baseline": 19, + "textAlign": "left", + "verticalAlign": "top" + }, + { + "type": "text", + "version": 233, + "versionNonce": 1861940626, + "isDeleted": false, + "id": "hOho1k8r6Xq0ZFeeAAQpK", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": -59.499999999999886, + "y": 2266, + "strokeColor": "#000000", + "backgroundColor": "#15aabf", + "width": 10, + "height": 23, + "seed": 760729422, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [], + "fontSize": 20, + "fontFamily": 2, + "text": "y", + "baseline": 19, + "textAlign": "left", + "verticalAlign": "top" + }, + { + "type": "text", + "version": 217, + "versionNonce": 1250321550, + "isDeleted": false, + "id": "mXvWkLb8jpq_x2lAv7DuU", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": 336.5000000000001, + "y": 1835, + "strokeColor": "#000000", + "backgroundColor": "transparent", + "width": 13, + "height": 23, + "seed": 1347032210, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [], + "fontSize": 20, + "fontFamily": 2, + "text": "A", + "baseline": 19, + "textAlign": "left", + "verticalAlign": "top" + }, + { + "type": "text", + "version": 250, + "versionNonce": 1391096658, + "isDeleted": false, + "id": "dpomCdldOHcaZK_IJtmCW", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": 140.5000000000001, + "y": 2286, + "strokeColor": "#000000", + "backgroundColor": "transparent", + "width": 13, + "height": 23, + "seed": 1081914766, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [], + "fontSize": 20, + "fontFamily": 2, + "text": "B", + "baseline": 19, + "textAlign": "left", + "verticalAlign": "top" + }, + { + "type": "text", + "version": 248, + "versionNonce": 2108072654, + "isDeleted": false, + "id": "YOrahu7AVafz927uvI3G-", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": 513.5000000000001, + "y": 2284, + "strokeColor": "#000000", + "backgroundColor": "transparent", + "width": 14, + "height": 23, + "seed": 452833874, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [], + "fontSize": 20, + "fontFamily": 2, + "text": "C", + "baseline": 19, + "textAlign": "left", + "verticalAlign": "top" + }, + { + "type": "text", + "version": 245, + "versionNonce": 262420754, + "isDeleted": false, + "id": "ALQOmqEdQoubk3wbPT5Uy", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": 372.5000000000001, + "y": 2192, + "strokeColor": "#000000", + "backgroundColor": "transparent", + "width": 14, + "height": 23, + "seed": 1655362510, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [], + "fontSize": 20, + "fontFamily": 2, + "text": "D", + "baseline": 19, + "textAlign": "left", + "verticalAlign": "top" + }, + { + "type": "text", + "version": 245, + "versionNonce": 1453660430, + "isDeleted": false, + "id": "jrRiDD4QQVuOu6O9Aa33b", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": 524.5000000000001, + "y": 2192, + "strokeColor": "#000000", + "backgroundColor": "transparent", + "width": 13, + "height": 23, + "seed": 284661778, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [], + "fontSize": 20, + "fontFamily": 2, + "text": "E", + "baseline": 19, + "textAlign": "left", + "verticalAlign": "top" + }, + { + "type": "line", + "version": 391, + "versionNonce": 614418130, + "isDeleted": false, + "id": "P-2aqxdu_napPEqgBTHs3", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": 502.2294375751402, + "y": 2280.4958167509085, + "strokeColor": "#000000", + "backgroundColor": "#15aabf", + "width": 334, + "height": 6, + "seed": 1308305934, + "groupIds": [], + "strokeSharpness": "round", + "boundElementIds": [], + "startBinding": null, + "endBinding": null, + "points": [ + [ + 0, + 0 + ], + [ + -334, + 6 + ] + ], + "lastCommittedPoint": null + }, + { + "type": "line", + "version": 414, + "versionNonce": 1828374350, + "isDeleted": false, + "id": "LGD9rSJ2tFZXnWIQgCBw5", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": 335.22943757514014, + "y": 1869.4958167509085, + "strokeColor": "#000000", + "backgroundColor": "#15aabf", + "width": 168, + "height": 413, + "seed": 36619730, + "groupIds": [], + "strokeSharpness": "round", + "boundElementIds": [], + "startBinding": null, + "endBinding": null, + "points": [ + [ + 0, + 0 + ], + [ + 168, + 413 + ] + ], + "lastCommittedPoint": null + }, + { + "type": "rectangle", + "version": 712, + "versionNonce": 16821646, + "isDeleted": false, + "id": "ytzzgCBpo7JZ6q7p87G0p", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": 750.5000000000001, + "y": 2121.5, + "strokeColor": "#862e9c", + "backgroundColor": "#be4bdb", + "width": 44, + "height": 9, + "seed": 666516370, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [] + }, + { + "type": "rectangle", + "version": 775, + "versionNonce": 248855122, + "isDeleted": false, + "id": "f-VoFdGqLwTIFxnlcv7WN", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": 657.5000000000001, + "y": 2075, + "strokeColor": "#862e9c", + "backgroundColor": "#be4bdb", + "width": 44, + "height": 9, + "seed": 1959165582, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [] + }, + { + "type": "rectangle", + "version": 826, + "versionNonce": 1609550798, + "isDeleted": false, + "id": "TNu7k8uY0Dz55dca4nqr3", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": 680.5000000000001, + "y": 2028, + "strokeColor": "#e67700", + "backgroundColor": "#fd7e14", + "width": 44, + "height": 9, + "seed": 2144401746, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [] + }, + { + "type": "rectangle", + "version": 891, + "versionNonce": 815669266, + "isDeleted": false, + "id": "Nhd5WSUVdIlb2ZAqAgjEX", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": 588.5000000000001, + "y": 1977, + "strokeColor": "#e67700", + "backgroundColor": "#fd7e14", + "width": 44, + "height": 9, + "seed": 1557363918, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [] + }, + { + "type": "rectangle", + "version": 846, + "versionNonce": 502040338, + "isDeleted": false, + "id": "7FzdPqytlVLvjk04Ou-qb", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": 678.0000000000001, + "y": 2122.5, + "strokeColor": "#e67700", + "backgroundColor": "#fd7e14", + "width": 44, + "height": 9, + "seed": 1558160846, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [] + }, + { + "type": "rectangle", + "version": 949, + "versionNonce": 1783671566, + "isDeleted": false, + "id": "7hB6o7WfM7tDrdI2sq0KG", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": 584.0000000000001, + "y": 2074.5, + "strokeColor": "#e67700", + "backgroundColor": "#fd7e14", + "width": 44, + "height": 9, + "seed": 514909714, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [] + }, + { + "type": "rectangle", + "version": 1207, + "versionNonce": 1635740306, + "isDeleted": false, + "id": "-q3Ymgs7CcdxS8Wqy62Tj", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": 654.5000000000001, + "y": 1974, + "strokeColor": "#fc03f0", + "backgroundColor": "#e64980", + "width": 44, + "height": 9, + "seed": 1578043982, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [] + }, + { + "type": "rectangle", + "version": 1051, + "versionNonce": 141541262, + "isDeleted": false, + "id": "n3ZcPTRYdaw9kw0zsF10e", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": 752.5000000000001, + "y": 2021, + "strokeColor": "#fc03f0", + "backgroundColor": "#e64980", + "width": 44, + "height": 9, + "seed": 368576914, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [] + }, + { + "type": "line", + "version": 83, + "versionNonce": 1192773714, + "isDeleted": false, + "id": "_9jiWaXu5ZF9keRhBhf27", + "fillStyle": "hachure", + "strokeWidth": 2, + "strokeStyle": "solid", + "roughness": 0, + "opacity": 100, + "angle": 0, + "x": 365.5000000000002, + "y": 2186.5, + "strokeColor": "#000000", + "backgroundColor": "#e64980", + "width": 19, + "height": 5, + "seed": 1821675662, + "groupIds": [], + "strokeSharpness": "round", + "boundElementIds": [], + "startBinding": null, + "endBinding": null, + "points": [ + [ + 0, + 0 + ], + [ + 19, + 5 + ] + ], + "lastCommittedPoint": null + }, + { + "type": "line", + "version": 91, + "versionNonce": 195861966, + "isDeleted": false, + "id": "6ymKoH1NMlbr8y9-ESO1i", + "fillStyle": "hachure", + "strokeWidth": 2, + "strokeStyle": "solid", + "roughness": 0, + "opacity": 100, + "angle": 0, + "x": 378.5000000000002, + "y": 2183.5, + "strokeColor": "#000000", + "backgroundColor": "#e64980", + "width": 5, + "height": 10, + "seed": 1092945746, + "groupIds": [], + "strokeSharpness": "round", + "boundElementIds": [], + "startBinding": null, + "endBinding": null, + "points": [ + [ + 0, + 0 + ], + [ + -5, + 10 + ] + ], + "lastCommittedPoint": null + }, + { + "type": "line", + "version": 88, + "versionNonce": 1229942290, + "isDeleted": false, + "id": "Z4SlEVSaBTdximuVsNd7Z", + "fillStyle": "hachure", + "strokeWidth": 2, + "strokeStyle": "solid", + "roughness": 0, + "opacity": 100, + "angle": 0, + "x": 514.5000000000002, + "y": 2182.5, + "strokeColor": "#000000", + "backgroundColor": "#e64980", + "width": 6, + "height": 12, + "seed": 353324750, + "groupIds": [], + "strokeSharpness": "round", + "boundElementIds": [], + "startBinding": null, + "endBinding": null, + "points": [ + [ + 0, + 0 + ], + [ + 6, + 12 + ] + ], + "lastCommittedPoint": null + }, + { + "type": "line", + "version": 83, + "versionNonce": 1211347982, + "isDeleted": false, + "id": "aCwrfZ17JbUr-Xuo4K0ix", + "fillStyle": "hachure", + "strokeWidth": 2, + "strokeStyle": "solid", + "roughness": 0, + "opacity": 100, + "angle": 0, + "x": 525.5000000000002, + "y": 2189.5, + "strokeColor": "#000000", + "backgroundColor": "#e64980", + "width": 12, + "height": 6, + "seed": 23874834, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [], + "startBinding": null, + "endBinding": null, + "points": [ + [ + 0, + 0 + ], + [ + -12, + 6 + ] + ], + "lastCommittedPoint": null + }, + { + "type": "text", + "version": 153, + "versionNonce": 1149687058, + "isDeleted": false, + "id": "jcVGMRIKx3pM4skLz3det", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 0, + "opacity": 100, + "angle": 0, + "x": -20.499999999999773, + "y": 1785, + "strokeColor": "#000000", + "backgroundColor": "#7950f2", + "width": 951, + "height": 34, + "seed": 396523470, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [], + "fontSize": 28, + "fontFamily": 3, + "text": "Pour savoir où se trouve D et E par rapport à la droite AC", + "baseline": 27, + "textAlign": "left", + "verticalAlign": "top" + }, + { + "type": "line", + "version": 87, + "versionNonce": 1271545102, + "isDeleted": false, + "id": "OxQeYRy9MI9Gfywh_o-hu", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "dotted", + "roughness": 0, + "opacity": 100, + "angle": 0, + "x": 502.0000000000001, + "y": 2282, + "strokeColor": "#000000", + "backgroundColor": "#7950f2", + "width": 126, + "height": 93, + "seed": 1412908750, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [], + "startBinding": null, + "endBinding": null, + "points": [ + [ + 0, + 0 + ], + [ + -126, + -93 + ] + ], + "lastCommittedPoint": null + }, + { + "type": "line", + "version": 79, + "versionNonce": 1523475154, + "isDeleted": false, + "id": "N4jvf7-cntVuhJjFAlYSX", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "dotted", + "roughness": 0, + "opacity": 100, + "angle": 0, + "x": 502.0000000000001, + "y": 2281, + "strokeColor": "#000000", + "backgroundColor": "#7950f2", + "width": 16, + "height": 89, + "seed": 137783822, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [], + "startBinding": null, + "endBinding": null, + "points": [ + [ + 0, + 0 + ], + [ + 16, + -89 + ] + ], + "lastCommittedPoint": null + }, + { + "type": "line", + "version": 96, + "versionNonce": 1239116622, + "isDeleted": false, + "id": "Bb0qT2qPl4Ga83nayP7WB", + "fillStyle": "hachure", + "strokeWidth": 2, + "strokeStyle": "solid", + "roughness": 0, + "opacity": 100, + "angle": 0, + "x": 442.0000000000001, + "y": 2282, + "strokeColor": "#862e9c", + "backgroundColor": "#7950f2", + "width": 67, + "height": 40, + "seed": 1025457810, + "groupIds": [], + "strokeSharpness": "round", + "boundElementIds": [], + "startBinding": null, + "endBinding": null, + "points": [ + [ + 0, + 0 + ], + [ + 25, + -33 + ], + [ + 67, + -40 + ] + ], + "lastCommittedPoint": null + }, + { + "type": "line", + "version": 108, + "versionNonce": 1683896466, + "isDeleted": false, + "id": "h70u2eWNXHKOWiWZTUPyc", + "fillStyle": "hachure", + "strokeWidth": 2, + "strokeStyle": "solid", + "roughness": 0, + "opacity": 100, + "angle": 0, + "x": 404.0000000000001, + "y": 2285, + "strokeColor": "#e67700", + "backgroundColor": "#7950f2", + "width": 63, + "height": 90, + "seed": 756967378, + "groupIds": [], + "strokeSharpness": "round", + "boundElementIds": [], + "startBinding": null, + "endBinding": null, + "points": [ + [ + 0, + 0 + ], + [ + 20, + -57 + ], + [ + 63, + -90 + ] + ], + "lastCommittedPoint": null + }, + { + "type": "line", + "version": 114, + "versionNonce": 1110233486, + "isDeleted": false, + "id": "C0Q3pWchWAm5S2jGGIQI-", + "fillStyle": "hachure", + "strokeWidth": 2, + "strokeStyle": "solid", + "roughness": 0, + "opacity": 100, + "angle": 0, + "x": 363.0000000000001, + "y": 2284, + "strokeColor": "#fc03f0", + "backgroundColor": "#fa5252", + "width": 35, + "height": 82, + "seed": 146395214, + "groupIds": [], + "strokeSharpness": "round", + "boundElementIds": [], + "startBinding": null, + "endBinding": null, + "points": [ + [ + 0, + 0 + ], + [ + -1, + -51 + ], + [ + 34, + -82 + ] + ], + "lastCommittedPoint": null + }, + { + "type": "text", + "version": 62, + "versionNonce": 1626166866, + "isDeleted": false, + "id": "Abon2axUOU3eqwFPODy1p", + "fillStyle": "hachure", + "strokeWidth": 2, + "strokeStyle": "solid", + "roughness": 0, + "opacity": 100, + "angle": 0, + "x": 286.0000000000001, + "y": 2226.5, + "strokeColor": "#fc03f0", + "backgroundColor": "#fa5252", + "width": 35, + "height": 24, + "seed": 1579346642, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [], + "fontSize": 20, + "fontFamily": 3, + "text": "DCB", + "baseline": 19, + "textAlign": "left", + "verticalAlign": "top" + }, + { + "type": "text", + "version": 58, + "versionNonce": 1878486990, + "isDeleted": false, + "id": "BIZgG_LrjKb7PA3NHmvwK", + "fillStyle": "hachure", + "strokeWidth": 2, + "strokeStyle": "solid", + "roughness": 0, + "opacity": 100, + "angle": 0, + "x": 393.0000000000001, + "y": 2138.5, + "strokeColor": "#e67700", + "backgroundColor": "#fa5252", + "width": 35, + "height": 24, + "seed": 1158675026, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [], + "fontSize": 20, + "fontFamily": 3, + "text": "ACB", + "baseline": 19, + "textAlign": "left", + "verticalAlign": "top" + }, + { + "type": "text", + "version": 76, + "versionNonce": 1095941138, + "isDeleted": false, + "id": "yFpUksVCAM2bEfXSK0dv3", + "fillStyle": "hachure", + "strokeWidth": 2, + "strokeStyle": "solid", + "roughness": 0, + "opacity": 100, + "angle": 0, + "x": 540.0000000000001, + "y": 2250.5, + "strokeColor": "#862e9c", + "backgroundColor": "#fa5252", + "width": 35, + "height": 24, + "seed": 1689615378, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [], + "fontSize": 20, + "fontFamily": 3, + "text": "ECB", + "baseline": 19, + "textAlign": "left", + "verticalAlign": "top" + }, + { + "type": "line", + "version": 600, + "versionNonce": 1092400274, + "isDeleted": false, + "id": "1lYpkk-GEiJP1kGRxw7V1", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": 60.02559110948647, + "y": 2537.781811335462, + "strokeColor": "#000000", + "backgroundColor": "#15aabf", + "width": 195.5288300066182, + "height": 433.7499825713992, + "seed": 666293966, + "groupIds": [], + "strokeSharpness": "round", + "boundElementIds": [], + "startBinding": null, + "endBinding": null, + "points": [ + [ + 0, + 0 + ], + [ + -195.5288300066182, + 433.7499825713992 + ] + ], + "lastCommittedPoint": null + }, + { + "type": "text", + "version": 425, + "versionNonce": 1940133262, + "isDeleted": false, + "id": "kttpBsNlaowuxkCkAH-eR", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": -193.81973374800486, + "y": 2972.7488249084, + "strokeColor": "#000000", + "backgroundColor": "transparent", + "width": 25.680914456830433, + "height": 45.43546403900768, + "seed": 1960920338, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [], + "fontSize": 39.50909916435457, + "fontFamily": 2, + "text": "B", + "baseline": 36.43546403900768, + "textAlign": "left", + "verticalAlign": "top" + }, + { + "type": "text", + "version": 423, + "versionNonce": 410800722, + "isDeleted": false, + "id": "zZ4xRqHEYEwYXEzxs8Hvg", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": 543.0249656672073, + "y": 2968.797914991953, + "strokeColor": "#000000", + "backgroundColor": "transparent", + "width": 27.65636941504817, + "height": 45.43546403900768, + "seed": 948882702, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [], + "fontSize": 39.50909916435457, + "fontFamily": 2, + "text": "C", + "baseline": 36.43546403900768, + "textAlign": "left", + "verticalAlign": "top" + }, + { + "type": "text", + "version": 420, + "versionNonce": 2045129678, + "isDeleted": false, + "id": "iRhckmZtSjFBsg9_Yy2zb", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": 264.4858165585073, + "y": 2787.056058835932, + "strokeColor": "#000000", + "backgroundColor": "transparent", + "width": 27.65636941504817, + "height": 45.43546403900768, + "seed": 1985663698, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [], + "fontSize": 39.50909916435457, + "fontFamily": 2, + "text": "D", + "baseline": 36.43546403900768, + "textAlign": "left", + "verticalAlign": "top" + }, + { + "type": "text", + "version": 420, + "versionNonce": 631388178, + "isDeleted": false, + "id": "MbzkXIdMEGnU-OpBxdL7l", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": 564.7549702076016, + "y": 2787.056058835932, + "strokeColor": "#000000", + "backgroundColor": "transparent", + "width": 25.680914456830433, + "height": 45.43546403900768, + "seed": 1334704974, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [], + "fontSize": 39.50909916435457, + "fontFamily": 2, + "text": "E", + "baseline": 36.43546403900768, + "textAlign": "left", + "verticalAlign": "top" + }, + { + "type": "line", + "version": 569, + "versionNonce": 650807822, + "isDeleted": false, + "id": "pzybio81jm5s_iFmxeQ68", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": 520.8727605045302, + "y": 2962.837600678678, + "strokeColor": "#000000", + "backgroundColor": "#15aabf", + "width": 659.8019560447202, + "height": 11.852729749306356, + "seed": 886876306, + "groupIds": [], + "strokeSharpness": "round", + "boundElementIds": [], + "startBinding": null, + "endBinding": null, + "points": [ + [ + 0, + 0 + ], + [ + -659.8019560447202, + 11.852729749306356 + ] + ], + "lastCommittedPoint": null + }, + { + "type": "line", + "version": 653, + "versionNonce": 1753572818, + "isDeleted": false, + "id": "o-bNqIuUZaaXvzT_TTzMr", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": 344.76037745858105, + "y": 2534.2129740220976, + "strokeColor": "#000000", + "backgroundColor": "#15aabf", + "width": 178.04278234169144, + "height": 431.9732068601727, + "seed": 319644046, + "groupIds": [], + "strokeSharpness": "round", + "boundElementIds": [], + "startBinding": null, + "endBinding": null, + "points": [ + [ + 0, + 0 + ], + [ + 178.04278234169144, + 431.9732068601727 + ] + ], + "lastCommittedPoint": null + }, + { + "type": "line", + "version": 258, + "versionNonce": 1498028110, + "isDeleted": false, + "id": "GjqSTa2l6Q4OTOynFK_hZ", + "fillStyle": "hachure", + "strokeWidth": 2, + "strokeStyle": "solid", + "roughness": 0, + "opacity": 100, + "angle": 0, + "x": 250.6576318509828, + "y": 2776.1910565657345, + "strokeColor": "#000000", + "backgroundColor": "#e64980", + "width": 37.533644206136806, + "height": 9.877274791088643, + "seed": 2015217234, + "groupIds": [], + "strokeSharpness": "round", + "boundElementIds": [], + "startBinding": null, + "endBinding": null, + "points": [ + [ + 0, + 0 + ], + [ + 37.533644206136806, + 9.877274791088643 + ] + ], + "lastCommittedPoint": null + }, + { + "type": "line", + "version": 267, + "versionNonce": 1245502354, + "isDeleted": false, + "id": "YPzbiM1wsQG3njUwBXzg7", + "fillStyle": "hachure", + "strokeWidth": 2, + "strokeStyle": "solid", + "roughness": 0, + "opacity": 100, + "angle": 0, + "x": 276.3385463078144, + "y": 2770.2646916910758, + "strokeColor": "#000000", + "backgroundColor": "#e64980", + "width": 9.877274791088643, + "height": 19.754549582177287, + "seed": 1984298958, + "groupIds": [], + "strokeSharpness": "round", + "boundElementIds": [], + "startBinding": null, + "endBinding": null, + "points": [ + [ + 0, + 0 + ], + [ + -9.877274791088643, + 19.754549582177287 + ] + ], + "lastCommittedPoint": null + }, + { + "type": "line", + "version": 263, + "versionNonce": 691920526, + "isDeleted": false, + "id": "nwua_Pjfu52yOet_UEZFO", + "fillStyle": "hachure", + "strokeWidth": 2, + "strokeStyle": "solid", + "roughness": 0, + "opacity": 100, + "angle": 0, + "x": 545.0004206254257, + "y": 2768.2892367328554, + "strokeColor": "#000000", + "backgroundColor": "#e64980", + "width": 11.852729749306356, + "height": 23.70545949861271, + "seed": 2029333522, + "groupIds": [], + "strokeSharpness": "round", + "boundElementIds": [], + "startBinding": null, + "endBinding": null, + "points": [ + [ + 0, + 0 + ], + [ + 11.852729749306356, + 23.70545949861271 + ] + ], + "lastCommittedPoint": null + }, + { + "type": "line", + "version": 258, + "versionNonce": 2030016850, + "isDeleted": false, + "id": "nsQmORZ0hM-iY0yoO1ZMc", + "fillStyle": "hachure", + "strokeWidth": 2, + "strokeStyle": "solid", + "roughness": 0, + "opacity": 100, + "angle": 0, + "x": 566.7304251658196, + "y": 2782.1174214403795, + "strokeColor": "#000000", + "backgroundColor": "#e64980", + "width": 23.70545949861271, + "height": 11.852729749306356, + "seed": 491836942, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [], + "startBinding": null, + "endBinding": null, + "points": [ + [ + 0, + 0 + ], + [ + -23.70545949861271, + 11.852729749306356 + ] + ], + "lastCommittedPoint": null + }, + { + "type": "line", + "version": 264, + "versionNonce": 1264508110, + "isDeleted": false, + "id": "IGKuwlV4W6Kv41tUn7tlK", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "dotted", + "roughness": 0, + "opacity": 100, + "angle": 0, + "x": 520.3072336477036, + "y": 2964.8470050755213, + "strokeColor": "#000000", + "backgroundColor": "#7950f2", + "width": 248.90732473543343, + "height": 183.71731111424856, + "seed": 1029298642, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [], + "startBinding": null, + "endBinding": null, + "points": [ + [ + 0, + 0 + ], + [ + -248.90732473543343, + -183.71731111424856 + ] + ], + "lastCommittedPoint": null + }, + { + "type": "line", + "version": 254, + "versionNonce": 1143250706, + "isDeleted": false, + "id": "EV8IM3UJzVRUZoEtEob8f", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "dotted", + "roughness": 0, + "opacity": 100, + "angle": 0, + "x": 520.3072336477035, + "y": 2962.871550117302, + "strokeColor": "#000000", + "backgroundColor": "#7950f2", + "width": 31.6072793314836, + "height": 175.81549128137755, + "seed": 1093067854, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [], + "startBinding": null, + "endBinding": null, + "points": [ + [ + 0, + 0 + ], + [ + 31.6072793314836, + -175.81549128137755 + ] + ], + "lastCommittedPoint": null + }, + { + "type": "line", + "version": 271, + "versionNonce": 1967526670, + "isDeleted": false, + "id": "7c2gp6nA9cPY51spS92rt", + "fillStyle": "hachure", + "strokeWidth": 2, + "strokeStyle": "solid", + "roughness": 0, + "opacity": 100, + "angle": 0, + "x": 401.77993615463936, + "y": 2925.8288067468106, + "strokeColor": "#862e9c", + "backgroundColor": "#7950f2", + "width": 132.35548220058763, + "height": 79.01819832870915, + "seed": 1952632722, + "groupIds": [], + "strokeSharpness": "round", + "boundElementIds": [], + "startBinding": null, + "endBinding": null, + "points": [ + [ + 0, + 39.01819832870915 + ], + [ + 49.38637395544311, + -26.17181529247583 + ], + [ + 132.35548220058763, + -40 + ] + ], + "lastCommittedPoint": null + }, + { + "type": "line", + "version": 284, + "versionNonce": 2015554770, + "isDeleted": false, + "id": "Z36pFjFzGm-9Rk15AnsQF", + "fillStyle": "hachure", + "strokeWidth": 2, + "strokeStyle": "solid", + "roughness": 0, + "opacity": 100, + "angle": 0, + "x": 326.71264774236613, + "y": 2882.982423710585, + "strokeColor": "#e67700", + "backgroundColor": "#7950f2", + "width": 124.45366236771672, + "height": 177.79094623959534, + "seed": 329329294, + "groupIds": [], + "strokeSharpness": "round", + "boundElementIds": [], + "startBinding": null, + "endBinding": null, + "points": [ + [ + 0, + 87.79094623959533 + ], + [ + 39.509099164354566, + -24.809986378815044 + ], + [ + 124.45366236771672, + -90 + ] + ], + "lastCommittedPoint": null + }, + { + "type": "line", + "version": 292, + "versionNonce": 1097630030, + "isDeleted": false, + "id": "dcCCgbsMhDPzAqvSuhDTo", + "fillStyle": "hachure", + "strokeWidth": 2, + "strokeStyle": "solid", + "roughness": 0, + "opacity": 100, + "angle": 0, + "x": 244.74353949722172, + "y": 2888.8106084180936, + "strokeColor": "#fc03f0", + "backgroundColor": "#fa5252", + "width": 69.1409235376204, + "height": 161.9873065738535, + "seed": 1380388178, + "groupIds": [], + "strokeSharpness": "round", + "boundElementIds": [], + "startBinding": null, + "endBinding": null, + "points": [ + [ + 0.9754549582177268, + 79.98730657385349 + ], + [ + -1, + -20.76089629525049 + ], + [ + 68.1409235376204, + -82 + ] + ], + "lastCommittedPoint": null + }, + { + "type": "line", + "version": 160, + "versionNonce": 982614674, + "isDeleted": false, + "id": "nFYzid4XOP0gjl6lOk9HC", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "dotted", + "roughness": 0, + "opacity": 100, + "angle": 0, + "x": -138.3927865867725, + "y": 2974.413090219263, + "strokeColor": "#000000", + "backgroundColor": "#fa5252", + "width": 411.2892086728788, + "height": 192.33818876172867, + "seed": 1702011090, + "groupIds": [], + "strokeSharpness": "round", + "boundElementIds": [], + "startBinding": null, + "endBinding": null, + "points": [ + [ + 0, + 0 + ], + [ + 411.2892086728788, + -192.33818876172867 + ] + ], + "lastCommittedPoint": null + }, + { + "type": "line", + "version": 189, + "versionNonce": 321595278, + "isDeleted": false, + "id": "HbbQbVh1depveAOhUsXwR", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "dotted", + "roughness": 0, + "opacity": 100, + "angle": 0, + "x": -138.3927865867725, + "y": 2974.4130902192646, + "strokeColor": "#000000", + "backgroundColor": "#fa5252", + "width": 696.7723064575831, + "height": 188.70916633226216, + "seed": 145378386, + "groupIds": [], + "strokeSharpness": "round", + "boundElementIds": [], + "startBinding": null, + "endBinding": null, + "points": [ + [ + 0, + 0 + ], + [ + 696.7723064575831, + -188.70916633226216 + ] + ], + "lastCommittedPoint": null + }, + { + "type": "line", + "version": 192, + "versionNonce": 1713856594, + "isDeleted": false, + "id": "FpbrYBLEClAqfIlr_Yszo", + "fillStyle": "hachure", + "strokeWidth": 2, + "strokeStyle": "solid", + "roughness": 0, + "opacity": 100, + "angle": 0, + "x": -50.21549500370719, + "y": 2956.123069048951, + "strokeColor": "#364fc7", + "backgroundColor": "#fa5252", + "width": 49.596639869376574, + "height": 112.49969531346393, + "seed": 2052744338, + "groupIds": [], + "strokeSharpness": "round", + "boundElementIds": [], + "startBinding": null, + "endBinding": null, + "points": [ + [ + 8.596639869376576, + 19.49969531346394 + ], + [ + 1.3385950104434206, + -48.242056703245524 + ], + [ + -41, + -93 + ] + ], + "lastCommittedPoint": null + }, + { + "type": "line", + "version": 148, + "versionNonce": 2059077070, + "isDeleted": false, + "id": "8p1SjabCn5CO2AiCh6zSd", + "fillStyle": "hachure", + "strokeWidth": 2, + "strokeStyle": "solid", + "roughness": 0, + "opacity": 100, + "angle": 0, + "x": 20.86485202344579, + "y": 2963.622967486778, + "strokeColor": "#c92a2a", + "backgroundColor": "#fa5252", + "width": 18.14511214733288, + "height": 76.20947101879817, + "seed": 1949684110, + "groupIds": [], + "strokeSharpness": "round", + "boundElementIds": [], + "startBinding": null, + "endBinding": null, + "points": [ + [ + 0.4193482863110509, + 13.209471018798169 + ], + [ + 16.14511214733288, + -27.919449848489723 + ], + [ + -2, + -63 + ] + ], + "lastCommittedPoint": null + }, + { + "type": "line", + "version": 137, + "versionNonce": 1723565586, + "isDeleted": false, + "id": "imqATRTLi2-Yu5fbWGnEk", + "fillStyle": "hachure", + "strokeWidth": 2, + "strokeStyle": "solid", + "roughness": 0, + "opacity": 100, + "angle": 0, + "x": 131.68715419166563, + "y": 2960.251989916238, + "strokeColor": "#5c940d", + "backgroundColor": "#fa5252", + "width": 16.93543800417736, + "height": 67.74175201670944, + "seed": 112655182, + "groupIds": [], + "strokeSharpness": "round", + "boundElementIds": [], + "startBinding": null, + "endBinding": null, + "points": [ + [ + 2.096741431555254, + 11.741752016709443 + ], + [ + 6.935438004177361, + -26.967820564267395 + ], + [ + -10, + -56 + ] + ], + "lastCommittedPoint": null + }, + { + "type": "text", + "version": 483, + "versionNonce": 1124130585, + "isDeleted": false, + "id": "ex5bisNpNtMYyeU5NB30U", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": 193.17181529247603, + "y": 2483.2822679804967, + "strokeColor": "#000000", + "backgroundColor": "transparent", + "width": 26, + "height": 45, + "seed": 471717838, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElementIds": [], + "fontSize": 39.50909916435457, + "fontFamily": 2, + "text": "A", + "baseline": 36, + "textAlign": "left", + "verticalAlign": "top" + } + ], + "appState": { + "viewBackgroundColor": "#ffffff", + "gridSize": null + } +} \ No newline at end of file diff --git a/SRC/Sons.aup b/SRC/Sons.aup new file mode 100644 index 0000000..23db5ce --- /dev/null +++ b/SRC/Sons.aup @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SRC/Sons_data/e00/d00/e000035d.au b/SRC/Sons_data/e00/d00/e000035d.au new file mode 100644 index 0000000..b3a2da5 Binary files /dev/null and b/SRC/Sons_data/e00/d00/e000035d.au differ diff --git a/SRC/Sons_data/e00/d00/e00004a4.au b/SRC/Sons_data/e00/d00/e00004a4.au new file mode 100644 index 0000000..733cee2 Binary files /dev/null and b/SRC/Sons_data/e00/d00/e00004a4.au differ diff --git a/SRC/Sons_data/e00/d00/e0000c46.au b/SRC/Sons_data/e00/d00/e0000c46.au new file mode 100644 index 0000000..ab4e94d Binary files /dev/null and b/SRC/Sons_data/e00/d00/e0000c46.au differ diff --git a/SRC/images.jpeg b/SRC/images.jpeg new file mode 100644 index 0000000..5eb9957 Binary files /dev/null and b/SRC/images.jpeg differ diff --git a/SRC/mechant_SRC.png b/SRC/mechant_SRC.png new file mode 100644 index 0000000..183cbba Binary files /dev/null and b/SRC/mechant_SRC.png differ diff --git a/SRC/misile_SRC.png b/SRC/misile_SRC.png new file mode 100644 index 0000000..8813daa Binary files /dev/null and b/SRC/misile_SRC.png differ diff --git a/SRC/redfighter0005_SRC.png b/SRC/redfighter0005_SRC.png new file mode 100644 index 0000000..e9988a5 Binary files /dev/null and b/SRC/redfighter0005_SRC.png differ diff --git a/SRC/vaiseau_enemi.png b/SRC/vaiseau_enemi.png new file mode 100644 index 0000000..a949d0e Binary files /dev/null and b/SRC/vaiseau_enemi.png differ diff --git a/Ship.pde b/Ship.pde new file mode 100644 index 0000000..3ad863a --- /dev/null +++ b/Ship.pde @@ -0,0 +1,73 @@ +//ceci est TOUT le code qui concerne un Ship +class Ship { + + int x,y,pv; + PImage ship_explo; + boolean show; + boolean collision = false; + int NUMEROXEPLO = 0; + + Ship(int xt,int yt, int pvt, PImage imaget){ + x = xt; + y = yt; + ship_explo = imaget; + show = true; + pv = pvt; + } + + void apparaitre() { + + //affiche l'anime de explosion : + if ( !show && NUMEROXEPLO<50 ) { + + // Ou Methode avec un if : + if ( String.valueOf(NUMEROXEPLO).length()==1 ) ship_explo = loadImage("data/images/explosion/explosion000"+NUMEROXEPLO+".png"); + else ship_explo = loadImage("data/images/explosion/explosion00"+NUMEROXEPLO+".png"); + + NUMEROXEPLO += 1; + } + + if (NUMEROXEPLO == 1 && son) sonExposion.play(); + + //Affiche le ship ou explosion s'il n'est pas détruis (l'anime de explosion est pas finie) + if (NUMEROXEPLO < 50) image(ship_explo, x, y); + + } + + void set_position(int xn,int yn) { + if (show) { + x = xn; + y = yn; + } + } + + void verifiercollisions() { + + // avec un mechant: + if (collision) { + + // on luis enleve un point de vie + pv = pv - 1; + collision = false; + + //le vaiseau disparait si il a plus de vie : + if ( pv == 0 ) { + show = false; + } + } + + } + + + void affiche_et_mets_a_jour_le_ship(int xn,int yn) { + if (show) { + set_position(xn,yn); + verifiercollisions(); + + } + //Jusqu'à la fin de l'animation de l'explosion + apparaitre(); + + } + +} diff --git a/data/3DLETBRK-48.vlw b/data/3DLETBRK-48.vlw new file mode 100644 index 0000000..7569a1a Binary files /dev/null and b/data/3DLETBRK-48.vlw differ diff --git a/data/images/Thumbs.db b/data/images/Thumbs.db new file mode 100644 index 0000000..4c72dab Binary files /dev/null and b/data/images/Thumbs.db differ diff --git a/data/images/Win_game.png b/data/images/Win_game.png new file mode 100644 index 0000000..a872b5e Binary files /dev/null and b/data/images/Win_game.png differ diff --git a/data/images/explosion/explosion0000.png b/data/images/explosion/explosion0000.png new file mode 100644 index 0000000..f78426b Binary files /dev/null and b/data/images/explosion/explosion0000.png differ diff --git a/data/images/explosion/explosion0001.png b/data/images/explosion/explosion0001.png new file mode 100644 index 0000000..7603258 Binary files /dev/null and b/data/images/explosion/explosion0001.png differ diff --git a/data/images/explosion/explosion0002.png b/data/images/explosion/explosion0002.png new file mode 100644 index 0000000..24b9934 Binary files /dev/null and b/data/images/explosion/explosion0002.png differ diff --git a/data/images/explosion/explosion0003.png b/data/images/explosion/explosion0003.png new file mode 100644 index 0000000..c1553f2 Binary files /dev/null and b/data/images/explosion/explosion0003.png differ diff --git a/data/images/explosion/explosion0004.png b/data/images/explosion/explosion0004.png new file mode 100644 index 0000000..711fdc2 Binary files /dev/null and b/data/images/explosion/explosion0004.png differ diff --git a/data/images/explosion/explosion0005.png b/data/images/explosion/explosion0005.png new file mode 100644 index 0000000..4e3450f Binary files /dev/null and b/data/images/explosion/explosion0005.png differ diff --git a/data/images/explosion/explosion0006.png b/data/images/explosion/explosion0006.png new file mode 100644 index 0000000..116f9e4 Binary files /dev/null and b/data/images/explosion/explosion0006.png differ diff --git a/data/images/explosion/explosion0007.png b/data/images/explosion/explosion0007.png new file mode 100644 index 0000000..3bed316 Binary files /dev/null and b/data/images/explosion/explosion0007.png differ diff --git a/data/images/explosion/explosion0008.png b/data/images/explosion/explosion0008.png new file mode 100644 index 0000000..84eab9a Binary files /dev/null and b/data/images/explosion/explosion0008.png differ diff --git a/data/images/explosion/explosion0009.png b/data/images/explosion/explosion0009.png new file mode 100644 index 0000000..b1395a1 Binary files /dev/null and b/data/images/explosion/explosion0009.png differ diff --git a/data/images/explosion/explosion0010.png b/data/images/explosion/explosion0010.png new file mode 100644 index 0000000..fc85276 Binary files /dev/null and b/data/images/explosion/explosion0010.png differ diff --git a/data/images/explosion/explosion0011.png b/data/images/explosion/explosion0011.png new file mode 100644 index 0000000..793daa5 Binary files /dev/null and b/data/images/explosion/explosion0011.png differ diff --git a/data/images/explosion/explosion0012.png b/data/images/explosion/explosion0012.png new file mode 100644 index 0000000..650453c Binary files /dev/null and b/data/images/explosion/explosion0012.png differ diff --git a/data/images/explosion/explosion0013.png b/data/images/explosion/explosion0013.png new file mode 100644 index 0000000..e6a2b6b Binary files /dev/null and b/data/images/explosion/explosion0013.png differ diff --git a/data/images/explosion/explosion0014.png b/data/images/explosion/explosion0014.png new file mode 100644 index 0000000..652340f Binary files /dev/null and b/data/images/explosion/explosion0014.png differ diff --git a/data/images/explosion/explosion0015.png b/data/images/explosion/explosion0015.png new file mode 100644 index 0000000..ced2775 Binary files /dev/null and b/data/images/explosion/explosion0015.png differ diff --git a/data/images/explosion/explosion0016.png b/data/images/explosion/explosion0016.png new file mode 100644 index 0000000..5452666 Binary files /dev/null and b/data/images/explosion/explosion0016.png differ diff --git a/data/images/explosion/explosion0017.png b/data/images/explosion/explosion0017.png new file mode 100644 index 0000000..65e728d Binary files /dev/null and b/data/images/explosion/explosion0017.png differ diff --git a/data/images/explosion/explosion0018.png b/data/images/explosion/explosion0018.png new file mode 100644 index 0000000..91cee7c Binary files /dev/null and b/data/images/explosion/explosion0018.png differ diff --git a/data/images/explosion/explosion0019.png b/data/images/explosion/explosion0019.png new file mode 100644 index 0000000..cebaf35 Binary files /dev/null and b/data/images/explosion/explosion0019.png differ diff --git a/data/images/explosion/explosion0020.png b/data/images/explosion/explosion0020.png new file mode 100644 index 0000000..b5b0283 Binary files /dev/null and b/data/images/explosion/explosion0020.png differ diff --git a/data/images/explosion/explosion0021.png b/data/images/explosion/explosion0021.png new file mode 100644 index 0000000..7bc28c9 Binary files /dev/null and b/data/images/explosion/explosion0021.png differ diff --git a/data/images/explosion/explosion0022.png b/data/images/explosion/explosion0022.png new file mode 100644 index 0000000..c071a59 Binary files /dev/null and b/data/images/explosion/explosion0022.png differ diff --git a/data/images/explosion/explosion0023.png b/data/images/explosion/explosion0023.png new file mode 100644 index 0000000..9edf312 Binary files /dev/null and b/data/images/explosion/explosion0023.png differ diff --git a/data/images/explosion/explosion0024.png b/data/images/explosion/explosion0024.png new file mode 100644 index 0000000..05f447d Binary files /dev/null and b/data/images/explosion/explosion0024.png differ diff --git a/data/images/explosion/explosion0025.png b/data/images/explosion/explosion0025.png new file mode 100644 index 0000000..a3c0fee Binary files /dev/null and b/data/images/explosion/explosion0025.png differ diff --git a/data/images/explosion/explosion0026.png b/data/images/explosion/explosion0026.png new file mode 100644 index 0000000..a6a329c Binary files /dev/null and b/data/images/explosion/explosion0026.png differ diff --git a/data/images/explosion/explosion0027.png b/data/images/explosion/explosion0027.png new file mode 100644 index 0000000..e29793d Binary files /dev/null and b/data/images/explosion/explosion0027.png differ diff --git a/data/images/explosion/explosion0028.png b/data/images/explosion/explosion0028.png new file mode 100644 index 0000000..0a26c9f Binary files /dev/null and b/data/images/explosion/explosion0028.png differ diff --git a/data/images/explosion/explosion0029.png b/data/images/explosion/explosion0029.png new file mode 100644 index 0000000..ccdf21a Binary files /dev/null and b/data/images/explosion/explosion0029.png differ diff --git a/data/images/explosion/explosion0030.png b/data/images/explosion/explosion0030.png new file mode 100644 index 0000000..e6b7d8e Binary files /dev/null and b/data/images/explosion/explosion0030.png differ diff --git a/data/images/explosion/explosion0031.png b/data/images/explosion/explosion0031.png new file mode 100644 index 0000000..e903825 Binary files /dev/null and b/data/images/explosion/explosion0031.png differ diff --git a/data/images/explosion/explosion0032.png b/data/images/explosion/explosion0032.png new file mode 100644 index 0000000..5fd0477 Binary files /dev/null and b/data/images/explosion/explosion0032.png differ diff --git a/data/images/explosion/explosion0033.png b/data/images/explosion/explosion0033.png new file mode 100644 index 0000000..bd0153b Binary files /dev/null and b/data/images/explosion/explosion0033.png differ diff --git a/data/images/explosion/explosion0034.png b/data/images/explosion/explosion0034.png new file mode 100644 index 0000000..cc442c0 Binary files /dev/null and b/data/images/explosion/explosion0034.png differ diff --git a/data/images/explosion/explosion0035.png b/data/images/explosion/explosion0035.png new file mode 100644 index 0000000..cd799fa Binary files /dev/null and b/data/images/explosion/explosion0035.png differ diff --git a/data/images/explosion/explosion0036.png b/data/images/explosion/explosion0036.png new file mode 100644 index 0000000..67a0e1e Binary files /dev/null and b/data/images/explosion/explosion0036.png differ diff --git a/data/images/explosion/explosion0037.png b/data/images/explosion/explosion0037.png new file mode 100644 index 0000000..e5782e7 Binary files /dev/null and b/data/images/explosion/explosion0037.png differ diff --git a/data/images/explosion/explosion0038.png b/data/images/explosion/explosion0038.png new file mode 100644 index 0000000..baa6178 Binary files /dev/null and b/data/images/explosion/explosion0038.png differ diff --git a/data/images/explosion/explosion0039.png b/data/images/explosion/explosion0039.png new file mode 100644 index 0000000..7c5211d Binary files /dev/null and b/data/images/explosion/explosion0039.png differ diff --git a/data/images/explosion/explosion0040.png b/data/images/explosion/explosion0040.png new file mode 100644 index 0000000..0bfdad9 Binary files /dev/null and b/data/images/explosion/explosion0040.png differ diff --git a/data/images/explosion/explosion0041.png b/data/images/explosion/explosion0041.png new file mode 100644 index 0000000..48c5a0a Binary files /dev/null and b/data/images/explosion/explosion0041.png differ diff --git a/data/images/explosion/explosion0042.png b/data/images/explosion/explosion0042.png new file mode 100644 index 0000000..dd6ed7a Binary files /dev/null and b/data/images/explosion/explosion0042.png differ diff --git a/data/images/explosion/explosion0043.png b/data/images/explosion/explosion0043.png new file mode 100644 index 0000000..013d456 Binary files /dev/null and b/data/images/explosion/explosion0043.png differ diff --git a/data/images/explosion/explosion0044.png b/data/images/explosion/explosion0044.png new file mode 100644 index 0000000..fcc9a20 Binary files /dev/null and b/data/images/explosion/explosion0044.png differ diff --git a/data/images/explosion/explosion0045.png b/data/images/explosion/explosion0045.png new file mode 100644 index 0000000..477a5ce Binary files /dev/null and b/data/images/explosion/explosion0045.png differ diff --git a/data/images/explosion/explosion0046.png b/data/images/explosion/explosion0046.png new file mode 100644 index 0000000..95a265c Binary files /dev/null and b/data/images/explosion/explosion0046.png differ diff --git a/data/images/explosion/explosion0047.png b/data/images/explosion/explosion0047.png new file mode 100644 index 0000000..ff0142f Binary files /dev/null and b/data/images/explosion/explosion0047.png differ diff --git a/data/images/explosion/explosion0048.png b/data/images/explosion/explosion0048.png new file mode 100644 index 0000000..adaf97f Binary files /dev/null and b/data/images/explosion/explosion0048.png differ diff --git a/data/images/explosion/explosion0049.png b/data/images/explosion/explosion0049.png new file mode 100644 index 0000000..b08b9a8 Binary files /dev/null and b/data/images/explosion/explosion0049.png differ diff --git a/data/images/gameover.png b/data/images/gameover.png new file mode 100644 index 0000000..c2495cf Binary files /dev/null and b/data/images/gameover.png differ diff --git a/data/images/laser_boss1.png b/data/images/laser_boss1.png new file mode 100644 index 0000000..7a47d68 Binary files /dev/null and b/data/images/laser_boss1.png differ diff --git a/data/images/mechant_150x150.png b/data/images/mechant_150x150.png new file mode 100644 index 0000000..5bcae3d Binary files /dev/null and b/data/images/mechant_150x150.png differ diff --git a/data/images/mechant_rouge2_150x150.png b/data/images/mechant_rouge2_150x150.png new file mode 100644 index 0000000..171260d Binary files /dev/null and b/data/images/mechant_rouge2_150x150.png differ diff --git a/data/images/mechant_rouge_150x150.png b/data/images/mechant_rouge_150x150.png new file mode 100644 index 0000000..73b6171 Binary files /dev/null and b/data/images/mechant_rouge_150x150.png differ diff --git a/data/images/misile - mechant.png b/data/images/misile - mechant.png new file mode 100644 index 0000000..716187b Binary files /dev/null and b/data/images/misile - mechant.png differ diff --git a/data/images/misile.png b/data/images/misile.png new file mode 100644 index 0000000..049e5c0 Binary files /dev/null and b/data/images/misile.png differ diff --git a/data/images/redfighter_200x200.png b/data/images/redfighter_200x200.png new file mode 100644 index 0000000..8279652 Binary files /dev/null and b/data/images/redfighter_200x200.png differ diff --git a/data/images/space.jpg b/data/images/space.jpg new file mode 100644 index 0000000..a1f6fa8 Binary files /dev/null and b/data/images/space.jpg differ diff --git a/data/images/vaiseau_enemi.png b/data/images/vaiseau_enemi.png new file mode 100644 index 0000000..120281f Binary files /dev/null and b/data/images/vaiseau_enemi.png differ diff --git a/data/sons/Laser_boss.mp3 b/data/sons/Laser_boss.mp3 new file mode 100644 index 0000000..d9ef836 Binary files /dev/null and b/data/sons/Laser_boss.mp3 differ diff --git a/data/sons/Lunettes-nocturnes-1.mp3 b/data/sons/Lunettes-nocturnes-1.mp3 new file mode 100644 index 0000000..9996b89 Binary files /dev/null and b/data/sons/Lunettes-nocturnes-1.mp3 differ diff --git a/data/sons/Lunettes-nocturnes-2.mp3 b/data/sons/Lunettes-nocturnes-2.mp3 new file mode 100644 index 0000000..04f7ad6 Binary files /dev/null and b/data/sons/Lunettes-nocturnes-2.mp3 differ diff --git a/data/sons/SF-gun2.mp3 b/data/sons/SF-gun2.mp3 new file mode 100644 index 0000000..62dbc5d Binary files /dev/null and b/data/sons/SF-gun2.mp3 differ diff --git a/data/sons/SFB-arm2.mp3 b/data/sons/SFB-arm2.mp3 new file mode 100644 index 0000000..3d1fe7d Binary files /dev/null and b/data/sons/SFB-arm2.mp3 differ diff --git a/data/sons/SFB-arme.mp3 b/data/sons/SFB-arme.mp3 new file mode 100644 index 0000000..4e29f8f Binary files /dev/null and b/data/sons/SFB-arme.mp3 differ diff --git a/data/sons/SFB-explosion2.mp3 b/data/sons/SFB-explosion2.mp3 new file mode 100644 index 0000000..fbe112d Binary files /dev/null and b/data/sons/SFB-explosion2.mp3 differ diff --git a/data/sons/SFB-fusil_1coup.mp3 b/data/sons/SFB-fusil_1coup.mp3 new file mode 100644 index 0000000..eaeb8b0 Binary files /dev/null and b/data/sons/SFB-fusil_1coup.mp3 differ diff --git a/data/sons/SFB-rocket.mp3 b/data/sons/SFB-rocket.mp3 new file mode 100644 index 0000000..a895656 Binary files /dev/null and b/data/sons/SFB-rocket.mp3 differ diff --git a/data/sons/Vol.mp3 b/data/sons/Vol.mp3 new file mode 100644 index 0000000..5c1e8e2 Binary files /dev/null and b/data/sons/Vol.mp3 differ diff --git a/data/sons/collision avec le vaisseau.mp3 b/data/sons/collision avec le vaisseau.mp3 new file mode 100644 index 0000000..ba52bbb Binary files /dev/null and b/data/sons/collision avec le vaisseau.mp3 differ diff --git a/data/sons/demo-explosion-debris-07.aup b/data/sons/demo-explosion-debris-07.aup new file mode 100644 index 0000000..b66de05 --- /dev/null +++ b/data/sons/demo-explosion-debris-07.aup @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/sons/demo-explosion-debris-07.mp3 b/data/sons/demo-explosion-debris-07.mp3 new file mode 100644 index 0000000..9918f28 Binary files /dev/null and b/data/sons/demo-explosion-debris-07.mp3 differ diff --git a/data/sons/demo-explosion-debris-07_data/e00/d00/e0000087.au b/data/sons/demo-explosion-debris-07_data/e00/d00/e0000087.au new file mode 100644 index 0000000..9cb2977 Binary files /dev/null and b/data/sons/demo-explosion-debris-07_data/e00/d00/e0000087.au differ diff --git a/data/sons/demo-explosion-debris-07_data/e00/d00/e0000fa5.au b/data/sons/demo-explosion-debris-07_data/e00/d00/e0000fa5.au new file mode 100644 index 0000000..905edbd Binary files /dev/null and b/data/sons/demo-explosion-debris-07_data/e00/d00/e0000fa5.au differ diff --git a/data/sons/lancemissile.mp3 b/data/sons/lancemissile.mp3 new file mode 100644 index 0000000..a895656 Binary files /dev/null and b/data/sons/lancemissile.mp3 differ diff --git a/data/sons/sf_canon_01.mp3 b/data/sons/sf_canon_01.mp3 new file mode 100644 index 0000000..01ed499 Binary files /dev/null and b/data/sons/sf_canon_01.mp3 differ diff --git a/data/sons/sf_mitrailleuse_02.mp3 b/data/sons/sf_mitrailleuse_02.mp3 new file mode 100644 index 0000000..29cffae Binary files /dev/null and b/data/sons/sf_mitrailleuse_02.mp3 differ diff --git a/data/sons/sf_mitrailleuse_05.mp3 b/data/sons/sf_mitrailleuse_05.mp3 new file mode 100644 index 0000000..2b99197 Binary files /dev/null and b/data/sons/sf_mitrailleuse_05.mp3 differ diff --git a/mechant.pde b/mechant.pde new file mode 100644 index 0000000..f7a371b --- /dev/null +++ b/mechant.pde @@ -0,0 +1,89 @@ +//ça c'est TOUT le code qui dit ce que c'est un enemy +class Alien { + + int x,y,enemypv; + PImage enemy_explo; + boolean show; + float time; + int NUMEROXEPLO = 0; + + Alien(int xt,int yt,int pv, PImage enemyt /*float timet*/){ + x = xt; + y = yt; + enemy_explo = enemyt; + show = true; + enemypv = pv; + /*time = timet;*/ + } + + void apparaitre() { + + //affiche l'anime de explosion : + if ( !show && NUMEROXEPLO<50 ) { + + //// Methode avec calcul du nombre de zeros: + //// 4 - le nb de carateres de l'entier NUMEROXEPLO [4 correspond au nb de zero du nom des fichiers] + //int nbCarateres = String.valueOf(NUMEROXEPLO).length(); + //int nbZeros = 4 - nbCarateres; + //String chainDeZero = new String(new char[nbZeros]).replace("\0", "0"); + //enemy = loadImage("images/explosion/explosion"+chainDeZero+NUMEROXEPLO+".png"); + + // Ou Methode avec un if : + if ( String.valueOf(NUMEROXEPLO).length()==1 ) enemy_explo = loadImage("data/images/explosion/explosion000"+NUMEROXEPLO+".png"); + else enemy_explo = loadImage("data/images/explosion/explosion00"+NUMEROXEPLO+".png"); + + NUMEROXEPLO += 1; + + } + + if (NUMEROXEPLO == 1 && son) { + sonExposion.play(); + nombreEnemiReste -= 1; + + } + + //Affiche le mechant ou explosion s'il n'est pas détruis (l'anime de explosion est pas finie) + if (NUMEROXEPLO < 50) image(enemy_explo, x, y); + + + } + + + void verifiercollisions() { + + // Avec le missile + if ( show && !( xm < x-40 || xm > x+40 ) && ym < y) { + + // on luis enleve un point de vie + enemypv = enemypv - 1; + y = y - 20; + + //suprime le missile + lancermisile = false; + } + + // Avec le ship + // DEBUG : Affiche x et y dans la console + //println(dist(ship.x, ship.y, x, y) + "ship.x : " + ship.x + " < " + (x-75) + " : > " + (x+75) + " ship.y : " + ship.y + " <> " +y); + if ( dist(ship.x, ship.y, x, y) < 130 ) { + // Averti le vaiseau de la collision + ship.collision = true; + + // on luis enleve un point de vie + enemypv = enemypv - 1; + y = y - 20; + } + + //le mechant disparait si il a plus de vie : + if ( enemypv == 0 ) { + show = false; + } + } + + + void affiche_et_mets_a_jour_les_mechants() { + verifiercollisions(); + apparaitre(); + } + +} diff --git a/space_inviders.pde b/space_inviders.pde new file mode 100644 index 0000000..8689ee0 --- /dev/null +++ b/space_inviders.pde @@ -0,0 +1,319 @@ +// ajouter le son ? +boolean son = true; +boolean boss_start = false; + + + // ----------------------- \\ + + +// Importation librairies pour la gestion du sons +import processing.sound.*; +SoundFile sonLancemissile; +SoundFile sonExposion; +SoundFile sonCollision; +SoundFile sonLaser_boss; + +int largeur = 1600; +int hauteur = 900; +PImage space, img_ship, misile, mechant, imgGameover, imgWin, imgboss1, laserboss1; +String misileMechant1 = "data/images/misile - mechant.png"; +int x = largeur/2; +int y = hauteur-100; +int xm = x; +int ym = y; +int timerGameOver = 1500; // milliseconds d'attente avant affichage "Gameover" +int timer = 0; +int win; +float time; +boolean lancermisile = false; +String touchePresse = null; + +Ship ship; + +boolean[] level = new boolean[3]; + +int nombreEnemi = 20; +int nombreEnemiReste = nombreEnemi; +Alien [] a = new Alien[nombreEnemi]; +Misile [] b = new Misile[nombreEnemi]; + +//Etat de deplacement: 0 = aucun deplacement en cours +int moveXp = 0; // 1 si deplacement vers le bas +int moveXn = 0; // 1 si deplacement vers le haut +int moveYp = 0; // 1 si deplacement vers la droite +int moveYn = 0; // 1 si deplacement vers la gauche +int moveBoost = 1; + +boolean pause = false; + + + +void setup() { + + stroke(#000000); + strokeWeight(1); + textAlign(LEFT, TOP); + textSize(12); + size(1600, 900); + imageMode(CENTER); + + + //là, ça charge les image dans leur varible + space = loadImage("data/images/space.jpg"); + img_ship = loadImage("data/images/redfighter_200x200.png"); + misile = loadImage("data/images/misile.png"); + //2 pour le skin 2 + mechant = loadImage("data/images/mechant_rouge_150x150.png"); + imgGameover = loadImage("data/images/gameover.png"); + imgWin = loadImage("data/images/Win_game.png"); + imgboss1 = loadImage("data/images/vaiseau_enemi.png"); + laserboss1 = loadImage("data/images/laser_boss1.png"); + //on crée le ship + ship = new Ship(x, y, 3, img_ship); + + //on crée des ennemis + for (int i = 0; i 9) { + j = i-10; + k =2; + } else { + j = i; + k =1; + } + a[i] = new Alien (100+(j*150), k*100, 3, mechant); + } + + //on crée des misiles + for (int i = 0; i 9) { + j = i-10; + k =2; + } else { + j = i; + k =1; + } + b[i] = new Misile (100+(j*150), k*100, misileMechant1, time); + } + + // Sons + if (son) { + sonLancemissile = new SoundFile(this, "data/sons/lancemissile.mp3"); + sonExposion = new SoundFile(this, "data/sons/SFB-explosion2.mp3"); + sonCollision = new SoundFile(this, "data/sons/collision avec le vaisseau.mp3"); + sonLaser_boss = new SoundFile(this, "data/sons/Laser_boss.mp3"); + } + + //Vitesse : frame par seconde + frameRate(60); + } + + void draw() { + + // if ( nombreEnemiReste == 0 && ship.pv > 0) { + // + // + // } + //debug: + //println(nombreEnemiReste); + + + miseAJourDuDeplacement(); + + float d = random (1, 100); + + //Affiche l'image de fond (l'espace) + background(space); + + // Si un missile du ship est en cours (actif) + if (lancermisile) { + //on le fait avencer + ym = ym - 20; + // Si le missile sort en haut de l'écran + if (ym < 0) { + ym = y; + xm = x; + lancermisile = false; + } + // Affiche l'image du missile + image(misile, xm, ym); + } else { + //Sinon (missile non actif) + //on le affiche en dessous du vaiseau si encore vivant + if (ship.show) { + ym = y; + xm = x; + } + } + + // Fait une boucle sur tout le tableau d'ennemies + for ( int i = 0; i 0) { + // image(imgWin, largeur/2, hauteur/2); + if (boss_start == false) { + boss_start = true; + boss_time = millis()/1000; + } + boss(); + } + + // Mise à jour du texte de l'écran : + text("frame: " + frameCount, 10, 20); + text("Time: " + millis() / 1000, 10, 35); + text("PV: " + ship.pv, width - 60, 20); + + if (ship.pv == - 0) { + // Installation du timer + if (timer == 0) timer = millis() + timerGameOver; + + // Vérification du temps par rapport au timer + //println(millis() + " / timer : " + timer); + if ( millis() > timer ) { + image(imgGameover, largeur/2, hauteur/2); + println("GAME OVER"); + noLoop(); + + } + } + + //Affiche le "WIN" Du niveau 1 + if ( nombreEnemiReste == 0 && boss_pv == 0) { + //image(imgWin, largeur/2, hauteur/2); + } + + + + + if ( nombreEnemiReste == 0 && boss_pv == 0) { + //on load la deuxièmme vague de vaisseau + //on crée des ennemis + // Fait une boucle sur tout le tableau d'ennemies + for ( int i = 0; i height - 100 ) y = height - 100; + } + + if (moveXp - moveXn == -1) { + x = x- deplacement; + if (x < 100) x = 100; + } + + if (moveXp - moveXn == 1) { + x = x+ deplacement; + if (x > width - 100 ) x = width - 100; + } + } + + //Truc a faire à la fin... + void stop() { + }