...

/

Enemy Shots Using Operators and Observables

Enemy Shots Using Operators and Observables

Learn to introduce enemy shots and control their frequency through the interval operator.

We'll cover the following...

We should allow the enemies in the game to shoot as well, Otherwise, it will be an unfair universe that we’ll have created, and a boring one! To enable enemy shots, we’ll do the following:

  • Each enemy will keep an updated array
...
Access this course and 1400+ top-rated courses and projects.