GAME WITH BETTER CLONE TARGETING: https://scratch.mit.edu/projects/410338345/ ~Clone Targeting Test v3.0~ The AI points towards the nearest clone. The AI movement is not smooth because it takes some time to calculate the distance to each clone(but it does work). I will try to fix that in the future. Check the update log for current updates. Ideal for an AI in a shooting game. Click on a clone to select it and it will follow your mouse pointer. Click it again to unselect it and it will stop following you. I probably could have made a better and faster way of targeting clones. -UPDATES- v3.1 - Smoother AI movements and slightly quicker distance calculations by putting distance calculator in clones script v3.2 - Smooth AI movements but delayed distance calculations v3.3 - The AI turns towards it's targeted clone rather than just pointing towards it right away | very minor change to clone movement
The simplest clone targeting experiment I have ever made. It took me around 15 minutes to figure this out. Similar credits to the 2nd version(which I won't type cuz I'm too lazy). https://scratch.mit.edu/projects/383484586/ #clones #ai #target #calculations #engine