GAME ----------------------------------------- WASD to move ARROW KEYS to shoot. *if you don't like the controls, you can inverse them in the shop* SHOP ----------------------------------------- UP and DOWN to change selection RIGHT to select
*It may be a little laggy at first, wait a couple seconds for it to pick up* IF YOU GET THE GOLD TUXEDO, COMMENT "GOLD" AND I WILL FOLLOW YOU AND LIKE YOUR PROJECTS!!! ------------------------------------------------------------------------ The AI works by following different set nodes represented as targets. Enemies will keep walking until it is in the same y-axis as it's target. If the target is above it, it will jump if either the distance is less than 30, or there is no platform in front of it to walk on. Once it has reached it's target, it will move on to the next one in it's path. The shooting is simply put if you are near it's x-axis or y-axis then it will stop to shoot towards you. Monsters are different though, as they attack when you get close, they do not bother with shooting. UFO's will just shoot downwards 4 times when you are near it's x-axis. Each set of targets has it's separate number or identity so that each identity can have their own path instead of all of them following the same path. Clones can have the same identity which means they will follow the same path. If you press space you can see all the paths and nodes for each clone. Hopefully that covered most of it, I'm here for questions! All art, coding, and ideas by me. If you have any recommendations, ideas, or critiques, let me know!