laitimes

Python does FPS shooter 4

Today we continue to do FPS shooting games, and those who have not read the previous issues can look at the homepage

Mainly implement some optimizations and spawn multiple enemies

code

Python does FPS shooter 4
Python does FPS shooter 4
Python does FPS shooter 4
Python does FPS shooter 4
Python does FPS shooter 4
Python does FPS shooter 4
Python does FPS shooter 4
Python does FPS shooter 4

effect

As you run, everything has shadows and several enemies move towards you

Python does FPS shooter 4

Switching to God's perspective will make it more obvious that a ray will be seen, and if the ray does not touch the player or the ray is blocked, the enemy will not move

Python does FPS shooter 4

Shoot, a yellow plane appears in front of the gun, which disappears in less than a second

Python does FPS shooter 4
Python does FPS shooter 4