A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Questions (Please Help)

  1. #1
    Junior Member
    Join Date
    Sep 2015
    Posts
    3

    Questions (Please Help)

    Hello everyone,

    I am currently making a giant monster fighting game called Brink of Armageddon: Age of the Kaiju using Flash CS6 (AS2).

    I have a couple of questions, and I would REALLY appreciate it if you guys would help me by answering them:

    1. How do I unattach a movieclip when the game reaches a certain screen? I don't want the characters appearing on the "You Win" screen.
    2. How do I program AI opponents?
    3. How would I program a Random select button (I am using a variables (example: when you click one of the character select icons, it sets the character variable to 1) as a way of the program knowing which character is selected, if this is helpful).
    4. I am having this problem where when you return to the main menu screen after finishing a match, and then you start another match, none of the characters can attack or move. Would any of you know how to fix this?

    Any help will be appreciated !

    P.S. If you want to get involved with the development of the game, you can register on the official BOA forums here!

  2. #2
    Senior Member
    Join Date
    Feb 2005
    Posts
    1,823
    1) movieClip.removeMovieClip();
    2) fighter AIs are a bit more of a challenge: http://stackoverflow.com/questions/3...eet-fighter-or
    3) http://help.adobe.com/en_US/AS2LCR/F...=00001220.html For using a random number. Make sure to round it into a whole number.
    4) I'd have to look through the code to see what the point of failure is.
    P.S. the forum is down.
    .

  3. #3
    I'm not Crazy :D
    Join Date
    Nov 2015
    Location
    Brazil [<o>]
    Posts
    86
    Hi guy,

    I know a very good site that teaches how to make AI, however, only the movement without attacks.

    Link: http://www.freeactionscript.com/cate...ples/enemy-ai/

    I hope this helps you,

    CYA later

Tags for this Thread

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