A Flash Developer Resource Site

Results 1 to 18 of 18

Thread: [help] Artificial Intelligence

  1. #1
    Junior Member
    Join Date
    Nov 2005
    Posts
    5

    [help] Artificial Intelligence

    hello..

    I have created a game... (fighting game) is there anyway i can put AI in in... my game is a 2 player beat m up game...

  2. #2
    supervillain gerbick's Avatar
    Join Date
    Jul 2000
    Location
    undecided.
    Posts
    18,979
    Moved from the chat only Coffee Lounge - please follow the rules and post this only once - to the Games Forum... updated the thread title to further suit the Games Forum.

    [ Hello ] | [ gerbick ] | [ Ω ]

  3. #3
    ....he's amazing!!! lesli_felix's Avatar
    Join Date
    Nov 2000
    Location
    London UK
    Posts
    1,507
    Yes there is, but without seeing where you're up to with the game there's little else I can add.

  4. #4
    Student
    Join Date
    Apr 2001
    Location
    -
    Posts
    4,756
    is there anyway i can put AI in in... my game is a 2 player beat m up game...
    yes you can code it with actionscript

  5. #5
    Wait- what now? tidenburg's Avatar
    Join Date
    Dec 2005
    Posts
    1,472
    "I'd only told them the truth. Was that so selfish? Our integrity sells for so little, but it is all we really have. It is the very last inch of us, but within that inch, we are free."

  6. #6
    Zombie Coder EvilKris's Avatar
    Join Date
    Jun 2006
    Location
    Fukuoka, Japan.
    Posts
    796
    Be more specific.

  7. #7
    Please, Call Me Bob trogdor458's Avatar
    Join Date
    Aug 2006
    Location
    Pensacola, FL
    Posts
    915
    grnff...its hard to make ai for something you have no clue about...
    can you block?
    are certain attacks deadlier in certain situations?
    are there long ranged weapons?!?

    try to give us a roughdraft of your plan, or look at a tut and figure it out for yourself

    oh dear, i fear he may not respond...

  8. #8
    Script kiddie VENGEANCE MX's Avatar
    Join Date
    Jun 2004
    Location
    England
    Posts
    2,590
    Yeah, doesn't look like he's coming back.
    http://www.birchlabs.co.uk/
    You know you want to.

  9. #9
    Member
    Join Date
    Nov 2006
    Posts
    93
    lol I love these types of posts

  10. #10
    Hype over content... Squize's Avatar
    Join Date
    Apr 2001
    Location
    Lost forever in a happy crowd...
    Posts
    5,928
    Let's try and remember what happened last time a thread was moved here with a vague question, and avoid any spam / flaming.

    If people don't think the guys coming back, leave the thread and just let it disappear.

    Squize.

  11. #11
    Please, Call Me Bob trogdor458's Avatar
    Join Date
    Aug 2006
    Location
    Pensacola, FL
    Posts
    915
    dont worry squize, theres no flaming here :p
    would be nice if he responded though...kind of impossible to continue the thread without the thread starter

  12. #12
    Junior Member
    Join Date
    Nov 2005
    Posts
    5
    oh sorry. i dint read this reply.. give me you email adreess and i will send you my game...

  13. #13
    Zombie Coder EvilKris's Avatar
    Join Date
    Jun 2006
    Location
    Fukuoka, Japan.
    Posts
    796
    Just post the file on here.

  14. #14
    Banned XareoX's Avatar
    Join Date
    Aug 2006
    Posts
    462
    I dont think he wants to give every one his game. send it to render she would be good at suff like this if she wants to give it a shot. sorry if i called you a she and ur a he =}

  15. #15
    Senior Member tonypa's Avatar
    Join Date
    Jul 2001
    Location
    Estonia
    Posts
    8,227
    I suggest to search the games forum. AI for beat them up games have been discussed before.

  16. #16
    Junior Member
    Join Date
    Nov 2005
    Posts
    5
    THe Ai tutorial that tidenburg gave.. is not working...

  17. #17
    Senior Member Pazil's Avatar
    Join Date
    Sep 2006
    Location
    Ontario, Canada
    Posts
    913
    I've been looking for something like this!!! Thank-you all...this actually really helped me!
    WIP-ZOMBIES

    I love vegetarians! More meat for the rest of us!

  18. #18
    Truimagz.com everfornever's Avatar
    Join Date
    Sep 2006
    Location
    St. Louis
    Posts
    1,306
    AI can be very tricky , but if your game is alread to the point were you can play it two players, then you must know a bit.

    So what you basically do is come up with a way for the computer to decide what it should do, if it was you.

    Like setting up random var, say you have 5 attacks, instead of doing key.isDown, as if you were playing him, just do a random 5+1 and then do if the random var = 4 do this etc, then think of things like, if the AI is jumping, then if player is attacking, AI should be blocking, and then give him a random var to make it so he may, or may not block.

    If you set it up like this it can make it easy to add harder modes to the game, just my making the random vars smaller numbers.

    Hope this makes since, if not you can IM me with any questions.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center