I need a new script for my zombies

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By CatboyCodes

Hi, I had an kidscancode ai script, but the day after I used the script, the zombies wouldn’t move, so I need a new ai for my zombies.

:bust_in_silhouette: Reply From: jgodfrey

Really, you’re not going to get too far by blindly taking code from the internet and attempting to use it with absolutely no understanding of how it works. To make any real progress in game dev, you’re going to have to be willing to learn some coding or at least team up with someone who can.

It’s not really possible for someone to supply you with something useful based on your request of “I need a new ai for my zombies”.

AI code is non-trivial and is dependent on any number of things related to your expectations, your project layout, and your game style.

I’d suggest you bite the bullet and start learning how to create what you need yourself. It’ll be much more satisfying experience and there are plenty of people (here and elsewhere) who are willing to help along the way.

Good luck with your project.

Yeah I can do that, the reason why I’m asking is bc I’m new to godot

CatboyCodes | 2022-07-21 21:01

That’s great - we were all new at some point. If you have specific questions or issues, feel free to ask them in the forum. It’s a friendly place. :slight_smile:

jgodfrey | 2022-07-21 22:04

thanks for the welcoming!

CatboyCodes | 2022-07-21 23:33

So, Is there any code for an ai that chases the player using kineticbody2d?

CatboyCodes | 2022-07-22 00:26

You need to tackle problems that you dont understand, step by step. code for an ai that chases the player is too generic. Start making something yourself, and when you run into a problem, come and ask for help with a specific problem. Example, how would I go about getting the player position?

Pomelo | 2022-07-22 15:28