I'm making a game and I would like to include AI. But I don't know how to. If you know how to, could you please tell me via using blocks in your post? I can only think of making a variable that picks random actions based on the distance from the player. And I am planning to make it for a SSB-style game.
Offline
You are on the right track. When making an AI, think about how you would play the character as a human. Then, try and figure out how to do similar actions with what the computer has to work with. Random actions are a very important part of making interesting AI behavior.
Have you looked at other SSB type games on Scratch to see how they handled the AI issue?
Offline
Paddle2See wrote:
You are on the right track. When making an AI, think about how you would play the character as a human. Then, try and figure out how to do similar actions with what the computer has to work with. Random actions are a very important part of making interesting AI behavior.
Have you looked at other SSB type games on Scratch to see how they handled the AI issue?
Yes, I have, but the only one I've seen with AI is Super smah bros. ball, but if I scout around a bit, i should be able to find just what I'm looking for. Thanks!
Offline
I have made a very basic soccer game http://scratch.mit.edu/projects/dav09/492209 containing an AI
Offline
http://scratch.mit.edu/forums/viewtopic.php?id=2798
This might help
Offline