How do I create a Fighter game AI?

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
User avatar
PixelHero
Prole
Posts: 30
Joined: Sat Apr 16, 2022 3:16 am

How do I create a Fighter game AI?

Post by PixelHero »

I am making a fighter with my older sister, and i have the job of making the AI. How do I do that? :?
All tips help, so please share knowledge.
DRAGONS AND GRIFFONS ARE OUR EQUALS! NO MORE DRAGON DEATHS!
Current Collab: https://github.com/PixelHeroFromLove2d/Collab-1 It's a platformer... Wanna help? PM me...
User avatar
darkfrei
Party member
Posts: 617
Joined: Sat Feb 08, 2020 11:09 pm

Re: How do I create a Fighter game AI?

Post by darkfrei »

PixelHero wrote: Wed Jun 22, 2022 8:16 pm I am making a fighter with my older sister, and i have the job of making the AI. How do I do that? :?
All tips help, so please share knowledge.
Simple solution: https://youtu.be/Q4MU7pkDYmQ
Hardcore solution: weak AI, that was trained for you needs. See perceptron. https://en.wikipedia.org/wiki/Perceptron
togFox
Party member
Posts: 543
Joined: Sat Jan 30, 2021 9:46 am
Location: Brisbane, Oztralia

Re: How do I create a Fighter game AI?

Post by togFox »

The easiest is a bunch of if-else-then statements as deep or complex as you like.

Build up from there.
Current collaborative project:
https://togfox.itch.io/autarky
Autarky. Watch your village grow.
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests