User Tag List

Results 1 to 4 of 4

Thread: - quick question, jumping and shooting.

  1. #1
    No Products Registered

    Join Date
    Sep 2009
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    - quick question, jumping and shooting.

    To be brief, I have a side scrolling shooter game and I'm stuck on one small aspect here.

    - Whenever i jump straight up I'm unable to shoot. Nor am I able to shoot after I land on the ground. I must instead move a little to the right or the left to shoot in that direction. The same applies for when i jump. i must jump slightly in a direction to shoot at an object higher up.

    Is there a fix for this? (Although I'm sure there is... watch it be obvious) But no big deal if there isn't.

    Thanks to those able/willing to help.

  2. #2
    No Products Registered

    Join Date
    Sep 2009
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: - quick question, jumping and shooting.

    Well, I'm fairly new to MMF2, but I have used other game creation software in the past.

    Personal experience would tell me that you need to make variables that check to see whether you're facing left or you're facing right.

    I'm assuming you're using the built in platform movement and using the player shoots a bullet thing.
    The problem with this is, that your directions are being pre-handled by the platform movement engine. When you press left, it automatically changes direction to left. However, when jumping, you're no longer going left, you're jumping left. You know what I mean? This is why after you jump you have to move a bit in a direction before it shoots again, because then the direction is set again.

    My suggestion would be, to create variables like, I dunno, playershootleft and playershootright. And then when ever you press left you switch playershootleft to true and playershootright to false. (and for right do the same thing except right is true and left is false)
    And then have the shooting direction linked to those variables.
    I'm not entirely sure, but you may need to do custom shooting. Which can't be too hard. Should be as easy as making an object for the bullet, make it create at the player position, and have it go in a specific direction according to the direction variable. If you do things this way, eventually you could create more complex bullets with neat patterns or gimmicks that you couldn't do with the built in thing for it

    I hope this helps you. Like I said, I'm new to MMF2, so I don't know what the exact names for all these things are, but with a little fiddling around and patience you should understand what I'm getting at. And perhaps anyone who reads this that's more experienced with the program can explain what I'm saying in MMF2 terms.

  3. #3
    No Products Registered

    Join Date
    Sep 2009
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: - quick question, jumping and shooting.

    You're right about me using the built in platform movement. I'm not very good at creating variable conditions because I'm not sure how the formats for most go.
    I'm just aiming for a Megaman type play style so i just need bullets to go left or right, nothing special.

    I do appreciate your input though- I'll see what I can do but I doubt I'll be able to do much until I get what variables or variable format I need to put in.

  4. #4
    No Products Registered

    Join Date
    Sep 2009
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: - quick question, jumping and shooting.

    For now while you're getting your ideas down and what not, using the platform movement is fine, but I recommend you don't keep it in any final versions of games you create.
    The platform movement has alot of issues (such as when you walk into a wall and hold the jump key you just slide right up it, just to name one of many)

    Something you may want to look into is the PMO extension(platform movement object)
    It's far superior than the built in platform movement.
    You'll most likely need to follow a tutorial on that one, but when you get it going it's definitely worth it (and easier than doing custom platform movement from scratch)

Similar Threads

  1. Jumping and shooting help.
    By TourGuideNixon in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 24th December 2013, 04:49 AM
  2. Arc jumping question
    By MEHRDAD in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 19th January 2012, 09:38 AM
  3. Shooting Question
    By Redsquirrel in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 25th January 2011, 07:46 PM
  4. Shooting question
    By Bill in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 15th December 2008, 09:15 PM
  5. character jumping - ABS() question
    By GloriousIntruder in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 25th August 2008, 04:37 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
  •