mercredi 20 octobre 2021

why does my overlap code not call the function in if score >=10 Phaser 3

here is the code for the project. the part that isn't working is the if statement were if score is more than or equal to 10 then add a overlap and call the function floor2. for some reason it doesn't call the function. also i want to give my player the ability to shot a fire spell when the user presses spacebar and i dont know how to do it so the fire image shots from the player sprite image 3 image 4 image 5 image 6 image 7 image 8 image 9 enter image description here

Aucun commentaire:

Enregistrer un commentaire