User Tag List

Results 1 to 3 of 3

Thread: Space shooter movement problem

  1. #1
    No Products Registered

    Join Date
    Jun 2011
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Space shooter movement problem

    what up

    I've been working on a little spaceshooter thing to learn MMF2 and it's been going fine so far with one glaring exception, and that is the behavior of the ship when it hits the edge of the screen.

    Due to the way I did it ('if ship exits play area, stop ship') the ship tends to 'snag' on the edge of the screen when moving diagonally, rather than ceasing X movement and continuing Y movement. (or vice-versa)

    In other words, if you hold DOWN and LEFT while at the left edge of the screen, you will very slowly crawl downwards when i would prefer it if the game simply acted as if you were only pressing DOWN.

    Recent mfa so you can see what i mean: http://www.mediafire.com/?yvwpnfhc8b33b2l

    Any help / examples would be appreciated.

  2. #2
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)

    Re: Space shooter movement problem

    You need to make a collision box and put your spaceship always in the box. Set all your movements to the box. Make your box invisible.

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  3. #3
    No Products Registered

    Join Date
    Jun 2011
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Space shooter movement problem

    Got it working! Thanks.

Similar Threads

  1. Space Invaders movement problem in SWF
    By Drcooper in forum SWF/Flash Export Module Version 2.0
    Replies: 3
    Last Post: 1st August 2011, 12:50 PM
  2. Space shooter help
    By meananny in forum File Archive
    Replies: 2
    Last Post: 31st August 2009, 08:50 PM
  3. Space Shooter Game
    By DMT in forum File Archive
    Replies: 15
    Last Post: 8th March 2009, 09:59 PM
  4. Space invaders movement problem
    By Robin_Manager in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 14th September 2008, 02:07 PM
  5. Star Field for space shooter
    By Xacto in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 5th January 2008, 06:28 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
  •