User Tag List

Results 1 to 8 of 8

Thread: Vector Movement Question

  1. #1
    No Products Registered

    Join Date
    Aug 2006
    Posts
    44
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Vector Movement Question

    Hi,

    I am using the Vecotr Movement to create the shooting system in my game, however, as stated in a previous thread, I am having a problem, as when I shoot 2 versions of the bullet are created, instead of just the 1 which is required.

    It is creating a version of the bullet with its default properties (e.g. speed 0, direction 0, etc)

    and Also creating another version which is the correct one, which has speed and direction set in accordance with the code below:

    (So I have 2 versions of the bullet onscreen)

    Code:
    Code:
    
    *On User Left Click
    +Gun AlterableValue A > 0
    
    -Create Bullet at (0,0) from Gun (action point, orientated)
    -Clickteam Movement Controller: Set Object to Bullet
    -Clickteam Movement Controller: Set Direction Towards Crosshair
    -Clickteam Movement Controller: Set Speed to 800
    -Sub 1 from Gun AlterableValue A
    I've looked through my events over and over but can't see what I've done wrong.
    I assumed it could be something to do with the order of the events, but alering these didnt solve the problem.

    I'd really appreciate some help on this.

    Thanks in advance.

  2. #2
    No Products Registered

    Join Date
    Nov 2006
    Posts
    199
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Vector Movement Question

    What is the Clickteam Movement Controller?

  3. #3
    No Products Registered

    Join Date
    Aug 2006
    Posts
    44
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Vector Movement Question

    It's a Movement Controller that comes with TGF2, allowing you to control the variables at which your Active Objects Move.

    E.g. If you are using vector movement you can use it to set speed, direction, gravity etc.

    Each different movement type has different variables that can be altered.

  4. #4
    No Products Registered

    Join Date
    Nov 2006
    Posts
    199
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Vector Movement Question

    Oh, okay. That might be why I didn't know what it was - because I don't have TGF2. Or, if it also comes with MMF2, then I guess the reason is because I'm currently using the trial version.

    So, if I don't have the extension, I guess I can't help. Well, maybe someone else can offer assistance. Perhaps it would help if you upload your file?

  5. #5
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleSWF Export Module

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

    Re: Vector Movement Question

    I think you need to upload an example of the code for people to try so we can see what is happening.

  6. #6
    No Products Registered

    Join Date
    Aug 2006
    Posts
    44
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Vector Movement Question

    Ok, I've stripped my entire game down to just the esential graphics and the shooting system, and I'm uploading it now.

    EDIT: The download is Here

  7. #7
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleSWF Export Module

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

    Re: Vector Movement Question

    It is because you have two Pistol objects in the frame, MMF is creating one object at each Pistol (both of the pistols are at the same location) and only one bullet is then picked up by the movement controller.

    Delete one pistol from the frame editor and you should get one bullet.

  8. #8
    No Products Registered

    Join Date
    Aug 2006
    Posts
    44
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Vector Movement Question

    Ohhh Thanks Very Much! [blush]

    Thanks!

Similar Threads

  1. [Possible BUG] Clickteam Movement Controller vector movement
    By mobichan in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 16th November 2012, 01:10 AM
  2. Vector Movement Question
    By Netflyer165 in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 1st April 2012, 01:06 AM
  3. [Bug] Vector movement (or movement controller)
    By Andrew in forum Android Export Module Version 2.0
    Replies: 2
    Last Post: 21st March 2012, 04:53 PM
  4. Vector movement/clickteam movement controller
    By Tuna in forum SWF/Flash Export Module Version 2.0
    Replies: 0
    Last Post: 18th July 2011, 03:11 PM
  5. Vector movement
    By MostDreaded in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 5th January 2011, 11:12 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
  •