vy += ay * dt;
w.msleep(10);
- w.sync();
+// w.sync();
w.setColor("skyblue");
w.fillCircle(wx, wy, 2);
// w.setColor("black");
do {
joueur = 3 - joueur;
+ w.sync();
std::cout << "-=| Joueur " << joueur << " |=-";
float alpha;
perdant = tir(w, x0, y0, v0, alpha, x, y);
dessineExplosion(w, x, y);
dessineVent(w, wnd);
- w.sync();
} while (!perdant);
dessineFlammes(w, x, y);
std::stringstream msg;