User Tag List

Results 1 to 6 of 6

Thread: MMF2 acting kind of strange

  1. #1
    Clicker Multimedia Fusion 2SWF Export Module

    Join Date
    Feb 2007
    Location
    US,California
    Posts
    42
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    MMF2 acting kind of strange

    I made my own movement up in my game which is pretty simple

    +Repeat While LEFT key is pressed down
    -Set player's X position x(player)-5

    and so forth, and so with collisions I set it up as

    +Repeat While LEFT key is pressed down
    +Collision between player and tree
    --Set player's X position x(player)-5

    Anyway I thought I'd show how I did that in case something's wrong with the way I setup my movement, but the problem is the first time I set the collision command in they run perfect and so I did a whole bunch of other commands and needed to have my player once again stop when he collides with something and so I put in the same commands, just different object"instead of a tree, it was a wall" and when I played,my character would hit the object and it would shove the camera up a bit.

    I rechecked my work and retried it and it still gave me the same problem, so I then decided to go back to where I originally had the collision with tree command and put it in right after tried it, and it worked perfect.

    After writing a short story on this:sleep:I get to my question, Why does it seem like MMF is having a problem reading my command when its way at the bottom compared to when its higher up on the list or even next to the command that's pretty close to the same?

  2. #2
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jun 2006
    Location
    Darlington, UK
    Posts
    3,298
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: MMF2 acting kind of strange

    Shouldn't that be:
    +Repeat While LEFT key is pressed down
    +player is overlapping tree
    --Set player's X position x(player)+5
    ?

  3. #3
    Clicker Multimedia Fusion 2SWF Export Module

    Join Date
    Feb 2007
    Location
    US,California
    Posts
    42
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: MMF2 acting kind of strange

    opps yea it should be I just mistyped it in there, but overlapping gives me problems and i prefer collides with, but the main idea about the thread was why would the code only work when its next to the original collision code and and not when its later in the coding? I hope that makes sense

  4. #4
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jun 2006
    Location
    Darlington, UK
    Posts
    3,298
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: MMF2 acting kind of strange

    It would work fine, unless there is some other code between it that undoes it.

  5. #5
    Clicker Multimedia Fusion 2SWF Export Module

    Join Date
    Feb 2007
    Location
    US,California
    Posts
    42
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: MMF2 acting kind of strange

    That's probably what it is and i'll have to just recheck all my coding. thanks

  6. #6
    No Products Registered

    Join Date
    Feb 2007
    Posts
    199
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: MMF2 acting kind of strange

    The way you are doing it is not very good really.

    Ideally you want to use fastloops for your collisions.

    I made a video turorial a while ago, it's a bit drawn out but at the end it demonstrates how to do it.


Similar Threads

  1. Strange MMF2 behaviour at start of SWF
    By King_Cool in forum SWF/Flash Export Module Version 2.0
    Replies: 2
    Last Post: 9th November 2012, 04:27 PM
  2. [bug] A strange error: core MMF2 or INI++?
    By felinex in forum File Archive
    Replies: 15
    Last Post: 24th April 2008, 07:08 PM
  3. Strange mmf2 bug possibly linked to satan
    By bhlaab in forum Multimedia Fusion 2 - Technical Support
    Replies: 10
    Last Post: 25th October 2007, 12:30 PM
  4. MMF2 Has Strange Lag
    By Corlen in forum Multimedia Fusion 2 - Technical Support
    Replies: 10
    Last Post: 4th October 2007, 11:26 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
  •