User Tag List

Results 1 to 6 of 6

Thread: Platformer shooting glitch help

  1. #1
    No Products Registered

    Join Date
    Apr 2015
    Posts
    35
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Platformer shooting glitch help

    I'm making a platformer game and i'm having difficulty with the shooting mechanic. The laser that is shot will shoot downward or something sometimes when standing still and when jumping and coming down the the bullets will go in random directions downward in the direction i'm looking in. Here's a sample of the game that shows this problem:
    unnamed game.zip

    Any help would be appreciated!

  2. #2
    No Products Registered

    Join Date
    Apr 2015
    Posts
    35
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Oh yeah, controls are:
    Up: Up Arrow
    Crouch: Down Arrow
    Left/Right: Left/Right Arrows
    Shoot: Space Bar

  3. #3
    Clicker Multimedia Fusion 2
    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)
    ZycroNeXuS's Avatar
    Join Date
    Dec 2013
    Location
    Everywhere
    Posts
    60
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This is something I've noticed too, and I'm preeeeetty sure it isn't a glitch, but likely a side effect of using the platform movement. So far as I can recall in my limited time here, nobody has found a solution for this, but I do know that if you make your own custom platform movement or use the Platform Movement Object extension, it will behave as expected. Otherwise, you'll be stuck with this. It's very annoying, I know.

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    oruga's Avatar
    Join Date
    Feb 2012
    Posts
    366
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I cannot test your game right now, but seems like your problem is because you are shooting in the direction of the active object, and that direction changes when jumping (up when jumping up, down when falling).

    remove the "shoot in the direction of active" event, create a variable that holds the value of the left or right direction when that key is pressed, and then just shoot in that direction instead.

  5. #5
    Clicker Multimedia Fusion 2
    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)
    ZycroNeXuS's Avatar
    Join Date
    Dec 2013
    Location
    Everywhere
    Posts
    60
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That's a way better idea than mine. Why have I never thought of that?

  6. #6
    No Products Registered

    Join Date
    Apr 2015
    Posts
    35
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by oruga View Post
    I cannot test your game right now, but seems like your problem is because you are shooting in the direction of the active object, and that direction changes when jumping (up when jumping up, down when falling).

    remove the "shoot in the direction of active" event, create a variable that holds the value of the left or right direction when that key is pressed, and then just shoot in that direction instead.
    I can't fix this for the life of me. Can I send you the .mfa file for you to have a look at?

Similar Threads

  1. shooting stopped working glitch
    By tanookitoad979 in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 30th July 2015, 12:38 AM
  2. David Newton Platformer Wall Climb Glitch
    By Socknic in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 30th May 2013, 05:07 PM
  3. GLITCH! Please fix Animation Glitch!
    By Blue66 in forum Multimedia Fusion 2 - Technical Support
    Replies: 22
    Last Post: 20th March 2013, 10:35 AM
  4. Help with side-scrolling platformer - Shooting
    By TheDarkMoogle in forum Multimedia Fusion 2 - Technical Support
    Replies: 10
    Last Post: 25th January 2011, 07:18 PM
  5. platformer
    By SamG in forum File Archive
    Replies: 4
    Last Post: 17th August 2008, 11:57 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
  •