User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 19

Thread: Wall or surface movement

  1. #1
    Clicker Fusion 2.5

    Join Date
    May 2010
    Posts
    19
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Wall or surface movement

    I'm attempting to create an enemy in my game that can move (or probably crawl) along a wall. What I'm getting at is something like the Zoomers from the Metroid games...the spiky enemies that can scale walls and crawl over ceilings. Does anyone know any ways this can possibly be accomplished?

  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: Wall or surface movement

    Place detectors on all four sides as sensors. When an enemy overlaps a wall change the direction.

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

  3. #3
    Clicker Fusion 2.5

    Join Date
    May 2010
    Posts
    19
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Wall or surface movement

    That would work if the room was a box with nothing but 4 perpendicular walls, but in some rooms, the enemy has to get around ledges and extruding tiles.

  4. #4
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    RickyRombo's Avatar
    Join Date
    Mar 2008
    Location
    Somewhere between here and there
    Posts
    3,167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Wall or surface movement

    who said the detectors had to be lines? and who said they couldn't rotate a little

    Be creative and use some circular movement or something.

  5. #5
    No Products Registered

    Join Date
    Aug 2010
    Location
    Seattle Area
    Posts
    23
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Wall or surface movement

    This is actually a very complicated question. First, you'll need grid based movement, like you'd see in an old school RPG. THEN you can worry about collision detection and so-forth.

  6. #6
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Wall or surface movement

    Quote Originally Posted by AndyCapple123
    That would work if the room was a box with nothing but 4 perpendicular walls, but in some rooms, the enemy has to get around ledges and extruding tiles.
    You can negate the conditions that check for overlap
    Working as fast as I can on Fusion 3

  7. #7
    No Products Registered

    Join Date
    Aug 2010
    Location
    Seattle Area
    Posts
    23
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Wall or surface movement

    Huh. It's hard to believe nobody has written a grid based movement object yet.

  8. #8
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Wall or surface movement

    1. There are several grid-based movement extensions
    2. Nivram wrote a fastloop grid movement widget
    3. Grid movement is simpler than most movements anyway
    4. Does this satisfy you?
    Working as fast as I can on Fusion 3

  9. #9
    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: Wall or surface movement

    Acord, on my website look at the "fastloopgridmovement2" example.

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

  10. #10
    Clicker Fusion 2.5

    Join Date
    May 2010
    Posts
    19
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Wall or surface movement

    I guess I can try grid movement. I wouldn't have thought of that since I usually gravitate towards the collision detection route immediately.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. 3D Ball Movement (Soccer wall)
    By StingRay in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 2nd May 2012, 05:18 PM
  2. Topdown movement (humping wall thing)
    By Evilized79 in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 26th December 2011, 08:48 PM
  3. Vector Movement - How to detect angle of wall?
    By Strife in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 30th September 2010, 12:15 AM
  4. I need a WALL to be a WALL
    By Lyrikz in forum Multimedia Fusion 2 - Technical Support
    Replies: 13
    Last Post: 18th October 2007, 11:14 AM
  5. Metroid style wall movement
    By Gabriel in forum File Archive
    Replies: 7
    Last Post: 30th August 2006, 04: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
  •