User Tag List

Results 1 to 6 of 6

Thread: Computer controlled player

  1. #1
    No Products Registered

    Join Date
    Oct 2007
    Location
    Norway, Oslo
    Posts
    379
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Computer controlled player

    How can I get the player walk automatically at start using PMO?

  2. #2
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Apr 2008
    Location
    California
    Posts
    357
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Computer controlled player

    What exactly is a PMO? If you give a description maybe I can help.

  3. #3
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)

    Re: Computer controlled player

    Platform Movement Object
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  4. #4
    No Products Registered

    Join Date
    Oct 2007
    Location
    Norway, Oslo
    Posts
    379
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Computer controlled player

    Yes, it's platform movement object.

  5. #5
    Clicker Fusion 2.5 Developer

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

    Re: Computer controlled player

    Uh, well you can't until you assign values such as controls and whatnot.

    So, first you would activate the character (that is if the obstacles are backdrops):

    PMO: Test for obstacle overlap
    + Player is overlapping a backdrop
    - Object does overlap with obstacle

    and for simple movement, you would simply put:

    Repeat while "Right Arrow" is pressed
    - User is holding right input key

    then you would do this for all of the keys you are using.


  6. #6
    Clicker Fusion 2.5
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Oct 2006
    Location
    In a Dark room with only a lamp
    Posts
    367
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Computer controlled player

    Rabagast - I have doen something similar to this before but it didn't work exactly as i intended but the basic principles are still the same:

    What i did was assign the object to the PMO.
    Use a flag to change the direction of the object.
    I made it change direction whenever it collided with the backdrop.

    For example

    If Flag 0 is on - go left
    If Flag 0 is off - go right

    I controlled jumping by identifying if the object collided with a jump trigger. this gave the illusion of semi intelligent AI.

    Couple this with a wait system and also a line of sight system and you could create something rather impressive.

Similar Threads

  1. How to center a player controlled object's images?
    By TheSketchySide in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 18th September 2013, 05:12 PM
  2. Any way to let one player send a text file to another player?
    By BrashMonkey in forum iOS Export Module Version 2.0
    Replies: 2
    Last Post: 23rd January 2013, 06:56 PM
  3. Mouse Controlled BUG
    By imothep85 in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 2nd September 2012, 04:59 PM
  4. Player controlled active object orbiting around fixed point?
    By ratty in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 10th June 2012, 04:21 AM
  5. Mouse controlled gun
    By PimeX in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 14th August 2010, 08:50 AM

Posting Permissions

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