User Tag List

Results 1 to 6 of 6

Thread: game help

  1. #1
    No Products Registered

    Join Date
    Dec 2007
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    game help

    how would you make a CPU (Computer Character like playing against you.)

  2. #2
    Clicker Fusion 2.5 Developer

    Join Date
    Jan 2007
    Location
    USA
    Posts
    691
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: game help

    That's quite a statement. It's not that easy.

    Let me give you a basic rundown of an AI (Artificial Intelligence) system.

    1) First, make sure your AI and main character are different.
    2) Second, write down what you want your AI to do.
    3) Third, code your AI character. Here are some examples:
    - If you want the AI character to follow you, give it a Bouncing Ball movement and make it move in the direction of your character.
    - If you want the AI character to shoot at you, you can make different timings with the Timer and have it shoot another Active object at the main character at different intervals.
    4) Debug. Make sure everything works properly.

    Remember, if you want a much more advanced AI system, it will use up more RAM (Memory) and will involve much, much more coding.

  3. #3
    Clicker Fusion 2.5 Developer

    Join Date
    Jun 2006
    Location
    Hampshire, UK
    Posts
    963
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: game help

    Quote Originally Posted by wizkidweb
    Remember, if you want a much more advanced AI system, it will use up more RAM (Memory) and will involve much, much more coding.
    It wouldn't use up any more RAM (not that you would notice, anyway), it would use up more processing power. Even then it is very unlikely MMF2 would struggle too much.

  4. #4
    No Products Registered

    Join Date
    Dec 2007
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: game help

    how do i make it move in the direction of my player 1?

  5. #5
    Clicker Multimedia Fusion 2SWF Export Module
    Jacob's Avatar
    Join Date
    Jul 2007
    Location
    Second pixel to the right
    Posts
    3,208
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: game help

    bouncong ball movement with the event:

    +Always
    --(enemy)look at 0,0 from (player)

  6. #6
    No Products Registered

    Join Date
    Dec 2006
    Posts
    1,332
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: game help

    Dines just posted a great article on objects safely following the player. It's a great help for things like this.

    http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=66421#Post66421

Similar Threads

  1. YWHTG: You Will Hate This Game [Flash] Skill / Avoidance game
    By FGRaptor in forum Released Games & Apps in Flash
    Replies: 2
    Last Post: 2nd May 2016, 03:14 AM
  2. Donkey Kong JR Game & Watch cloned into arcade game some MMF2 technical problems.
    By daryuss in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 9th June 2013, 09:17 PM
  3. Open exported html doc, game doesnt load. When opening raw SWF, game fits screen!
    By Oreo in forum SWF/Flash Export Module Version 2.0
    Replies: 5
    Last Post: 19th November 2012, 03:16 PM
  4. Flash Game Screen Size Game Site Preferences
    By Rolando in forum SWF/Flash Export Module Version 2.0
    Replies: 1
    Last Post: 4th January 2012, 04:04 PM

Posting Permissions

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