In this post, a new type of enemy will be created. It will move along the same path as the normal enemy. However, when it is…