User Tag List

Results 1 to 5 of 5

Thread: Ducking Glitch and 2 completely unrelated queries

  1. #1
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module

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

    Ducking Glitch and 2 completely unrelated queries

    This glitch was quite evident to me back when I orginally switched from TGF to Mutimedia Fusion 2, but I always kinda ignored it since back then I never though I would have come this far on this game.

    Anyway, when you duck down, you for some reason are able to continue to move when normally (In TGF) you movement would stop. And that isn't the oddest part, it allows you to travel horizontaly (even through air provided you dont collide with anything) as long as down is pressed along with either left or right. Here are a few photos for example (Apology for the huge SShots, wanted people to have an idea what im working with):



    A few other character in my game have no ducking animations and weren't intended to duck, and this strange phenomenon does not occur with them even when pressing down. So im fairly certain it has something to do with the ducking animation screwing with movement logic in the system.


    And for the 2nd question (Much easier to figure out, I suppose):

    Let say i've got an enemy on the screen, standing on a standard platform and the platform is only 10-15 pixes from the bottom of the screen. I jump up, the screen scrolls up with me leaving the platform just off screen. The enemy now falls through the nothing and off the world.

    Is there a way to keep this from happening?

    Also, how do you calculate the exact screen area that your player is in at any given time? I wanted to use this to make enemies begin to fire as soon as I come onto screen.

    So many questions.....

    Any help would be greatly appreciated,

    Thanks,
    -Nick


  2. #2
    No Products Registered

    Join Date
    Jul 2006
    Location
    Cape Town South Africa
    Posts
    192
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Ducking Glitch and 2 completely unrelated queries

    One answer for all your questions is make a custom movement to control your player, the basic platform movement has always been buggy.
    You sould be able tho find some examples on how to do this in the form.

  3. #3
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module

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

    Re: Ducking Glitch and 2 completely unrelated queries

    Seems like kinda a waste to do a custom platform movement when there is only one small thing wrong with it. And im not entirely sure how doing that would have an effect on the last 2 questions.

  4. #4
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Ducking Glitch and 2 completely unrelated queries

    You can use the "Handle background collisions even in invisible playfield" option in Frame Properties to sort out the second point, and there's an "Object is less than X pixels away from window's edge" condition that you can use to detect if the player's nearby.

    The custom platform movement is good advice, though might seem like a big undertaking if you're a beginner. There are so many problems with the default platform movement that replacing it is definitely worthwhile.

  5. #5
    No Products Registered

    Join Date
    Jul 2006
    Location
    Cape Town South Africa
    Posts
    192
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Ducking Glitch and 2 completely unrelated queries

    With a custom movement your character wont drop through the floor you can handle collition detection much better.

    For the enemys starting to fire as you move into screen you could use: x pos of enemy - x pos of player <= 640 then enemy shoot.
    Or you could use a distance calculator.

Similar Threads

  1. INI++v1.5: A few queries.....
    By ProdigyX in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 14th March 2011, 10:26 AM
  2. Two quick unrelated questions (Box2D and Surface)
    By Jacob in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 7th October 2010, 10:01 PM
  3. Bug occurs, cripples unrelated events: MMF2bug?
    By willy in forum Multimedia Fusion 2 - Technical Support
    Replies: 10
    Last Post: 18th October 2008, 03:42 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
  •