I have some code but it doesn't work
if (Math.random < 0.2) { console.log("Update Bullet"); Bullet(Math.random() * 360); }
I call it every interval (25 ms) but it never says update bullet. Why?
Aucun commentaire:
Enregistrer un commentaire